author | mickeyl <mickeyl> | 2002-11-21 22:25:02 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-11-21 22:25:02 (UTC) |
commit | 71f340d760a5863152ff5d22c60334f421a6c488 (patch) (side-by-side diff) | |
tree | b2e627876a2acce67e1030c857dc5ca4218ed43f /noncore/net/wellenreiter/gui/wellenreiter.cpp | |
parent | 0ecfbc09273d23162ef65de521ff703a8b322a03 (diff) | |
download | opie-71f340d760a5863152ff5d22c60334f421a6c488.zip opie-71f340d760a5863152ff5d22c60334f421a6c488.tar.gz opie-71f340d760a5863152ff5d22c60334f421a6c488.tar.bz2 |
Added some dummy icons (press "Start Scanning") to get a basic
idea of the main Net-Sniff window.
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index def3131..9364a75 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp @@ -14,10 +14,16 @@ ***********************************************************************/ #include "wellenreiter.h" +#include "scanlistitem.h" + +#include <qpushbutton.h> Wellenreiter::Wellenreiter( QWidget* parent, const char* name, WFlags fl ) : WellenreiterBase( parent, name, fl ) { + + connect( button, SIGNAL( clicked() ), this, SLOT( buttonClicked() ) ); + } Wellenreiter::~Wellenreiter() @@ -25,7 +31,16 @@ Wellenreiter::~Wellenreiter() // no need to delete child widgets, Qt does it all for us } -void Wellenreiter::theButton() +void Wellenreiter::buttonClicked() { + // FIXME: communicate with daemon and set button text according to state + + button->setText( "Stop Scanning" ); + + // add some icons, so that we can see if this works + + new MScanListItem( netview, "managed", "MyNet", "04:00:20:EF:A6:43", true, 6, 80 ); + new MScanListItem( netview, "adhoc", "YourNet", "40:03:A3:E7:56:22", false, 11, 30 ); + } |