author | mickeyl <mickeyl> | 2002-12-09 19:37:47 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2002-12-09 19:37:47 (UTC) |
commit | 046f040efcb0f313818d1dbb1dc1db9021678175 (patch) (unidiff) | |
tree | 7fe87d0cfecc6a61856285e307dfc592bbd55fbd /noncore/net/wellenreiter/gui/scanlistitem.cpp | |
parent | 711d8c1af3ebdd6f88ff3e9ffa46624c9b63badd (diff) | |
download | opie-046f040efcb0f313818d1dbb1dc1db9021678175.zip opie-046f040efcb0f313818d1dbb1dc1db9021678175.tar.gz opie-046f040efcb0f313818d1dbb1dc1db9021678175.tar.bz2 |
improved display logic
Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/scanlistitem.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlistitem.cpp b/noncore/net/wellenreiter/gui/scanlistitem.cpp index 189a12d..398b42d 100644 --- a/noncore/net/wellenreiter/gui/scanlistitem.cpp +++ b/noncore/net/wellenreiter/gui/scanlistitem.cpp | |||
@@ -41,13 +41,17 @@ MScanListItem::MScanListItem( QListViewItem* parent, QString type, QString essid | |||
41 | qDebug( "creating scanlist item" ); | 41 | qDebug( "creating scanlist item" ); |
42 | decorateItem( type, essid, macaddr, wep, channel, signal ); | 42 | decorateItem( type, essid, macaddr, wep, channel, signal ); |
43 | } | 43 | } |
44 | 44 | ||
45 | void MScanListItem::decorateItem( QString type, QString essid, QString macaddr, bool wep, int channel, int signal ) | 45 | void MScanListItem::decorateItem( QString type, QString essid, QString macaddr, bool wep, int channel, int signal ) |
46 | { | 46 | { |
47 | qDebug( "decorating scanlist item" ); | 47 | qDebug( "decorating scanlist item %s / %s / %s [%d]", |
48 | (const char*) type, | ||
49 | (const char*) essid, | ||
50 | (const char*) macaddr, | ||
51 | channel ); | ||
48 | 52 | ||
49 | // set icon for managed or adhoc mode | 53 | // set icon for managed or adhoc mode |
50 | QString name; | 54 | QString name; |
51 | name.sprintf( "wellenreiter/%s", (const char*) type ); | 55 | name.sprintf( "wellenreiter/%s", (const char*) type ); |
52 | setPixmap( col_type, Resource::loadPixmap( name ) ); | 56 | setPixmap( col_type, Resource::loadPixmap( name ) ); |
53 | 57 | ||