summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profileeditordialog.h
authorharlekin <harlekin>2002-10-07 18:05:43 (UTC)
committer harlekin <harlekin>2002-10-07 18:05:43 (UTC)
commitd55aa591770675008da9e3290617e463a77e4c98 (patch) (side-by-side diff)
tree93d779cc85298545673f4d5f2ea0fcc7d4d301b7 /noncore/apps/opie-console/profileeditordialog.h
parentd25a925e70982b86539b98362ab2cd75c7883110 (diff)
downloadopie-d55aa591770675008da9e3290617e463a77e4c98.zip
opie-d55aa591770675008da9e3290617e463a77e4c98.tar.gz
opie-d55aa591770675008da9e3290617e463a77e4c98.tar.bz2
reworked config dialog gui a bit and adapted it to opie
Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditordialog.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.h b/noncore/apps/opie-console/profileeditordialog.h
index 18e2ec0..8e830f1 100644
--- a/noncore/apps/opie-console/profileeditordialog.h
+++ b/noncore/apps/opie-console/profileeditordialog.h
@@ -1,7 +1,7 @@
#ifndef PROFILE_EDITOR_DIALOG
#define PROFILE_EDITOR_DIALOG
-#include <qtabdialog.h>
+#include <qdialog.h>
#include "profile.h"
@@ -14,7 +14,7 @@ class QComboBox;
class QLabel;
class ProfileEditorPlugin;
-class ProfileEditorDialog : public QTabDialog {
+class ProfileEditorDialog : public QDialog {
Q_OBJECT
public:
ProfileEditorDialog(MetaFactory* fact,
@@ -23,15 +23,12 @@ public:
~ProfileEditorDialog();
Profile profile()const;
- QString prof_name();
- QString prof_type();
+ QString prof_name();
+ QString prof_type();
public slots:
- void accept();
- //void slotOk();
- void slotCancel();
-
- void slotDevice(int id);
+ void accept();
+ void slotDevice(int id);
private:
void initUI();
@@ -42,12 +39,12 @@ private:
QHBoxLayout* m_lay;
Profile m_prof;
- QLineEdit *name_line;
- QComboBox *device_box;
+ QLineEdit *name_line;
+ QComboBox *device_box;
- QWidget *plugin_base;
- ProfileEditorPlugin *plugin_plugin;
- QHBoxLayout *plugin_layout;
+ QWidget *plugin_base;
+ ProfileEditorPlugin *plugin_plugin;
+ QHBoxLayout *plugin_layout;
};
#endif