summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/scanlist.h
authormickeyl <mickeyl>2003-05-10 17:03:50 (UTC)
committer mickeyl <mickeyl>2003-05-10 17:03:50 (UTC)
commite858fffe853c2893775c202c52ba1d4898e723bc (patch) (side-by-side diff)
tree6d5bbe5ff471d12c89fd1e6d04458477fb1292d3 /noncore/net/wellenreiter/gui/scanlist.h
parente9195d3c80eca6ca41893ddcfef46683da6c5627 (diff)
downloadopie-e858fffe853c2893775c202c52ba1d4898e723bc.zip
opie-e858fffe853c2893775c202c52ba1d4898e723bc.tar.gz
opie-e858fffe853c2893775c202c52ba1d4898e723bc.tar.bz2
- use OManufacturerDB instead of ManufacturerDB
- misc fixes
Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlist.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/scanlist.h24
1 files changed, 10 insertions, 14 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlist.h b/noncore/net/wellenreiter/gui/scanlist.h
index 4cb9216..253c166 100644
--- a/noncore/net/wellenreiter/gui/scanlist.h
+++ b/noncore/net/wellenreiter/gui/scanlist.h
@@ -18,4 +18,7 @@
+/* OPIE */
#include <opie2/olistview.h>
+#include <opie2/onetutils.h>
+/* QT */
#include <qtextstream.h>
@@ -23,4 +26,2 @@
class QString;
-class ManufacturerDB;
-
class MScanListItem;
@@ -35,4 +36,2 @@ class MScanListView: public OListView
- void setManufacturerDB( ManufacturerDB* manufacturerdb );
-
virtual OListViewItem* childFactory();
@@ -42,15 +41,12 @@ class MScanListView: public OListView
public slots:
- void addNewItem( QString type, QString essid, QString macaddr, bool wep, int channel, int signal );
- void fromDStraffic( QString from, QString to, QString via ); // NYI
- void toDStraffic( QString from, QString to, QString via );
- void WDStraffic( QString from, QString to, QString viaFrom, QString viaTo );
- void IBSStraffic( QString from, QString to, QString via ); // NYI
+ void addNewItem( const QString& type, const QString& essid, const OMacAddress& macaddr, bool wep, int channel, int signal );
+ void fromDStraffic( const OMacAddress& from, const OMacAddress& to, const OMacAddress& via );
+ void toDStraffic( const OMacAddress& from, const OMacAddress& to, const OMacAddress& via );
+ void WDStraffic( const OMacAddress& from, const OMacAddress& to, const OMacAddress& viaFrom, const OMacAddress& viaTo );
+ void IBSStraffic( const OMacAddress& from, const OMacAddress& to, const OMacAddress& via );
- void identify( const QString& macaddr, const QString& ipaddr );
+ void identify( const OMacAddress&, const QString& ipaddr );
protected:
- void addIfNotExisting( MScanListItem* parent, QString addr, const QString& type = "station" );
-
- private:
- ManufacturerDB* _manufacturerdb;
+ void addIfNotExisting( MScanListItem* parent, const OMacAddress& addr, const QString& type = "station" );