Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanmodule.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanmodule.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp index f0394b4..9d34d75 100644 --- a/noncore/settings/networksettings/wlan/wlanmodule.cpp +++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp | |||
@@ -1,24 +1,31 @@ | |||
1 | #include "wlanmodule.h" | 1 | #include "wlanmodule.h" |
2 | #include <qpe/config.h> | 2 | #include <qpe/config.h> |
3 | #include "wlanimp.h" | 3 | #include "wlanimp.h" |
4 | 4 | ||
5 | /** | 5 | /** |
6 | * Constructor, find all of the possible interfaces | 6 | * Constructor, find all of the possible interfaces |
7 | */ | 7 | */ |
8 | WLANModule::WLANModule() : Module() { | 8 | WLANModule::WLANModule() : Module() { |
9 | // get output from iwconfig | 9 | // get output from iwconfig |
10 | } | 10 | } |
11 | 11 | ||
12 | /** | 12 | /** |
13 | * Change the current profile | ||
14 | */ | ||
15 | void WLANModule::setProfile(QString newProfile){ | ||
16 | profile = newProfile; | ||
17 | } | ||
18 | |||
19 | /** | ||
13 | * get the icon name for this device. | 20 | * get the icon name for this device. |
14 | * @param Interface* can be used in determining the icon. | 21 | * @param Interface* can be used in determining the icon. |
15 | * @return QString the icon name (minus .png, .gif etc) | 22 | * @return QString the icon name (minus .png, .gif etc) |
16 | */ | 23 | */ |
17 | QString WLANModule::getPixmapName(Interface* ){ | 24 | QString WLANModule::getPixmapName(Interface* ){ |
18 | return "wlan"; | 25 | return "wlan"; |
19 | } | 26 | } |
20 | 27 | ||
21 | /** | 28 | /** |
22 | * 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. |
23 | * @param Interface* interface to check against | 30 | * @param Interface* interface to check against |
24 | * @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. |