summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/wlanmodule.cpp
authorbenmeyer <benmeyer>2002-10-22 20:41:01 (UTC)
committer benmeyer <benmeyer>2002-10-22 20:41:01 (UTC)
commit1e1b3e398d6b978a9c2bbd85d8f6b7aafbf72b2f (patch) (side-by-side diff)
treec1e6feec60794552bdca607f4dbe180e1988a924 /noncore/settings/networksettings/wlan/wlanmodule.cpp
parent44a60b35b903b68f2f60f5ba29b84db1563dd9f3 (diff)
downloadopie-1e1b3e398d6b978a9c2bbd85d8f6b7aafbf72b2f.zip
opie-1e1b3e398d6b978a9c2bbd85d8f6b7aafbf72b2f.tar.gz
opie-1e1b3e398d6b978a9c2bbd85d8f6b7aafbf72b2f.tar.bz2
info now works
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanmodule.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/wlanmodule.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp
index ab0b9a5..73e753c 100644
--- a/noncore/settings/networksettings/wlan/wlanmodule.cpp
+++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp
@@ -80,20 +80,21 @@ QWidget *WLANModule::information(Interface *i, QTabWidget **tabWidget){
(*tabWidget) = info->tabWidget;
info->essidLabel->setText(we.essid());
info->apLabel->setText(we.ap());
info->stationLabel->setText(we.station());
info->modeLabel->setText(we.mode());
- info->freqLabel->setText(QString("%1").arg(we.frequency()));
+ info->freqLabel->setText(QString("%1 GHz").arg(we.frequency()));
int signal = 0;
int noise = 0;
int quality = 0;
we.stats(signal, noise, quality);
info->signalProgressBar->setProgress(signal);
info->noiseProgressBar->setProgress(noise);
info->qualityProgressBar->setProgress(quality);
+ info->rateLabel->setText(QString("%1 Mb/s").arg(we.rate()));
return info;
}
/**
* Get all active (up or down) interfaces
* @return QList<Interface> A list of interfaces that exsist that havn't