summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/startdunconnection.h
authorharlekin <harlekin>2003-03-26 22:30:46 (UTC)
committer harlekin <harlekin>2003-03-26 22:30:46 (UTC)
commita57325de7183c21df6b5ff06eff8cf7e3c328ef4 (patch) (side-by-side diff)
tree8724c094150cf0e977c54afa5c41a7e8da964e55 /noncore/net/opietooth/lib/startdunconnection.h
parentc6e22820a2c28eb8a8f6bab690a36c3fa2605387 (diff)
downloadopie-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.h40
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 @@
+#ifndef startdunconnection_h
+#define startdunconnection_h
+
+#include <qobject.h>
+#include "connection.h"
+#include <opie/oprocess.h>
+
+namespace OpieTooth {
+
+ class StartDunConnection : StartConnection {
+
+ Q_OBJECT
+
+ public:
+ StartDunConnection();
+ StartDunConnection( QString mac );
+ ~StartDunConnection();
+
+ QString name();
+ void setName( QString name );
+ StartConnection::ConnectionType type();
+ void setConnectionType( );
+ void start();
+ void stop();
+
+ private:
+ QString m_name;
+ QString m_mac;
+ ConnectionType m_connectionType;
+ OProcess* m_dunConnect;
+
+ private slots:
+ void slotExited( OProcess* proc );
+ void slotStdOut( OProcess* proc, char* chars, int len );
+ };
+
+
+}
+
+#endif