Diffstat (limited to 'noncore/net/opietooth/manager/dundialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/dundialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/dundialog.h b/noncore/net/opietooth/manager/dundialog.h index a0d16ad..8310e40 100644 --- a/noncore/net/opietooth/manager/dundialog.h +++ b/noncore/net/opietooth/manager/dundialog.h | |||
@@ -11,43 +11,44 @@ | |||
11 | #ifndef DUNDIALOG_H | 11 | #ifndef DUNDIALOG_H |
12 | #define DUNDIALOG_H | 12 | #define DUNDIALOG_H |
13 | 13 | ||
14 | 14 | ||
15 | #include <qdialog.h> | 15 | #include <qdialog.h> |
16 | #include <opie2/oprocess.h> | 16 | #include <opie2/oprocess.h> |
17 | 17 | ||
18 | class QVBoxLayout; | 18 | class QVBoxLayout; |
19 | class QPushButton; | 19 | class QPushButton; |
20 | class QMultiLineEdit; | 20 | class QMultiLineEdit; |
21 | class QLineEdit; | 21 | class QLineEdit; |
22 | class QCheckBox; | 22 | class QCheckBox; |
23 | class QComboBox; | ||
23 | 24 | ||
24 | namespace OpieTooth { | 25 | namespace OpieTooth { |
25 | class DunDialog : public QDialog { | 26 | class DunDialog : public QDialog { |
26 | 27 | ||
27 | Q_OBJECT | 28 | Q_OBJECT |
28 | 29 | ||
29 | public: | 30 | public: |
30 | DunDialog(const QString& device = 0, int port = 0, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0); | 31 | DunDialog(const QString& device = 0, int port = 0, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0); |
31 | ~DunDialog(); | 32 | ~DunDialog(); |
32 | 33 | ||
33 | private slots: | 34 | private slots: |
34 | void connectToDevice(); | 35 | void connectToDevice(); |
35 | void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); | 36 | void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); |
36 | void fillErr(Opie::Core::OProcess*, char*, int); | 37 | void fillErr(Opie::Core::OProcess*, char*, int); |
37 | void slotProcessExited(Opie::Core::OProcess* proc); | 38 | void slotProcessExited(Opie::Core::OProcess* proc); |
38 | void closeEvent(QCloseEvent* e); | 39 | void closeEvent(QCloseEvent* e); |
39 | protected: | 40 | protected: |
40 | QVBoxLayout* layout; | 41 | QVBoxLayout* layout; |
41 | QLineEdit* cmdLine; | 42 | QComboBox* cmdLine; |
42 | QPushButton* connectButton; | 43 | QPushButton* connectButton; |
43 | QMultiLineEdit* outPut; | 44 | QMultiLineEdit* outPut; |
44 | QCheckBox* doEncryption; | 45 | QCheckBox* doEncryption; |
45 | QCheckBox* persist; | 46 | QCheckBox* persist; |
46 | 47 | ||
47 | private: | 48 | private: |
48 | QString m_device; //device BT address | 49 | QString m_device; //device BT address |
49 | int m_port; //device process | 50 | int m_port; //device process |
50 | Opie::Core::OProcess* m_dunConnect; //DUN process | 51 | Opie::Core::OProcess* m_dunConnect; //DUN process |
51 | }; | 52 | }; |
52 | } | 53 | } |
53 | #endif | 54 | #endif |