Diffstat (limited to 'noncore/net/opietooth/manager/pppdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/pppdialog.h | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/noncore/net/opietooth/manager/pppdialog.h b/noncore/net/opietooth/manager/pppdialog.h index b80b73d..6fdc90a 100644 --- a/noncore/net/opietooth/manager/pppdialog.h +++ b/noncore/net/opietooth/manager/pppdialog.h | |||
@@ -1,34 +1,37 @@ | |||
1 | #ifndef PPPDIALOG_H | 1 | #ifndef PPPDIALOG_H |
2 | #define PPPDIALOG_H | 2 | #define PPPDIALOG_H |
3 | 3 | ||
4 | 4 | ||
5 | #include <qdialog.h> | 5 | #include <qdialog.h> |
6 | #include <opie/oprocess.h> | 6 | #include <opie/oprocess.h> |
7 | 7 | ||
8 | class QVBoxLayout; | 8 | class QVBoxLayout; |
9 | class QPushButton; | 9 | class QPushButton; |
10 | class QMultiLineEdit; | 10 | class QMultiLineEdit; |
11 | class QLineEdit; | 11 | class QLineEdit; |
12 | 12 | ||
13 | class PPPDialog : public QDialog { | ||
14 | 13 | ||
15 | Q_OBJECT | 14 | namespace OpieTooth { |
16 | 15 | ||
17 | public: | 16 | class PPPDialog : public QDialog { |
18 | PPPDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, const QString& device = 0); | ||
19 | ~PPPDialog(); | ||
20 | 17 | ||
18 | Q_OBJECT | ||
21 | 19 | ||
22 | private slots: | 20 | public: |
23 | void connectToDevice(); | 21 | PPPDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, const QString& device = 0); |
24 | void fillOutPut( OProcess* pppDial, char* cha, int len ); | 22 | ~PPPDialog(); |
25 | protected: | ||
26 | QVBoxLayout* layout; | ||
27 | QLineEdit* cmdLine; | ||
28 | QPushButton* connectButton; | ||
29 | QMultiLineEdit* outPut; | ||
30 | 23 | ||
31 | private: | 24 | private slots: |
32 | QString m_device; | 25 | void connectToDevice(); |
33 | }; | 26 | void fillOutPut( OProcess* pppDial, char* cha, int len ); |
27 | protected: | ||
28 | QVBoxLayout* layout; | ||
29 | QLineEdit* cmdLine; | ||
30 | QPushButton* connectButton; | ||
31 | QMultiLineEdit* outPut; | ||
32 | |||
33 | private: | ||
34 | QString m_device; | ||
35 | }; | ||
36 | } | ||
34 | #endif | 37 | #endif |