author | tille <tille> | 2003-06-17 11:26:43 (UTC) |
---|---|---|
committer | tille <tille> | 2003-06-17 11:26:43 (UTC) |
commit | 930291d6f7ed63862c9500faf4cddc89e6ee634f (patch) (unidiff) | |
tree | 0d7783ada63c9eab6bd14177f9a572cea8287af8 | |
parent | 1cde4e1ee517c669446125b8fa4af78d6f016657 (diff) | |
download | opie-930291d6f7ed63862c9500faf4cddc89e6ee634f.zip opie-930291d6f7ed63862c9500faf4cddc89e6ee634f.tar.gz opie-930291d6f7ed63862c9500faf4cddc89e6ee634f.tar.bz2 |
dcop needs QString not const char*
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 79734a2..79773b3 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -492,31 +492,31 @@ void Wellenreiter::doAction( const QString& action, const QString& protocol, OPa | |||
492 | } | 492 | } |
493 | 493 | ||
494 | void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int channel, const QString& macaddr) | 494 | void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int channel, const QString& macaddr) |
495 | { | 495 | { |
496 | if ( !iface ) | 496 | if ( !iface ) |
497 | { | 497 | { |
498 | QMessageBox::warning( this, tr( "Can't do that!" ), tr( "No wireless\ninterface available." ) ); | 498 | QMessageBox::warning( this, tr( "Can't do that!" ), tr( "No wireless\ninterface available." ) ); |
499 | return; | 499 | return; |
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 | msg << iface->name() << QString("Mode") << type; | 516 | msg << QString(iface->name()) << QString("Mode") << type; |
517 | msg << iface->name() << QString("ESSID") << essid; | 517 | msg << QString(iface->name()) << QString("ESSID") << essid; |
518 | msg << iface->name() << QString("Channel") << channel; | 518 | msg << QString(iface->name()) << QString("Channel") << channel; |
519 | msg << iface->name() << QString("MacAddr") << macaddr; | 519 | msg << QString(iface->name()) << QString("MacAddr") << macaddr; |
520 | 520 | ||
521 | } | 521 | } |
522 | 522 | ||