summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/configdialog.cpp7
-rw-r--r--noncore/apps/opie-console/file_layer.cpp3
-rw-r--r--noncore/apps/opie-console/profileeditorplugins.cpp25
-rw-r--r--noncore/apps/opie-console/profileeditorplugins.h3
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: