Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index 8cabf0d..c4e6f02 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp | |||
@@ -84,4 +84,2 @@ Wellenreiter::Wellenreiter( QWidget* parent ) | |||
84 | 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&) ) ); | ||
87 | pcap = new OPacketCapturer(); | 85 | pcap = new OPacketCapturer(); |
@@ -730,39 +728,2 @@ void Wellenreiter::doAction( const QString& action, const QString& protocol, OPa | |||
730 | 728 | ||
731 | void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int channel, const QString& macaddr) | ||
732 | { | ||
733 | #ifdef QWS | ||
734 | if ( !iface ) | ||
735 | { | ||
736 | QMessageBox::warning( this, tr( "Can't do that!" ), tr( "No wireless\ninterface available." ) ); | ||
737 | return; | ||
738 | } | ||
739 | |||
740 | if ( sniffing ) | ||
741 | { | ||
742 | QMessageBox::warning( this, tr( "Can't do that!" ), tr( "Stop sniffing before\njoining a net." ) ); | ||
743 | return; | ||
744 | } | ||
745 | |||
746 | odebug << "joinNetwork() with Interface " << iface->name() | ||
747 | << ": " << type << ", " << essid | ||
748 | << ", " << channel << ", " << macaddr << oendl; | ||
749 | |||
750 | QCopEnvelope msg( "QPE/Application/networksettings", "wlan(QString,QString,QString)" ); | ||
751 | int count = 3; | ||
752 | odebug << "sending " << count << " messages" << oendl; | ||
753 | msg << QString("count") << QString::number(count); | ||
754 | odebug << "msg >" << iface->name() << "< Mode >" << type.latin1() << "<" << oendl; | ||
755 | msg << QString(iface->name()) << QString("Mode") << type; | ||
756 | odebug << "msg >" << iface->name() << "< essid >" << essid.latin1() << "<" << oendl; | ||
757 | msg << QString(iface->name()) << QString("ESSID") << essid; | ||
758 | odebug << "msg >" << iface->name() << "< channel >" << channel << "<" << oendl; | ||
759 | msg << QString(iface->name()) << QString("Channel") << channel; | ||
760 | // odebug << "msg >" << iface->name() << "< mac >" << macaddr << "<" << oendl; | ||
761 | // msg << QString(iface->name()) << QString("MacAddr") << macaddr; | ||
762 | #else | ||
763 | QMessageBox::warning( this, tr( "Can't do that!" ), tr( "Function only available on Embedded build" ) ); | ||
764 | #endif | ||
765 | |||
766 | } | ||
767 | |||
768 | void Wellenreiter::updateStatistics() | 729 | void Wellenreiter::updateStatistics() |