author | zecke <zecke> | 2002-10-12 22:43:12 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-12 22:43:12 (UTC) |
commit | 9333a4005b30aaa723447a044c9fce5a1e580317 (patch) (side-by-side diff) | |
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 @@ +#include <qdialog.h> +#include <qlistview.h> + #include "profile.h" -#include "qlistview.h" #include "configdialog.h" -#include "profileeditordialog.h" #include "metafactory.h" -#include "qdialog.h" +#include "profileeditordialog.h" class ConfigListItem : public QListViewItem { public: ConfigListItem( QListView* item, const Profile& ); ~ConfigListItem(); Profile profile()const; private: Profile m_prof; }; ConfigListItem::ConfigListItem( QListView* item, const Profile& prof ) : QListViewItem( item ), m_prof( prof ) { setText(0, prof.name() ); } 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 @@ -#include "file_layer.h" #include <qfile.h> #include <opie/oprocess.h> +#include "file_layer.h" + FileTransferLayer::FileTransferLayer(IOLayer *layer) : QObject(), m_layer( layer ) { } FileTransferLayer::~FileTransferLayer() { } void FileTransferLayer::sendFile(const QFile& file) { } void FileTransferLayer::sendFile(const QString& file) { } 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 @@ -#include "profileeditorplugins.h" -#include "profile.h" - -#include "qframe.h" -#include "qlabel.h" -#include "qlineedit.h" -#include "qlayout.h" -#include "qcombobox.h" -#include "qradiobutton.h" -#include "qcheckbox.h" -#include "qbuttongroup.h" -#include "qhgroupbox.h" -#include "qvbox.h" +#include <qframe.h> +#include <qlabel.h> +#include <qlineedit.h> +#include <qlayout.h> +#include <qcombobox.h> +#include <qradiobutton.h> +#include <qcheckbox.h> +#include <qbuttongroup.h> +#include <qhgroupbox.h> +#include <qvbox.h> #include "io_serial.h" +#include "profile.h" +#include "profileeditorplugins.h" // Base class ProfileEditorPlugin::ProfileEditorPlugin(QWidget *parent, Profile *p) : QObject() { m_parent = parent; m_profile = p; m_widget = NULL; } ProfileEditorPlugin::~ProfileEditorPlugin() { if(m_widget) delete m_widget; } 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 @@ #ifndef PROFILE_EDITOR_PLUGINS_H #define PROFILE_EDITOR_PLUGINS_H -#include "profile.h" #include <qobject.h> class QWidget; - +class Profile; class ProfileEditorPlugin : public QObject { Q_OBJECT public: ProfileEditorPlugin(QWidget *parent); virtual ~ProfileEditorPlugin(); virtual void save() = 0; virtual QWidget *widget() = 0; QWidget *connection_widget(); QWidget *terminal_widget(); public slots: |