author | zecke <zecke> | 2002-10-12 22:43:12 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-12 22:43:12 (UTC) |
commit | 9333a4005b30aaa723447a044c9fce5a1e580317 (patch) (unidiff) | |
tree | 275ed089a65fd0f38918b812e0b1f68a1f78f980 | |
parent | 97dc4008b5194ec0aa131fcf9b8753a61fe6fb74 (diff) | |
download | opie-9333a4005b30aaa723447a044c9fce5a1e580317.zip opie-9333a4005b30aaa723447a044c9fce5a1e580317.tar.gz opie-9333a4005b30aaa723447a044c9fce5a1e580317.tar.bz2 |
Header file clean up
use <> for global header
"" for local
1. system header
2. Qt header
3. QPE Header
4. Opie Header
5. local header
6. the class declaration..
-rw-r--r-- | noncore/apps/opie-console/configdialog.cpp | 7 | ||||
-rw-r--r-- | noncore/apps/opie-console/file_layer.cpp | 3 | ||||
-rw-r--r-- | noncore/apps/opie-console/profileeditorplugins.cpp | 25 | ||||
-rw-r--r-- | noncore/apps/opie-console/profileeditorplugins.h | 3 |
4 files changed, 19 insertions, 19 deletions
diff --git a/noncore/apps/opie-console/configdialog.cpp b/noncore/apps/opie-console/configdialog.cpp index 50512b6..8745305 100644 --- a/noncore/apps/opie-console/configdialog.cpp +++ b/noncore/apps/opie-console/configdialog.cpp | |||
@@ -1,23 +1,24 @@ | |||
1 | #include <qdialog.h> | ||
2 | #include <qlistview.h> | ||
3 | |||
1 | 4 | ||
2 | #include "profile.h" | 5 | #include "profile.h" |
3 | #include "qlistview.h" | ||
4 | #include "configdialog.h" | 6 | #include "configdialog.h" |
5 | #include "profileeditordialog.h" | ||
6 | #include "metafactory.h" | 7 | #include "metafactory.h" |
7 | #include "qdialog.h" | 8 | #include "profileeditordialog.h" |
8 | 9 | ||
9 | class ConfigListItem : public QListViewItem { | 10 | class ConfigListItem : public QListViewItem { |
10 | public: | 11 | public: |
11 | ConfigListItem( QListView* item, const Profile& ); | 12 | ConfigListItem( QListView* item, const Profile& ); |
12 | ~ConfigListItem(); | 13 | ~ConfigListItem(); |
13 | Profile profile()const; | 14 | Profile profile()const; |
14 | 15 | ||
15 | private: | 16 | private: |
16 | Profile m_prof; | 17 | Profile m_prof; |
17 | }; | 18 | }; |
18 | ConfigListItem::ConfigListItem( QListView* item, const Profile& prof ) | 19 | ConfigListItem::ConfigListItem( QListView* item, const Profile& prof ) |
19 | : QListViewItem( item ), m_prof( prof ) | 20 | : QListViewItem( item ), m_prof( prof ) |
20 | { | 21 | { |
21 | setText(0, prof.name() ); | 22 | setText(0, prof.name() ); |
22 | } | 23 | } |
23 | ConfigListItem::~ConfigListItem() { | 24 | ConfigListItem::~ConfigListItem() { |
diff --git a/noncore/apps/opie-console/file_layer.cpp b/noncore/apps/opie-console/file_layer.cpp index 79caa8a..43e9c8f 100644 --- a/noncore/apps/opie-console/file_layer.cpp +++ b/noncore/apps/opie-console/file_layer.cpp | |||
@@ -1,20 +1,21 @@ | |||
1 | #include "file_layer.h" | ||
2 | #include <qfile.h> | 1 | #include <qfile.h> |
3 | #include <opie/oprocess.h> | 2 | #include <opie/oprocess.h> |
4 | 3 | ||
4 | #include "file_layer.h" | ||
5 | |||
5 | FileTransferLayer::FileTransferLayer(IOLayer *layer) | 6 | FileTransferLayer::FileTransferLayer(IOLayer *layer) |
6 | : QObject(), m_layer( layer ) | 7 | : QObject(), m_layer( layer ) |
7 | { | 8 | { |
8 | } | 9 | } |
9 | 10 | ||
10 | FileTransferLayer::~FileTransferLayer() { | 11 | FileTransferLayer::~FileTransferLayer() { |
11 | } | 12 | } |
12 | 13 | ||
13 | void FileTransferLayer::sendFile(const QFile& file) { | 14 | void FileTransferLayer::sendFile(const QFile& file) { |
14 | 15 | ||
15 | } | 16 | } |
16 | 17 | ||
17 | void FileTransferLayer::sendFile(const QString& file) { | 18 | void FileTransferLayer::sendFile(const QString& file) { |
18 | } | 19 | } |
19 | 20 | ||
20 | IOLayer* FileTransferLayer::layer() { | 21 | IOLayer* FileTransferLayer::layer() { |
diff --git a/noncore/apps/opie-console/profileeditorplugins.cpp b/noncore/apps/opie-console/profileeditorplugins.cpp index 937516c..45b2148 100644 --- a/noncore/apps/opie-console/profileeditorplugins.cpp +++ b/noncore/apps/opie-console/profileeditorplugins.cpp | |||
@@ -1,32 +1,31 @@ | |||
1 | 1 | ||
2 | #include "profileeditorplugins.h" | 2 | #include <qframe.h> |
3 | #include "profile.h" | 3 | #include <qlabel.h> |
4 | 4 | #include <qlineedit.h> | |
5 | #include "qframe.h" | 5 | #include <qlayout.h> |
6 | #include "qlabel.h" | 6 | #include <qcombobox.h> |
7 | #include "qlineedit.h" | 7 | #include <qradiobutton.h> |
8 | #include "qlayout.h" | 8 | #include <qcheckbox.h> |
9 | #include "qcombobox.h" | 9 | #include <qbuttongroup.h> |
10 | #include "qradiobutton.h" | 10 | #include <qhgroupbox.h> |
11 | #include "qcheckbox.h" | 11 | #include <qvbox.h> |
12 | #include "qbuttongroup.h" | ||
13 | #include "qhgroupbox.h" | ||
14 | #include "qvbox.h" | ||
15 | 12 | ||
16 | #include "io_serial.h" | 13 | #include "io_serial.h" |
14 | #include "profile.h" | ||
15 | #include "profileeditorplugins.h" | ||
17 | 16 | ||
18 | // Base class | 17 | // Base class |
19 | 18 | ||
20 | ProfileEditorPlugin::ProfileEditorPlugin(QWidget *parent, Profile *p) | 19 | ProfileEditorPlugin::ProfileEditorPlugin(QWidget *parent, Profile *p) |
21 | : QObject() | 20 | : QObject() |
22 | { | 21 | { |
23 | m_parent = parent; | 22 | m_parent = parent; |
24 | m_profile = p; | 23 | m_profile = p; |
25 | m_widget = NULL; | 24 | m_widget = NULL; |
26 | } | 25 | } |
27 | 26 | ||
28 | ProfileEditorPlugin::~ProfileEditorPlugin() | 27 | ProfileEditorPlugin::~ProfileEditorPlugin() |
29 | { | 28 | { |
30 | if(m_widget) delete m_widget; | 29 | if(m_widget) delete m_widget; |
31 | } | 30 | } |
32 | 31 | ||
diff --git a/noncore/apps/opie-console/profileeditorplugins.h b/noncore/apps/opie-console/profileeditorplugins.h index 4ca780e..f576143 100644 --- a/noncore/apps/opie-console/profileeditorplugins.h +++ b/noncore/apps/opie-console/profileeditorplugins.h | |||
@@ -1,25 +1,24 @@ | |||
1 | #ifndef PROFILE_EDITOR_PLUGINS_H | 1 | #ifndef PROFILE_EDITOR_PLUGINS_H |
2 | #define PROFILE_EDITOR_PLUGINS_H | 2 | #define PROFILE_EDITOR_PLUGINS_H |
3 | 3 | ||
4 | #include "profile.h" | ||
5 | 4 | ||
6 | #include <qobject.h> | 5 | #include <qobject.h> |
7 | 6 | ||
8 | class QWidget; | 7 | class QWidget; |
9 | 8 | class Profile; | |
10 | class ProfileEditorPlugin : public QObject | 9 | class ProfileEditorPlugin : public QObject |
11 | { | 10 | { |
12 | Q_OBJECT | 11 | Q_OBJECT |
13 | public: | 12 | public: |
14 | ProfileEditorPlugin(QWidget *parent); | 13 | ProfileEditorPlugin(QWidget *parent); |
15 | 14 | ||
16 | virtual ~ProfileEditorPlugin(); | 15 | virtual ~ProfileEditorPlugin(); |
17 | 16 | ||
18 | virtual void save() = 0; | 17 | virtual void save() = 0; |
19 | 18 | ||
20 | virtual QWidget *widget() = 0; | 19 | virtual QWidget *widget() = 0; |
21 | 20 | ||
22 | QWidget *connection_widget(); | 21 | QWidget *connection_widget(); |
23 | QWidget *terminal_widget(); | 22 | QWidget *terminal_widget(); |
24 | 23 | ||
25 | public slots: | 24 | public slots: |