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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.h b/noncore/apps/opie-console/profileeditordialog.h
index 8ebfba1..faabda0 100644
--- a/noncore/apps/opie-console/profileeditordialog.h
+++ b/noncore/apps/opie-console/profileeditordialog.h
@@ -1,56 +1,58 @@
1#ifndef PROFILE_EDITOR_DIALOG 1#ifndef PROFILE_EDITOR_DIALOG
2#define PROFILE_EDITOR_DIALOG 2#define PROFILE_EDITOR_DIALOG
3 3
4#include <qtabdialog.h> 4#include <qtabdialog.h>
5 5
6#include "profile.h" 6#include "profile.h"
7 7
8class MetaFactory; 8class MetaFactory;
9class EditBase; 9class EditBase;
10class QTabWidget; 10class QTabWidget;
11class QHBoxLayout; 11class QHBoxLayout;
12class QLineEdit; 12class QLineEdit;
13class QComboBox; 13class QComboBox;
14class QLabel; 14class QLabel;
15class ProfileEditorPlugin;
15 16
16class ProfileEditorDialog : public QTabDialog { 17class ProfileEditorDialog : public QTabDialog {
17 Q_OBJECT 18 Q_OBJECT
18public: 19public:
19 ProfileEditorDialog(MetaFactory* fact, 20 ProfileEditorDialog(MetaFactory* fact,
20 const Profile& prof ); 21 const Profile& prof );
21 ProfileEditorDialog(MetaFactory* fact ); 22 ProfileEditorDialog(MetaFactory* fact );
22 ~ProfileEditorDialog(); 23 ~ProfileEditorDialog();
23 Profile profile()const; 24 Profile profile()const;
24 25
25 QString prof_name(); 26 QString prof_name();
26 QString prof_type(); 27 QString prof_type();
27 28
28 QString conn_device(); 29 QString conn_device();
29 30
30 QString term_type(); 31 QString term_type();
31 32
32public slots: 33public slots:
33 void accept(); 34 void accept();
34 //void slotOk(); 35 //void slotOk();
35 void slotCancel(); 36 void slotCancel();
36 37
37 void slotDevice(int id); 38 void slotDevice(int id);
38 39
39private: 40private:
40 void initUI(); 41 void initUI();
41 42
42 MetaFactory* m_fact; 43 MetaFactory* m_fact;
43 EditBase* m_base; 44 EditBase* m_base;
44 QTabWidget* m_tab; 45 QTabWidget* m_tab;
45 QHBoxLayout* m_lay; 46 QHBoxLayout* m_lay;
46 Profile m_prof; 47 Profile m_prof;
47 48
48 //QLabel *frame_number; 49 //QLabel *frame_number;
49 QLineEdit *name_line; 50 QLineEdit *name_line;
50 //QLineEdit *frame_device_line, *frame_number_line; 51 //QLineEdit *frame_device_line, *frame_number_line;
51 QComboBox *terminal_box, *speed_box, *device_box; 52 QComboBox *terminal_box, *speed_box, *device_box;
52 QWidget *plugin_base, *plugin_plugin; 53 QWidget *plugin_base;
54 ProfileEditorPlugin *plugin_plugin;
53 QHBoxLayout *plugin_layout; 55 QHBoxLayout *plugin_layout;
54}; 56};
55 57
56#endif 58#endif