Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlistitem.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlistitem.h | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlistitem.h b/noncore/net/wellenreiter/gui/scanlistitem.h deleted file mode 100644 index 5f6ae40..0000000 --- a/noncore/net/wellenreiter/gui/scanlistitem.h +++ b/dev/null | |||
@@ -1,83 +0,0 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2002 Michael 'Mickey' Lauer. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Opie Environment. | ||
5 | ** | ||
6 | ** This file may be distributed and/or modified under the terms of the | ||
7 | ** GNU General Public License version 2 as published by the Free Software | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
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. | ||
13 | ** | ||
14 | **********************************************************************/ | ||
15 | |||
16 | #ifndef SCANLISTITEM_H | ||
17 | #define SCANLISTITEM_H | ||
18 | |||
19 | #include <cornucopia/olistview.h> | ||
20 | |||
21 | #include <qtextstream.h> | ||
22 | |||
23 | class QString; | ||
24 | |||
25 | class MScanListItem: public OListViewItem | ||
26 | { | ||
27 | public: | ||
28 | |||
29 | MScanListItem::MScanListItem( QListView* parent, | ||
30 | QString type, | ||
31 | QString essid, | ||
32 | QString macaddr, | ||
33 | bool wep, | ||
34 | int channel, | ||
35 | int signal ); | ||
36 | |||
37 | MScanListItem::MScanListItem( QListViewItem* parent, | ||
38 | QString type, | ||
39 | QString essid, | ||
40 | QString macaddr, | ||
41 | bool wep, | ||
42 | int channel, | ||
43 | int signal ); | ||
44 | |||
45 | |||
46 | protected: | ||
47 | |||
48 | virtual void decorateItem( QString type, QString essid, QString macaddr, bool wep, int channel, int signal ); | ||
49 | |||
50 | public: | ||
51 | |||
52 | QString type; | ||
53 | |||
54 | public: | ||
55 | |||
56 | //const QString& type() { return _type; }; | ||
57 | const QString& essid() { return _essid; }; | ||
58 | const QString& macaddr() { return _macaddr; }; | ||
59 | bool wep() { return _wep; }; | ||
60 | int channel() { return _channel; }; | ||
61 | int signal() { return _signal; }; | ||
62 | int beacons() { return _beacons; }; | ||
63 | |||
64 | void setSignal( int signal ) { /* TODO */ }; | ||
65 | void receivedBeacon(); | ||
66 | |||
67 | void setManufacturer( const QString& manufacturer ); | ||
68 | |||
69 | void dump( QTextStream& t ) const; | ||
70 | |||
71 | private: | ||
72 | QString _type; | ||
73 | QString _essid; | ||
74 | QString _macaddr; | ||
75 | bool _wep; | ||
76 | int _channel; | ||
77 | int _signal; | ||
78 | int _beacons; | ||
79 | |||
80 | }; | ||
81 | |||
82 | #endif | ||
83 | |||