author | harlekin <harlekin> | 2003-03-26 22:30:46 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-26 22:30:46 (UTC) |
commit | a57325de7183c21df6b5ff06eff8cf7e3c328ef4 (patch) (unidiff) | |
tree | 8724c094150cf0e977c54afa5c41a7e8da964e55 /noncore/net/opietooth/lib/startdunconnection.h | |
parent | c6e22820a2c28eb8a8f6bab690a36c3fa2605387 (diff) | |
download | opie-a57325de7183c21df6b5ff06eff8cf7e3c328ef4.zip opie-a57325de7183c21df6b5ff06eff8cf7e3c328ef4.tar.gz opie-a57325de7183c21df6b5ff06eff8cf7e3c328ef4.tar.bz2 |
ups
Diffstat (limited to 'noncore/net/opietooth/lib/startdunconnection.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/startdunconnection.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/noncore/net/opietooth/lib/startdunconnection.h b/noncore/net/opietooth/lib/startdunconnection.h new file mode 100644 index 0000000..43a852a --- a/dev/null +++ b/noncore/net/opietooth/lib/startdunconnection.h | |||
@@ -0,0 +1,40 @@ | |||
1 | #ifndef startdunconnection_h | ||
2 | #define startdunconnection_h | ||
3 | |||
4 | #include <qobject.h> | ||
5 | #include "connection.h" | ||
6 | #include <opie/oprocess.h> | ||
7 | |||
8 | namespace OpieTooth { | ||
9 | |||
10 | class StartDunConnection : StartConnection { | ||
11 | |||
12 | Q_OBJECT | ||
13 | |||
14 | public: | ||
15 | StartDunConnection(); | ||
16 | StartDunConnection( QString mac ); | ||
17 | ~StartDunConnection(); | ||
18 | |||
19 | QString name(); | ||
20 | void setName( QString name ); | ||
21 | StartConnection::ConnectionType type(); | ||
22 | void setConnectionType( ); | ||
23 | void start(); | ||
24 | void stop(); | ||
25 | |||
26 | private: | ||
27 | QString m_name; | ||
28 | QString m_mac; | ||
29 | ConnectionType m_connectionType; | ||
30 | OProcess* m_dunConnect; | ||
31 | |||
32 | private slots: | ||
33 | void slotExited( OProcess* proc ); | ||
34 | void slotStdOut( OProcess* proc, char* chars, int len ); | ||
35 | }; | ||
36 | |||
37 | |||
38 | } | ||
39 | |||
40 | #endif | ||