summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profileeditordialog.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditordialog.h3
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
9class MetaFactory; 9class MetaFactory;
10class EditBase; 10class EditBase;
11class QTabWidget; 11class QTabWidget;
12class QHBoxLayout; 12class QHBoxLayout;
13class QLineEdit; 13class QLineEdit;
14class QComboBox; 14class QComboBox;
15class QCheckBox; 15class QCheckBox;
16class QLabel; 16class QLabel;
17class QScrollView;
17class ProfileDialogWidget; 18class ProfileDialogWidget;
18 19
19class ProfileEditorDialog : public QDialog { 20class ProfileEditorDialog : public QDialog {
20 Q_OBJECT 21 Q_OBJECT
21public: 22public:
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
30public slots: 31public slots:
31 void accept(); 32 void accept();
32 33
33private slots: 34private 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&);
37private: 38private:
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