author | mickeyl <mickeyl> | 2003-06-15 12:45:31 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-06-15 12:45:31 (UTC) |
commit | 6b682070b6d83f3537dd9fa5aee715ab142a04e6 (patch) (unidiff) | |
tree | b152def34a4fe52ef6195af9c1c324b23a3d7981 /noncore/net/wellenreiter/gui/scanlist.h | |
parent | 7feda6ad0e05602d0a939f9867f296f62ae758cd (diff) | |
download | opie-6b682070b6d83f3537dd9fa5aee715ab142a04e6.zip opie-6b682070b6d83f3537dd9fa5aee715ab142a04e6.tar.gz opie-6b682070b6d83f3537dd9fa5aee715ab142a04e6.tar.bz2 |
basic framework for context menu "join network" established
just need to send the proper qcop messages now
Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlist.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlist.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlist.h b/noncore/net/wellenreiter/gui/scanlist.h index 253c166..5aba0d2 100644 --- a/noncore/net/wellenreiter/gui/scanlist.h +++ b/noncore/net/wellenreiter/gui/scanlist.h | |||
@@ -46,8 +46,14 @@ class MScanListView: public OListView | |||
46 | void IBSStraffic( const OMacAddress& from, const OMacAddress& to, const OMacAddress& via ); | 46 | void IBSStraffic( const OMacAddress& from, const OMacAddress& to, const OMacAddress& via ); |
47 | 47 | ||
48 | void identify( const OMacAddress&, const QString& ipaddr ); | 48 | void identify( const OMacAddress&, const QString& ipaddr ); |
49 | 49 | ||
50 | void contextMenuRequested( QListViewItem* item, const QPoint&, int ); | ||
51 | |||
52 | signals: | ||
53 | void rightButtonClicked(QListViewItem*,const QPoint&,int); | ||
54 | void joinNetwork( const QString&, const QString&, int, const QString& ); | ||
55 | |||
50 | protected: | 56 | protected: |
51 | void addIfNotExisting( MScanListItem* parent, const OMacAddress& addr, const QString& type = "station" ); | 57 | void addIfNotExisting( MScanListItem* parent, const OMacAddress& addr, const QString& type = "station" ); |
52 | 58 | ||
53 | }; | 59 | }; |
@@ -81,9 +87,9 @@ class MScanListItem: public OListViewItem | |||
81 | QString type; | 87 | QString type; |
82 | 88 | ||
83 | public: | 89 | public: |
84 | //const QString& type() { return _type; }; | 90 | //const QString& type() { return _type; }; |
85 | const QString& essid() { return _essid; }; | 91 | const QString& essid() const; |
86 | const QString& macaddr() { return _macaddr; }; | 92 | const QString& macaddr() { return _macaddr; }; |
87 | bool wep() { return _wep; }; | 93 | bool wep() { return _wep; }; |
88 | int channel() { return _channel; }; | 94 | int channel() { return _channel; }; |
89 | int signal() { return _signal; }; | 95 | int signal() { return _signal; }; |