summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/scanlistitem.cpp
authormickeyl <mickeyl>2002-12-08 18:41:47 (UTC)
committer mickeyl <mickeyl>2002-12-08 18:41:47 (UTC)
commit1a4f97b01412700aaa19fda396844fd237f35c92 (patch) (side-by-side diff)
treee439f505f73a71e179748aca0bcaa93d70b6f594 /noncore/net/wellenreiter/gui/scanlistitem.cpp
parentff55ff70dc982d070bb085acb96831ae30b30902 (diff)
downloadopie-1a4f97b01412700aaa19fda396844fd237f35c92.zip
opie-1a4f97b01412700aaa19fda396844fd237f35c92.tar.gz
opie-1a4f97b01412700aaa19fda396844fd237f35c92.tar.bz2
- new networks finally show up in the GUI
- using OTabWidget instead of QTabWidget - bugfixes - preparing to fully integrate libwellenreiter and the daemon into our buildsystem
Diffstat (limited to 'noncore/net/wellenreiter/gui/scanlistitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/scanlistitem.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlistitem.cpp b/noncore/net/wellenreiter/gui/scanlistitem.cpp
index 63caefb..9532a01 100644
--- a/noncore/net/wellenreiter/gui/scanlistitem.cpp
+++ b/noncore/net/wellenreiter/gui/scanlistitem.cpp
@@ -26,23 +26,23 @@ const int col_channel = 3;
const int col_wep = 4;
const int col_traffic = 5;
-MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QString ap,
+MScanListItem::MScanListItem( QListView* parent, QString type, QString essid, QString macaddr,
bool wep, int channel, int signal )
- :QListViewItem( parent, essid, ap, QString::null, QString::null, QString::null )
+ :QListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null )
{
qDebug( "creating scanlist item" );
- decorateItem( type, essid, ap, wep, channel, signal );
+ decorateItem( type, essid, macaddr, wep, channel, signal );
}
-MScanListItem::MScanListItem( QListViewItem* parent, QString type, QString essid, QString ap,
+MScanListItem::MScanListItem( QListViewItem* parent, QString type, QString essid, QString macaddr,
bool wep, int channel, int signal )
- :QListViewItem( parent, essid, ap, QString::null, QString::null, QString::null )
+ :QListViewItem( parent, essid, QString::null, macaddr, QString::null, QString::null )
{
qDebug( "creating scanlist item" );
- decorateItem( type, essid, ap, wep, channel, signal );
+ decorateItem( type, essid, macaddr, wep, channel, signal );
}
-void MScanListItem::decorateItem( QString type, QString essid, QString ap, bool wep, int channel, int signal )
+void MScanListItem::decorateItem( QString type, QString essid, QString macaddr, bool wep, int channel, int signal )
{
qDebug( "decorating scanlist item" );
@@ -58,7 +58,8 @@ void MScanListItem::decorateItem( QString type, QString essid, QString ap, bool
// set channel and signal text
setText( col_sig, QString::number( signal ) );
setText( col_channel, QString::number( channel ) );
+ //setText
listView()->triggerUpdate();
-} \ No newline at end of file
+}