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.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.h b/noncore/apps/opie-console/profileeditordialog.h
index 00f3c99..8ebfba1 100644
--- a/noncore/apps/opie-console/profileeditordialog.h
+++ b/noncore/apps/opie-console/profileeditordialog.h
@@ -17,40 +17,37 @@ class ProfileEditorDialog : public QTabDialog {
17 Q_OBJECT 17 Q_OBJECT
18public: 18public:
19 ProfileEditorDialog(MetaFactory* fact, 19 ProfileEditorDialog(MetaFactory* fact,
20 const Profile& prof ); 20 const Profile& prof );
21 ProfileEditorDialog(MetaFactory* fact ); 21 ProfileEditorDialog(MetaFactory* fact );
22 ~ProfileEditorDialog(); 22 ~ProfileEditorDialog();
23 Profile profile()const; 23 Profile profile()const;
24 24
25 QString prof_name(); 25 QString prof_name();
26 QString prof_type(); 26 QString prof_type();
27 27
28 QString conn_device(); 28 QString conn_device();
29 int conn_baud();
30 int conn_parity();
31 int conn_databits();
32 int conn_stopbits();
33 int conn_flow();
34 29
35 QString term_type(); 30 QString term_type();
36 31
37public slots: 32public slots:
38 void slotOk(); 33 void accept();
34 //void slotOk();
39 void slotCancel(); 35 void slotCancel();
40 36
41 void slotDevice(int id); 37 void slotDevice(int id);
42 38
43private: 39private:
44 //void initUI(); 40 void initUI();
41
45 MetaFactory* m_fact; 42 MetaFactory* m_fact;
46 EditBase* m_base; 43 EditBase* m_base;
47 QTabWidget* m_tab; 44 QTabWidget* m_tab;
48 QHBoxLayout* m_lay; 45 QHBoxLayout* m_lay;
49 Profile m_prof; 46 Profile m_prof;
50 47
51 //QLabel *frame_number; 48 //QLabel *frame_number;
52 QLineEdit *name_line; 49 QLineEdit *name_line;
53 //QLineEdit *frame_device_line, *frame_number_line; 50 //QLineEdit *frame_device_line, *frame_number_line;
54 QComboBox *terminal_box, *speed_box, *device_box; 51 QComboBox *terminal_box, *speed_box, *device_box;
55 QWidget *plugin_base, *plugin_plugin; 52 QWidget *plugin_base, *plugin_plugin;
56 QHBoxLayout *plugin_layout; 53 QHBoxLayout *plugin_layout;