summaryrefslogtreecommitdiff
path: root/noncore
authortille <tille>2003-06-21 15:36:59 (UTC)
committer tille <tille>2003-06-21 15:36:59 (UTC)
commite1e6c04dfb5d2ac785b4b5b0ed21648eb4e4d03b (patch) (side-by-side diff)
tree1d95c13bf5def759982a73ea5f11637f0715097e /noncore
parent5f5accf337a109371296c6a78175734454165406 (diff)
downloadopie-e1e6c04dfb5d2ac785b4b5b0ed21648eb4e4d03b.zip
opie-e1e6c04dfb5d2ac785b4b5b0ed21648eb4e4d03b.tar.gz
opie-e1e6c04dfb5d2ac785b4b5b0ed21648eb4e4d03b.tar.bz2
send message cound to networksettings
it's working now on the Z
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.cpp10
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
@@ -492,31 +492,39 @@ void Wellenreiter::doAction( const QString& action, const QString& protocol, OPa
}
void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int channel, const QString& macaddr)
{
if ( !iface )
{
QMessageBox::warning( this, tr( "Can't do that!" ), tr( "No wireless\ninterface available." ) );
return;
}
if ( sniffing )
{
QMessageBox::warning( this, tr( "Can't do that!" ), tr( "Stop sniffing before\njoining a net." ) );
return;
}
qDebug( "joinNetwork() with Interface %s: %s, %s, %d, %s",
(const char*) iface->name(),
(const char*) type,
(const char*) essid,
channel,
(const char*) macaddr );
QCopEnvelope msg( "QPE/Application/networksettings", "wlan(QString,QString,QString)" );
+ int count = 3;
+ qDebug("sending %d messages",count);
+ msg << QString("count") << QString::number(count);
+ qDebug("msg >%s< Mode >%s<", iface->name(),type.latin1() );
msg << QString(iface->name()) << QString("Mode") << type;
+ qDebug("msg >%s< essid >%s<", iface->name(),essid.latin1());
msg << QString(iface->name()) << QString("ESSID") << essid;
+ qDebug("msg >%s< channel >%d<", iface->name(),channel);
msg << QString(iface->name()) << QString("Channel") << channel;
- msg << QString(iface->name()) << QString("MacAddr") << macaddr;
+// qDebug("msg >%s< mac >%s<", iface->name(),macaddr);
+// msg << QString(iface->name()) << QString("MacAddr") << macaddr;
+
}