author | zecke <zecke> | 2004-03-14 13:22:42 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 13:22:42 (UTC) |
commit | 0f7217afa7cdcb108dd2afba0ff6b42c97ab6f44 (patch) (unidiff) | |
tree | f6a68afa76a9be4099c3de7a286caeadd250c966 /noncore/net/opietooth/lib/startdunconnection.cpp | |
parent | d9d68663164078b8dbdbfe70d291291b9fd5aacf (diff) | |
download | opie-0f7217afa7cdcb108dd2afba0ff6b42c97ab6f44.zip opie-0f7217afa7cdcb108dd2afba0ff6b42c97ab6f44.tar.gz opie-0f7217afa7cdcb108dd2afba0ff6b42c97ab6f44.tar.bz2 |
Convert net to ODP and QtAUX
Diffstat (limited to 'noncore/net/opietooth/lib/startdunconnection.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/startdunconnection.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/net/opietooth/lib/startdunconnection.cpp b/noncore/net/opietooth/lib/startdunconnection.cpp index c3850eb..90ef04a 100644 --- a/noncore/net/opietooth/lib/startdunconnection.cpp +++ b/noncore/net/opietooth/lib/startdunconnection.cpp | |||
@@ -3,8 +3,10 @@ | |||
3 | 3 | ||
4 | using namespace OpieTooth; | 4 | using namespace OpieTooth; |
5 | 5 | ||
6 | 6 | ||
7 | using namespace Opie::Core; | ||
8 | using namespace Opie::Core; | ||
7 | StartDunConnection::StartDunConnection() { | 9 | StartDunConnection::StartDunConnection() { |
8 | m_dunConnect = 0l; | 10 | m_dunConnect = 0l; |
9 | setConnectionType(); | 11 | setConnectionType(); |
10 | } | 12 | } |
@@ -38,11 +40,11 @@ StartConnection::ConnectionType StartDunConnection::type() { | |||
38 | void StartDunConnection::start() { | 40 | void StartDunConnection::start() { |
39 | m_dunConnect = new OProcess(); | 41 | m_dunConnect = new OProcess(); |
40 | *m_dunConnect << "dund" << "--listen" << "--connect" << m_mac; | 42 | *m_dunConnect << "dund" << "--listen" << "--connect" << m_mac; |
41 | 43 | ||
42 | connect( m_dunConnect, SIGNAL( processExited(OProcess*) ) , | 44 | connect( m_dunConnect, SIGNAL( processExited(Opie::Core::OProcess*) ) , |
43 | this, SLOT( slotExited(OProcess*) ) ); | 45 | this, SLOT( slotExited(OProcess*) ) ); |
44 | connect( m_dunConnect, SIGNAL( receivedStdout(OProcess*,char*,int) ), | 46 | connect( m_dunConnect, SIGNAL( receivedStdout(Opie::Core::OProcess*,char*,int) ), |
45 | this, SLOT( slotStdOut(OProcess*,char*,int) ) ); | 47 | this, SLOT( slotStdOut(OProcess*,char*,int) ) ); |
46 | if (!m_dunConnect->start( OProcess::NotifyOnExit, OProcess::AllOutput) ) { | 48 | if (!m_dunConnect->start( OProcess::NotifyOnExit, OProcess::AllOutput) ) { |
47 | qWarning( "could not start" ); | 49 | qWarning( "could not start" ); |
48 | delete m_dunConnect; | 50 | delete m_dunConnect; |