Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 2f26702..8a9e55d 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -29,4 +29,5 @@ | |||
29 | #ifdef QWS | 29 | #ifdef QWS |
30 | #include <opie/odevice.h> | 30 | #include <opie/odevice.h> |
31 | #include <qpe/qcopenvelope_qws.h> | ||
31 | using namespace Opie; | 32 | using namespace Opie; |
32 | #endif | 33 | #endif |
@@ -82,4 +83,6 @@ Wellenreiter::Wellenreiter( QWidget* parent ) | |||
82 | 83 | ||
83 | netview->setColumnWidthMode( 1, QListView::Manual ); | 84 | netview->setColumnWidthMode( 1, QListView::Manual ); |
85 | connect( netview, SIGNAL( joinNetwork(const QString&,const QString&,int,const QString&) ), | ||
86 | this, SLOT( joinNetwork(const QString&,const QString&,int,const QString&) ) ); | ||
84 | pcap = new OPacketCapturer(); | 87 | pcap = new OPacketCapturer(); |
85 | } | 88 | } |
@@ -489,2 +492,17 @@ void Wellenreiter::doAction( const QString& action, const QString& protocol, OPa | |||
489 | } | 492 | } |
490 | 493 | ||
494 | void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int channel, const QString& macaddr) | ||
495 | { | ||
496 | qDebug( "joinNetwork() - %s, %s, %d, %s", | ||
497 | (const char*) type, | ||
498 | (const char*) essid, | ||
499 | channel, | ||
500 | (const char*) macaddr ); | ||
501 | |||
502 | // TODO: Stop scanning here | ||
503 | |||
504 | QCopEnvelope msg( "QPE/Application/networksettings", "wlan(QString,QString,QString)" ); | ||
505 | msg << "test" << "test" << "test"; | ||
506 | |||
507 | } | ||
508 | |||