summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/scanlistitem.h
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlistitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/scanlistitem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlistitem.h b/noncore/net/wellenreiter/gui/scanlistitem.h
index 89b3bc4..5f6ae40 100644
--- a/noncore/net/wellenreiter/gui/scanlistitem.h
+++ b/noncore/net/wellenreiter/gui/scanlistitem.h
@@ -9,24 +9,26 @@
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14**********************************************************************/ 14**********************************************************************/
15 15
16#ifndef SCANLISTITEM_H 16#ifndef SCANLISTITEM_H
17#define SCANLISTITEM_H 17#define SCANLISTITEM_H
18 18
19#include <cornucopia/olistview.h> 19#include <cornucopia/olistview.h>
20 20
21#include <qtextstream.h>
22
21class QString; 23class QString;
22 24
23class MScanListItem: public OListViewItem 25class MScanListItem: public OListViewItem
24{ 26{
25 public: 27 public:
26 28
27 MScanListItem::MScanListItem( QListView* parent, 29 MScanListItem::MScanListItem( QListView* parent,
28 QString type, 30 QString type,
29 QString essid, 31 QString essid,
30 QString macaddr, 32 QString macaddr,
31 bool wep, 33 bool wep,
32 int channel, 34 int channel,
@@ -55,24 +57,26 @@ class MScanListItem: public OListViewItem
55 const QString& essid() { return _essid; }; 57 const QString& essid() { return _essid; };
56 const QString& macaddr() { return _macaddr; }; 58 const QString& macaddr() { return _macaddr; };
57 bool wep() { return _wep; }; 59 bool wep() { return _wep; };
58 int channel() { return _channel; }; 60 int channel() { return _channel; };
59 int signal() { return _signal; }; 61 int signal() { return _signal; };
60 int beacons() { return _beacons; }; 62 int beacons() { return _beacons; };
61 63
62 void setSignal( int signal ) { /* TODO */ }; 64 void setSignal( int signal ) { /* TODO */ };
63 void receivedBeacon(); 65 void receivedBeacon();
64 66
65 void setManufacturer( const QString& manufacturer ); 67 void setManufacturer( const QString& manufacturer );
66 68
69 void dump( QTextStream& t ) const;
70
67 private: 71 private:
68 QString _type; 72 QString _type;
69 QString _essid; 73 QString _essid;
70 QString _macaddr; 74 QString _macaddr;
71 bool _wep; 75 bool _wep;
72 int _channel; 76 int _channel;
73 int _signal; 77 int _signal;
74 int _beacons; 78 int _beacons;
75 79
76}; 80};
77 81
78#endif 82#endif