Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlistitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlistitem.cpp b/noncore/net/wellenreiter/gui/scanlistitem.cpp index dd33f5f..bfa7aa9 100644 --- a/noncore/net/wellenreiter/gui/scanlistitem.cpp +++ b/noncore/net/wellenreiter/gui/scanlistitem.cpp | |||
@@ -28,35 +28,35 @@ const int col_type = 0; | |||
28 | const int col_essid = 0; | 28 | const int col_essid = 0; |
29 | const int col_sig = 1; | 29 | const int col_sig = 1; |
30 | const int col_ap = 2; | 30 | const int col_ap = 2; |
31 | const int col_channel = 3; | 31 | const int col_channel = 3; |
32 | const int col_wep = 4; | 32 | const int col_wep = 4; |
33 | const int col_traffic = 5; | 33 | const int col_traffic = 5; |
34 | const int col_manuf = 6; | 34 | const int col_manuf = 6; |
35 | const int col_firstseen = 7; | 35 | const int col_firstseen = 7; |
36 | const int col_lastseen = 8; | 36 | const int col_lastseen = 8; |
37 | 37 | ||
38 | MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QString macaddr, | 38 | MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QString macaddr, |
39 | bool wep, int channel, int signal ) | 39 | bool wep, int channel, int signal ) |
40 | :QListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ), | 40 | :OListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ), |
41 | _type( type ), _essid( essid ), _macaddr( macaddr ), _wep( wep ), | 41 | _type( type ), _essid( essid ), _macaddr( macaddr ), _wep( wep ), |
42 | _channel( channel ), _signal( signal ), _beacons( 0 ) | 42 | _channel( channel ), _signal( signal ), _beacons( 0 ) |
43 | { | 43 | { |
44 | qDebug( "creating scanlist item" ); | 44 | qDebug( "creating scanlist item" ); |
45 | decorateItem( type, essid, macaddr, wep, channel, signal ); | 45 | decorateItem( type, essid, macaddr, wep, channel, signal ); |
46 | } | 46 | } |
47 | 47 | ||
48 | MScanListItem::MScanListItem( QListViewItem* parent, QString type, QString essid, QString macaddr, | 48 | MScanListItem::MScanListItem( QListViewItem* parent, QString type, QString essid, QString macaddr, |
49 | bool wep, int channel, int signal ) | 49 | bool wep, int channel, int signal ) |
50 | :QListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ) | 50 | :OListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null ) |
51 | { | 51 | { |
52 | qDebug( "creating scanlist item" ); | 52 | qDebug( "creating scanlist item" ); |
53 | decorateItem( type, essid, macaddr, wep, channel, signal ); | 53 | decorateItem( type, essid, macaddr, wep, channel, signal ); |
54 | } | 54 | } |
55 | 55 | ||
56 | void MScanListItem::decorateItem( QString type, QString essid, QString macaddr, bool wep, int channel, int signal ) | 56 | void MScanListItem::decorateItem( QString type, QString essid, QString macaddr, bool wep, int channel, int signal ) |
57 | { | 57 | { |
58 | qDebug( "decorating scanlist item %s / %s / %s [%d]", | 58 | qDebug( "decorating scanlist item %s / %s / %s [%d]", |
59 | (const char*) type, | 59 | (const char*) type, |
60 | (const char*) essid, | 60 | (const char*) essid, |
61 | (const char*) macaddr, | 61 | (const char*) macaddr, |
62 | channel ); | 62 | channel ); |