author | korovkin <korovkin> | 2006-04-05 19:29:19 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-04-05 19:29:19 (UTC) |
commit | 6c1c44237a16dc8fed89905ae729e36eb9711c07 (patch) (unidiff) | |
tree | cfcb46f571669c0d8e57ee703c712b09ed8af185 /noncore/net/opietooth/manager/pppdialog.h | |
parent | 31ea6e9f697d72a31ce319f7f42254fe90e48a36 (diff) | |
download | opie-6c1c44237a16dc8fed89905ae729e36eb9711c07.zip opie-6c1c44237a16dc8fed89905ae729e36eb9711c07.tar.gz opie-6c1c44237a16dc8fed89905ae729e36eb9711c07.tar.bz2 |
Added combobox with ppp script names from /etc/ppp/peers.
Diffstat (limited to 'noncore/net/opietooth/manager/pppdialog.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/pppdialog.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/pppdialog.h b/noncore/net/opietooth/manager/pppdialog.h index e0ffc7f..d55c15f 100644 --- a/noncore/net/opietooth/manager/pppdialog.h +++ b/noncore/net/opietooth/manager/pppdialog.h | |||
@@ -1,12 +1,22 @@ | |||
1 | /* $Id$ */ | ||
2 | /* PPP/rfcomm connection dialog */ | ||
3 | /*************************************************************************** | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
1 | #ifndef PPPDIALOG_H | 11 | #ifndef PPPDIALOG_H |
2 | #define PPPDIALOG_H | 12 | #define PPPDIALOG_H |
3 | 13 | ||
4 | 14 | ||
5 | #include <qdialog.h> | 15 | #include <qdialog.h> |
6 | #include <opie2/oprocess.h> | 16 | #include <opie2/oprocess.h> |
7 | 17 | ||
8 | class QVBoxLayout; | 18 | class QVBoxLayout; |
9 | class QPushButton; | 19 | class QPushButton; |
10 | class QMultiLineEdit; | 20 | class QMultiLineEdit; |
11 | class QLineEdit; | 21 | class QLineEdit; |
12 | class QComboBox; | 22 | class QComboBox; |
@@ -29,23 +39,23 @@ namespace OpieTooth { | |||
29 | 39 | ||
30 | private slots: | 40 | private slots: |
31 | void connectToDevice(); | 41 | void connectToDevice(); |
32 | void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); | 42 | void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); |
33 | void fillErr(Opie::Core::OProcess*, char*, int); | 43 | void fillErr(Opie::Core::OProcess*, char*, int); |
34 | void slotProcessExited(Opie::Core::OProcess* proc); | 44 | void slotProcessExited(Opie::Core::OProcess* proc); |
35 | void closeEvent(QCloseEvent* e); | 45 | void closeEvent(QCloseEvent* e); |
36 | public: | 46 | public: |
37 | //Array of connections indexed by rfcomm device number | 47 | //Array of connections indexed by rfcomm device number |
38 | static Connection conns[NCONNECTS]; | 48 | static Connection conns[NCONNECTS]; |
39 | protected: | 49 | protected: |
40 | QVBoxLayout* layout; | 50 | QVBoxLayout* layout; |
41 | QLineEdit* cmdLine; | 51 | QComboBox* cmdLine; |
42 | QPushButton* connectButton; | 52 | QPushButton* connectButton; |
43 | QMultiLineEdit* outPut; | 53 | QMultiLineEdit* outPut; |
44 | QComboBox* serPort; | 54 | QComboBox* serPort; |
45 | 55 | ||
46 | private: | 56 | private: |
47 | QString m_device; | 57 | QString m_device; |
48 | int m_port; | 58 | int m_port; |
49 | }; | 59 | }; |
50 | } | 60 | } |
51 | #endif | 61 | #endif |