author | tille <tille> | 2003-06-21 15:36:59 (UTC) |
---|---|---|
committer | tille <tille> | 2003-06-21 15:36:59 (UTC) |
commit | e1e6c04dfb5d2ac785b4b5b0ed21648eb4e4d03b (patch) (unidiff) | |
tree | 1d95c13bf5def759982a73ea5f11637f0715097e | |
parent | 5f5accf337a109371296c6a78175734454165406 (diff) | |
download | opie-e1e6c04dfb5d2ac785b4b5b0ed21648eb4e4d03b.zip opie-e1e6c04dfb5d2ac785b4b5b0ed21648eb4e4d03b.tar.gz opie-e1e6c04dfb5d2ac785b4b5b0ed21648eb4e4d03b.tar.bz2 |
send message cound to networksettings
it's working now on the Z
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 79773b3..dcf796f 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -500,23 +500,31 @@ void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int ch | |||
500 | } | 500 | } |
501 | 501 | ||
502 | if ( sniffing ) | 502 | if ( sniffing ) |
503 | { | 503 | { |
504 | QMessageBox::warning( this, tr( "Can't do that!" ), tr( "Stop sniffing before\njoining a net." ) ); | 504 | QMessageBox::warning( this, tr( "Can't do that!" ), tr( "Stop sniffing before\njoining a net." ) ); |
505 | return; | 505 | return; |
506 | } | 506 | } |
507 | 507 | ||
508 | qDebug( "joinNetwork() with Interface %s: %s, %s, %d, %s", | 508 | qDebug( "joinNetwork() with Interface %s: %s, %s, %d, %s", |
509 | (const char*) iface->name(), | 509 | (const char*) iface->name(), |
510 | (const char*) type, | 510 | (const char*) type, |
511 | (const char*) essid, | 511 | (const char*) essid, |
512 | channel, | 512 | channel, |
513 | (const char*) macaddr ); | 513 | (const char*) macaddr ); |
514 | 514 | ||
515 | QCopEnvelope msg( "QPE/Application/networksettings", "wlan(QString,QString,QString)" ); | 515 | QCopEnvelope msg( "QPE/Application/networksettings", "wlan(QString,QString,QString)" ); |
516 | int count = 3; | ||
517 | qDebug("sending %d messages",count); | ||
518 | msg << QString("count") << QString::number(count); | ||
519 | qDebug("msg >%s< Mode >%s<", iface->name(),type.latin1() ); | ||
516 | msg << QString(iface->name()) << QString("Mode") << type; | 520 | msg << QString(iface->name()) << QString("Mode") << type; |
521 | qDebug("msg >%s< essid >%s<", iface->name(),essid.latin1()); | ||
517 | msg << QString(iface->name()) << QString("ESSID") << essid; | 522 | msg << QString(iface->name()) << QString("ESSID") << essid; |
523 | qDebug("msg >%s< channel >%d<", iface->name(),channel); | ||
518 | msg << QString(iface->name()) << QString("Channel") << channel; | 524 | msg << QString(iface->name()) << QString("Channel") << channel; |
519 | msg << QString(iface->name()) << QString("MacAddr") << macaddr; | 525 | // qDebug("msg >%s< mac >%s<", iface->name(),macaddr); |
526 | // msg << QString(iface->name()) << QString("MacAddr") << macaddr; | ||
527 | |||
520 | 528 | ||
521 | } | 529 | } |
522 | 530 | ||