author | tille <tille> | 2003-06-13 14:54:32 (UTC) |
---|---|---|
committer | tille <tille> | 2003-06-13 14:54:32 (UTC) |
commit | 006f7b028f03232e51dd6ceab35a7d492288fd22 (patch) (unidiff) | |
tree | 27fe264b7628f7ac4f17b925803b3f562f165fb7 /noncore/settings/networksettings/mainwindowimp.cpp | |
parent | e5d826221bab71c39dc8fc89d91509dd16bc2a8a (diff) | |
download | opie-006f7b028f03232e51dd6ceab35a7d492288fd22.zip opie-006f7b028f03232e51dd6ceab35a7d492288fd22.tar.gz opie-006f7b028f03232e51dd6ceab35a7d492288fd22.tar.bz2 |
qcop channels for ESSID, Channel and Mode
Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp index 0ef1e68..5029525 100644 --- a/noncore/settings/networksettings/mainwindowimp.cpp +++ b/noncore/settings/networksettings/mainwindowimp.cpp | |||
@@ -641,26 +641,27 @@ void MainWindowImp::receive(const QCString &msg, const QByteArray &arg) | |||
641 | qDebug("MainWindowImp::receive QCop msg >"+msg+"<"); | 641 | qDebug("MainWindowImp::receive QCop msg >"+msg+"<"); |
642 | 642 | ||
643 | QString dest = msg.left(msg.find("(")); | 643 | QString dest = msg.left(msg.find("(")); |
644 | QCString param = msg.right(msg.length() - msg.find("(") - 1); | 644 | QCString param = msg.right(msg.length() - msg.find("(") - 1); |
645 | param = param.left( param.length() - 1 ); | 645 | param = param.left( param.length() - 1 ); |
646 | qDebug("dest >%s< param >"+param+"<",dest.latin1()); | 646 | qDebug("dest >%s< param >"+param+"<",dest.latin1()); |
647 | 647 | ||
648 | // if (param.contains("QString,QString,QString")) { | 648 | // if (param.contains("QString,QString,QString")) { |
649 | // QDataStream stream(arg,IO_ReadOnly); | 649 | // QDataStream stream(arg,IO_ReadOnly); |
650 | // QString arg1, arg2, arg3; | 650 | // QString arg1, arg2, arg3; |
651 | // stream >> arg1 >> arg2 >> arg3 ; | 651 | // stream >> arg1 >> arg2 >> arg3 ; |
652 | // qDebug("args: >%s< >%s< >%s<",arg1.latin1(),arg2.latin1(),arg3.latin1()); | 652 | // qDebug("args: >%s< >%s< >%s<",arg1.latin1(),arg2.latin1(),arg3.latin1()); |
653 | // } | 653 | // } |
654 | 654 | ||
655 | QMap<Module*, QLibrary*>::Iterator it; | 655 | QMap<Module*, QLibrary*>::Iterator it; |
656 | for( it = libraries.begin(); it != libraries.end(); ++it ){ | 656 | for( it = libraries.begin(); it != libraries.end(); ++it ){ |
657 | qDebug("plugin >%s<", it.key()->type().latin1() ); | 657 | qDebug("plugin >%s<", it.key()->type().latin1() ); |
658 | if(it.key()->type() == dest){ | 658 | if(it.key()->type() == dest){ |
659 | it.key()->receive( param, arg ); | 659 | it.key()->receive( param, arg ); |
660 | found = true; | 660 | found = true; |
661 | } | 661 | } |
662 | } | 662 | } |
663 | 663 | ||
664 | 664 | ||
665 | if (!found) qDebug("Huh what do ya want"); | 665 | if (found) QPEApplication::setKeepRunning(); |
666 | else qDebug("Huh what do ya want"); | ||
666 | } | 667 | } |