summaryrefslogtreecommitdiff
authortille <tille>2003-06-16 17:05:01 (UTC)
committer tille <tille>2003-06-16 17:05:01 (UTC)
commit3508149e0c894e53bc31ee7b66d98a195cdb8d70 (patch) (side-by-side diff)
tree34fb52e3a8d537fdf598addb913cdda4b5fc0470
parentad64cf15ac6ac064619079592f7656464e88baac (diff)
downloadopie-3508149e0c894e53bc31ee7b66d98a195cdb8d70.zip
opie-3508149e0c894e53bc31ee7b66d98a195cdb8d70.tar.gz
opie-3508149e0c894e53bc31ee7b66d98a195cdb8d70.tar.bz2
wellenreiter speaks with networksettings now...
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp
index 8a9e55d..448b52b 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.cpp
+++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp
@@ -493,6 +493,8 @@ void Wellenreiter::doAction( const QString& action, const QString& protocol, OPa
void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int channel, const QString& macaddr)
{
+ // we need the interface too:
+ const QString iface = "wlan0";
qDebug( "joinNetwork() - %s, %s, %d, %s",
(const char*) type,
(const char*) essid,
@@ -502,7 +504,10 @@ void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int ch
// TODO: Stop scanning here
QCopEnvelope msg( "QPE/Application/networksettings", "wlan(QString,QString,QString)" );
- msg << "test" << "test" << "test";
+ msg << iface << QString("Mode") << type;
+ msg << iface << QString("ESSID") << essid;
+ msg << iface << QString("Channel") << channel;
+ msg << iface << QString("MacAddr") << macaddr;
}