author | benmeyer <benmeyer> | 2002-10-02 17:22:50 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-10-02 17:22:50 (UTC) |
commit | 527e77d8244fb25d0bab39857eebbdfbcbfb807a (patch) (unidiff) | |
tree | f3ec7cee3573ef83d8d86f859c7c3de3a8b06b9f /noncore/net/networksetup/wlan | |
parent | 6e50141595ec2159d384c2cb9aaee4758eb720ea (diff) | |
download | opie-527e77d8244fb25d0bab39857eebbdfbcbfb807a.zip opie-527e77d8244fb25d0bab39857eebbdfbcbfb807a.tar.gz opie-527e77d8244fb25d0bab39857eebbdfbcbfb807a.tar.bz2 |
Add Connection function more filled in
Diffstat (limited to 'noncore/net/networksetup/wlan') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/wlan/wlan.ui | 4 | ||||
-rw-r--r-- | noncore/net/networksetup/wlan/wlanmodule.cpp | 23 | ||||
-rw-r--r-- | noncore/net/networksetup/wlan/wlanmodule.h | 2 |
3 files changed, 14 insertions, 15 deletions
diff --git a/noncore/net/networksetup/wlan/wlan.ui b/noncore/net/networksetup/wlan/wlan.ui index dcacbe8..9f33559 100644 --- a/noncore/net/networksetup/wlan/wlan.ui +++ b/noncore/net/networksetup/wlan/wlan.ui | |||
@@ -13,3 +13,3 @@ | |||
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>254</width> | 14 | <width>250</width> |
15 | <height>286</height> | 15 | <height>286</height> |
@@ -55,3 +55,3 @@ | |||
55 | <name>title</name> | 55 | <name>title</name> |
56 | <string>Config</string> | 56 | <string>WLAN General</string> |
57 | </attribute> | 57 | </attribute> |
diff --git a/noncore/net/networksetup/wlan/wlanmodule.cpp b/noncore/net/networksetup/wlan/wlanmodule.cpp index 632f7e4..70b1f7a 100644 --- a/noncore/net/networksetup/wlan/wlanmodule.cpp +++ b/noncore/net/networksetup/wlan/wlanmodule.cpp | |||
@@ -22,2 +22,3 @@ QString WLANModule::getPixmapName(Interface* ){ | |||
22 | * Check to see if the interface i is owned by this module. | 22 | * Check to see if the interface i is owned by this module. |
23 | * @param Interface* interface to check against | ||
23 | * @return bool true if i is owned by this module, false otherwise. | 24 | * @return bool true if i is owned by this module, false otherwise. |
@@ -52,13 +53,8 @@ QWidget *WLANModule::information(QTabWidget **tabWidget){ | |||
52 | /** | 53 | /** |
53 | * | 54 | * Get all active (up or down) interfaces |
54 | */ | 55 | * @return QList<Interface> A list of interfaces that exsist that havn't |
56 | * been called by isOwner() | ||
57 | */ | ||
55 | QList<Interface> WLANModule::getInterfaces(){ | 58 | QList<Interface> WLANModule::getInterfaces(){ |
56 | return list | 59 | return list; |
57 | } | ||
58 | |||
59 | /** | ||
60 | * Return a list of possible new interfaces | ||
61 | */ | ||
62 | QMap<QString, QString> WLANModule::possibleNewInterfaces(){ | ||
63 | //return list; | ||
64 | } | 60 | } |
@@ -71,3 +67,5 @@ QMap<QString, QString> WLANModule::possibleNewInterfaces(){ | |||
71 | */ | 67 | */ |
72 | Interface *WLANModule::addNewInterface(QString name){ | 68 | Interface *WLANModule::addNewInterface(QString ){ |
69 | // We can't add a 802.11 interface, either the hardware will be there | ||
70 | // or it wont. | ||
73 | return NULL; | 71 | return NULL; |
@@ -79,3 +77,4 @@ Interface *WLANModule::addNewInterface(QString name){ | |||
79 | */ | 77 | */ |
80 | bool WLANModule::remove(Interface* i){ | 78 | bool WLANModule::remove(Interface*){ |
79 | // Can't remove a hardware device, you can stop it though. | ||
81 | return false; | 80 | return false; |
diff --git a/noncore/net/networksetup/wlan/wlanmodule.h b/noncore/net/networksetup/wlan/wlanmodule.h index 1fbf6a9..7ebe129 100644 --- a/noncore/net/networksetup/wlan/wlanmodule.h +++ b/noncore/net/networksetup/wlan/wlanmodule.h | |||
@@ -17,3 +17,3 @@ public: | |||
17 | virtual QList<Interface> getInterfaces(); | 17 | virtual QList<Interface> getInterfaces(); |
18 | virtual QMap<QString, QString> possibleNewInterfaces(); | 18 | virtual void possibleNewInterfaces(QMap<QString, QString> &list){}; |
19 | virtual Interface *addNewInterface(QString name); | 19 | virtual Interface *addNewInterface(QString name); |