summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/wlanmodule.cpp
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanmodule.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/wlanmodule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp
index 9d34d75..53b5857 100644
--- a/noncore/settings/networksettings/wlan/wlanmodule.cpp
+++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp
@@ -23,25 +23,25 @@ void WLANModule::setProfile(QString newProfile){
23 */ 23 */
24QString WLANModule::getPixmapName(Interface* ){ 24QString WLANModule::getPixmapName(Interface* ){
25 return "wlan"; 25 return "wlan";
26} 26}
27 27
28/** 28/**
29 * Check to see if the interface i is owned by this module. 29 * Check to see if the interface i is owned by this module.
30 * @param Interface* interface to check against 30 * @param Interface* interface to check against
31 * @return bool true if i is owned by this module, false otherwise. 31 * @return bool true if i is owned by this module, false otherwise.
32 */ 32 */
33bool WLANModule::isOwner(Interface *i){ 33bool WLANModule::isOwner(Interface *i){
34 if(i->getInterfaceName() == "eth0" || i->getInterfaceName() == "wlan0"){ 34 if(i->getInterfaceName() == "eth0" || i->getInterfaceName() == "wlan0"){
35 i->setHardwareName(QString("802.11b (%1)").arg(i->getInterfaceName())); 35 i->setHardwareName("802.11b");
36 return true; 36 return true;
37 } 37 }
38 return false; 38 return false;
39} 39}
40 40
41/** 41/**
42 * Create, set tabWiget and return the WLANConfigure Module 42 * Create, set tabWiget and return the WLANConfigure Module
43 * @param tabWidget a pointer to the tab widget that this configure has. 43 * @param tabWidget a pointer to the tab widget that this configure has.
44 * @return QWidget* pointer to the tab widget in this modules configure. 44 * @return QWidget* pointer to the tab widget in this modules configure.
45 */ 45 */
46QWidget *WLANModule::configure(QTabWidget **tabWidget){ 46QWidget *WLANModule::configure(QTabWidget **tabWidget){
47 Config *cfg = new Config("wireless"); 47 Config *cfg = new Config("wireless");