summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profileeditordialog.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditordialog.h34
1 files changed, 31 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.h b/noncore/apps/opie-console/profileeditordialog.h
index 5ccc691..f81354c 100644
--- a/noncore/apps/opie-console/profileeditordialog.h
+++ b/noncore/apps/opie-console/profileeditordialog.h
@@ -3,3 +3,3 @@
-#include <qdialog.h>
+#include <qtabdialog.h>
@@ -11,3 +11,7 @@ class QTabWidget;
class QHBoxLayout;
-class ProfileEditorDialog : public QDialog {
+class QLineEdit;
+class QComboBox;
+class QLabel;
+
+class ProfileEditorDialog : public QTabDialog {
Q_OBJECT
@@ -17,5 +21,25 @@ public:
ProfileEditorDialog(MetaFactory* fact );
+ ~ProfileEditorDialog();
Profile profile()const;
+
+ QString prof_name();
+ QString prof_type();
+
+ QString conn_device();
+ int conn_baud();
+ int conn_parity();
+ int conn_databits();
+ int conn_stopbits();
+ int conn_flow();
+
+ QString term_type();
+
+public slots:
+ void slotOk();
+ void slotCancel();
+
+ void slotDevice(int id);
+
private:
- void initUI();
+ //void initUI();
MetaFactory* m_fact;
@@ -25,2 +49,6 @@ private:
Profile m_prof;
+
+ QLabel *frame_number;
+ QLineEdit *name_line, *frame_device_line, *frame_number_line;
+ QComboBox *terminal_box, *speed_box, *device_box;
};