Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlist.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlist.h | 24 |
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" ); |