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 @@ -17,11 +17,12 @@ #define SCANLIST_H +/* OPIE */ #include <opie2/olistview.h> +#include <opie2/onetutils.h> +/* QT */ #include <qtextstream.h> class QString; -class ManufacturerDB; - class MScanListItem; @@ -34,6 +35,4 @@ class MScanListView: public OListView virtual ~MScanListView(); - void setManufacturerDB( ManufacturerDB* manufacturerdb ); - virtual OListViewItem* childFactory(); virtual void serializeTo( QDataStream& s ) const; @@ -41,17 +40,14 @@ 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" ); }; |