Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profileeditordialog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.h b/noncore/apps/opie-console/profileeditordialog.h index 6216660..c731747 100644 --- a/noncore/apps/opie-console/profileeditordialog.h +++ b/noncore/apps/opie-console/profileeditordialog.h | |||
@@ -1,58 +1,61 @@ | |||
1 | #ifndef PROFILE_EDITOR_DIALOG | 1 | #ifndef PROFILE_EDITOR_DIALOG |
2 | #define PROFILE_EDITOR_DIALOG | 2 | #define PROFILE_EDITOR_DIALOG |
3 | 3 | ||
4 | #include <qdialog.h> | 4 | #include <qdialog.h> |
5 | #include <opie/otabwidget.h> | 5 | #include <opie/otabwidget.h> |
6 | 6 | ||
7 | #include "profile.h" | 7 | #include "profile.h" |
8 | 8 | ||
9 | class MetaFactory; | 9 | class MetaFactory; |
10 | class EditBase; | 10 | class EditBase; |
11 | class QTabWidget; | 11 | class QTabWidget; |
12 | class QHBoxLayout; | 12 | class QHBoxLayout; |
13 | class QLineEdit; | 13 | class QLineEdit; |
14 | class QComboBox; | 14 | class QComboBox; |
15 | class QCheckBox; | 15 | class QCheckBox; |
16 | class QLabel; | 16 | class QLabel; |
17 | class QScrollView; | ||
17 | class ProfileDialogWidget; | 18 | class ProfileDialogWidget; |
18 | 19 | ||
19 | class ProfileEditorDialog : public QDialog { | 20 | class ProfileEditorDialog : public QDialog { |
20 | Q_OBJECT | 21 | Q_OBJECT |
21 | public: | 22 | public: |
22 | ProfileEditorDialog(MetaFactory* fact, | 23 | ProfileEditorDialog(MetaFactory* fact, |
23 | const Profile& prof ); | 24 | const Profile& prof ); |
24 | ProfileEditorDialog(MetaFactory* fact ); | 25 | ProfileEditorDialog(MetaFactory* fact ); |
25 | ~ProfileEditorDialog(); | 26 | ~ProfileEditorDialog(); |
26 | Profile profile()const; | 27 | Profile profile()const; |
27 | 28 | ||
28 | 29 | ||
29 | 30 | ||
30 | public slots: | 31 | public slots: |
31 | void accept(); | 32 | void accept(); |
32 | 33 | ||
33 | private slots: | 34 | private slots: |
34 | void slotConActivated(const QString& ); | 35 | void slotConActivated(const QString& ); |
35 | void slotTermActivated( const QString& ); | 36 | void slotTermActivated( const QString& ); |
36 | void slotKeyActivated(const QString&); | 37 | void slotKeyActivated(const QString&); |
37 | private: | 38 | private: |
38 | void initUI(); | 39 | void initUI(); |
39 | QString profName()const; | 40 | QString profName()const; |
40 | QCString profType()const; | 41 | QCString profType()const; |
41 | 42 | ||
42 | MetaFactory* m_fact; | 43 | MetaFactory* m_fact; |
43 | QHBoxLayout* m_lay; | 44 | QHBoxLayout* m_lay; |
44 | Profile m_prof; | 45 | Profile m_prof; |
45 | 46 | ||
46 | QLineEdit *m_name; | 47 | QLineEdit *m_name; |
47 | QComboBox *m_conCmb, *m_termCmb; | 48 | QComboBox *m_conCmb, *m_termCmb; |
48 | QCheckBox *m_autoConnect; | 49 | QCheckBox *m_autoConnect; |
49 | 50 | ||
51 | QScrollView *m_svCon, *m_svTerm; | ||
52 | |||
50 | QWidget *m_tabCon, *m_tabTerm, *m_tabKey; | 53 | QWidget *m_tabCon, *m_tabTerm, *m_tabKey; |
51 | ProfileDialogWidget* m_con, *m_term, *m_key; | 54 | ProfileDialogWidget* m_con, *m_term, *m_key; |
52 | QHBoxLayout *m_layCon, *m_layTerm, *m_layKey; | 55 | QHBoxLayout *m_layCon, *m_layTerm, *m_layKey; |
53 | OTabWidget *tabWidget; | 56 | OTabWidget *tabWidget; |
54 | QWidget *tabprof; | 57 | QWidget *tabprof; |
55 | int m_showconntab; | 58 | int m_showconntab; |
56 | }; | 59 | }; |
57 | 60 | ||
58 | #endif | 61 | #endif |