Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.h b/noncore/apps/opie-console/profileeditordialog.h index 8e830f1..3b67bb3 100644 --- a/noncore/apps/opie-console/profileeditordialog.h +++ b/noncore/apps/opie-console/profileeditordialog.h | |||
@@ -11,40 +11,41 @@ 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 | class ProfileDialogWidget; |
16 | 16 | ||
17 | class ProfileEditorDialog : public QDialog { | 17 | class ProfileEditorDialog : public QDialog { |
18 | Q_OBJECT | 18 | Q_OBJECT |
19 | public: | 19 | public: |
20 | ProfileEditorDialog(MetaFactory* fact, | 20 | ProfileEditorDialog(MetaFactory* fact, |
21 | const Profile& prof ); | 21 | const Profile& prof ); |
22 | ProfileEditorDialog(MetaFactory* fact ); | 22 | ProfileEditorDialog(MetaFactory* fact ); |
23 | ~ProfileEditorDialog(); | 23 | ~ProfileEditorDialog(); |
24 | Profile profile()const; | 24 | Profile profile()const; |
25 | 25 | ||
26 | QString prof_name(); | 26 | |
27 | QString prof_type(); | ||
28 | 27 | ||
29 | public slots: | 28 | public slots: |
30 | void accept(); | 29 | void accept(); |
31 | void slotDevice(int id); | ||
32 | 30 | ||
31 | private slots: | ||
32 | void slotConActivated(const QString& ); | ||
33 | void slotTermActivated( const QString& ); | ||
33 | private: | 34 | private: |
34 | void initUI(); | 35 | void initUI(); |
36 | QString profName()const; | ||
37 | QCString profType()const; | ||
35 | 38 | ||
36 | MetaFactory* m_fact; | 39 | MetaFactory* m_fact; |
37 | EditBase* m_base; | ||
38 | QTabWidget* m_tab; | ||
39 | QHBoxLayout* m_lay; | 40 | QHBoxLayout* m_lay; |
40 | Profile m_prof; | 41 | Profile m_prof; |
41 | 42 | ||
42 | QLineEdit *name_line; | 43 | QLineEdit *m_name; |
43 | QComboBox *device_box; | 44 | QComboBox *m_conCmb, *m_termCmb; |
44 | 45 | ||
45 | QWidget *plugin_base; | 46 | QWidget *m_tabCon, *m_tabTerm; |
46 | ProfileEditorPlugin *plugin_plugin; | 47 | ProfileDialogWidget* m_con, *m_term; |
47 | QHBoxLayout *plugin_layout; | 48 | QHBoxLayout *m_layCon, *m_layTerm; |
48 | }; | 49 | }; |
49 | 50 | ||
50 | #endif | 51 | #endif |