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.h25
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
@@ -12,7 +12,7 @@ class QHBoxLayout;
12class QLineEdit; 12class QLineEdit;
13class QComboBox; 13class QComboBox;
14class QLabel; 14class QLabel;
15class ProfileEditorPlugin; 15class ProfileDialogWidget;
16 16
17class ProfileEditorDialog : public QDialog { 17class ProfileEditorDialog : public QDialog {
18 Q_OBJECT 18 Q_OBJECT
@@ -20,31 +20,32 @@ 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
29public slots: 28public slots:
30 void accept(); 29 void accept();
31 void slotDevice(int id);
32 30
31private slots:
32 void slotConActivated(const QString& );
33 void slotTermActivated( const QString& );
33private: 34private:
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