author | josef <josef> | 2002-10-06 18:34:28 (UTC) |
---|---|---|
committer | josef <josef> | 2002-10-06 18:34:28 (UTC) |
commit | aa8332baeebf7056d81fc245399477c7feaa1235 (patch) (unidiff) | |
tree | 4b23429bcad955d02df24b40144cf5b7b6ffe0f3 /noncore/apps/opie-console/profileeditordialog.h | |
parent | 6da8cac26f1d610d458c91bc2daad018cf9cf887 (diff) | |
download | opie-aa8332baeebf7056d81fc245399477c7feaa1235.zip opie-aa8332baeebf7056d81fc245399477c7feaa1235.tar.gz opie-aa8332baeebf7056d81fc245399477c7feaa1235.tar.bz2 |
- more factorization (is nearly complete now ;)
- move config plugins into separate file (3 classes and virtual superclass)
- first stub for save function
Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.h b/noncore/apps/opie-console/profileeditordialog.h index 8ebfba1..faabda0 100644 --- a/noncore/apps/opie-console/profileeditordialog.h +++ b/noncore/apps/opie-console/profileeditordialog.h | |||
@@ -3,24 +3,25 @@ | |||
3 | 3 | ||
4 | #include <qtabdialog.h> | 4 | #include <qtabdialog.h> |
5 | 5 | ||
6 | #include "profile.h" | 6 | #include "profile.h" |
7 | 7 | ||
8 | class MetaFactory; | 8 | class MetaFactory; |
9 | class EditBase; | 9 | class EditBase; |
10 | class QTabWidget; | 10 | class QTabWidget; |
11 | class QHBoxLayout; | 11 | class QHBoxLayout; |
12 | class QLineEdit; | 12 | class QLineEdit; |
13 | class QComboBox; | 13 | class QComboBox; |
14 | class QLabel; | 14 | class QLabel; |
15 | class ProfileEditorPlugin; | ||
15 | 16 | ||
16 | class ProfileEditorDialog : public QTabDialog { | 17 | class ProfileEditorDialog : public QTabDialog { |
17 | Q_OBJECT | 18 | Q_OBJECT |
18 | public: | 19 | public: |
19 | ProfileEditorDialog(MetaFactory* fact, | 20 | ProfileEditorDialog(MetaFactory* fact, |
20 | const Profile& prof ); | 21 | const Profile& prof ); |
21 | ProfileEditorDialog(MetaFactory* fact ); | 22 | ProfileEditorDialog(MetaFactory* fact ); |
22 | ~ProfileEditorDialog(); | 23 | ~ProfileEditorDialog(); |
23 | Profile profile()const; | 24 | Profile profile()const; |
24 | 25 | ||
25 | QString prof_name(); | 26 | QString prof_name(); |
26 | QString prof_type(); | 27 | QString prof_type(); |
@@ -40,17 +41,18 @@ private: | |||
40 | void initUI(); | 41 | void initUI(); |
41 | 42 | ||
42 | MetaFactory* m_fact; | 43 | MetaFactory* m_fact; |
43 | EditBase* m_base; | 44 | EditBase* m_base; |
44 | QTabWidget* m_tab; | 45 | QTabWidget* m_tab; |
45 | QHBoxLayout* m_lay; | 46 | QHBoxLayout* m_lay; |
46 | Profile m_prof; | 47 | Profile m_prof; |
47 | 48 | ||
48 | //QLabel *frame_number; | 49 | //QLabel *frame_number; |
49 | QLineEdit *name_line; | 50 | QLineEdit *name_line; |
50 | //QLineEdit *frame_device_line, *frame_number_line; | 51 | //QLineEdit *frame_device_line, *frame_number_line; |
51 | QComboBox *terminal_box, *speed_box, *device_box; | 52 | QComboBox *terminal_box, *speed_box, *device_box; |
52 | QWidget *plugin_base, *plugin_plugin; | 53 | QWidget *plugin_base; |
54 | ProfileEditorPlugin *plugin_plugin; | ||
53 | QHBoxLayout *plugin_layout; | 55 | QHBoxLayout *plugin_layout; |
54 | }; | 56 | }; |
55 | 57 | ||
56 | #endif | 58 | #endif |