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) (unidiff)
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 @@
1#ifndef PROFILE_EDITOR_DIALOG 1#ifndef PROFILE_EDITOR_DIALOG
2#define PROFILE_EDITOR_DIALOG 2#define PROFILE_EDITOR_DIALOG
3 3
4#include <qtabdialog.h> 4#include <qdialog.h>
5 5
6#include "profile.h" 6#include "profile.h"
7 7
@@ -14,7 +14,7 @@ class QComboBox;
14class QLabel; 14class QLabel;
15class ProfileEditorPlugin; 15class ProfileEditorPlugin;
16 16
17class ProfileEditorDialog : public QTabDialog { 17class ProfileEditorDialog : public QDialog {
18 Q_OBJECT 18 Q_OBJECT
19public: 19public:
20 ProfileEditorDialog(MetaFactory* fact, 20 ProfileEditorDialog(MetaFactory* fact,
@@ -23,15 +23,12 @@ public:
23 ~ProfileEditorDialog(); 23 ~ProfileEditorDialog();
24 Profile profile()const; 24 Profile profile()const;
25 25
26 QString prof_name(); 26 QString prof_name();
27 QString prof_type(); 27 QString prof_type();
28 28
29public slots: 29public slots:
30 void accept(); 30 void accept();
31 //void slotOk(); 31 void slotDevice(int id);
32 void slotCancel();
33
34 void slotDevice(int id);
35 32
36private: 33private:
37 void initUI(); 34 void initUI();
@@ -42,12 +39,12 @@ private:
42 QHBoxLayout* m_lay; 39 QHBoxLayout* m_lay;
43 Profile m_prof; 40 Profile m_prof;
44 41
45 QLineEdit *name_line; 42 QLineEdit *name_line;
46 QComboBox *device_box; 43 QComboBox *device_box;
47 44
48 QWidget *plugin_base; 45 QWidget *plugin_base;
49 ProfileEditorPlugin *plugin_plugin; 46 ProfileEditorPlugin *plugin_plugin;
50 QHBoxLayout *plugin_layout; 47 QHBoxLayout *plugin_layout;
51}; 48};
52 49
53#endif 50#endif