summaryrefslogtreecommitdiff
path: root/noncore/net/networksetup/wlan
authorbenmeyer <benmeyer>2002-10-30 15:36:45 (UTC)
committer benmeyer <benmeyer>2002-10-30 15:36:45 (UTC)
commita22f8dd98789f4638ab241d281d4319e0ed911ba (patch) (side-by-side diff)
tree93131daa22042c2c3fbd52f52a90edb1e8fae92c /noncore/net/networksetup/wlan
parentbc95eea1eda31b458e5342695b3ffe246d5ab006 (diff)
downloadopie-a22f8dd98789f4638ab241d281d4319e0ed911ba.zip
opie-a22f8dd98789f4638ab241d281d4319e0ed911ba.tar.gz
opie-a22f8dd98789f4638ab241d281d4319e0ed911ba.tar.bz2
Re-added profile information which makes interfaces work again
Diffstat (limited to 'noncore/net/networksetup/wlan') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/wlan/wlanimp.cpp4
-rw-r--r--noncore/net/networksetup/wlan/wlanimp.h1
-rw-r--r--noncore/net/networksetup/wlan/wlanmodule.cpp1
3 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/networksetup/wlan/wlanimp.cpp b/noncore/net/networksetup/wlan/wlanimp.cpp
index a466020..74bf390 100644
--- a/noncore/net/networksetup/wlan/wlanimp.cpp
+++ b/noncore/net/networksetup/wlan/wlanimp.cpp
@@ -33,6 +33,10 @@ WLANImp::~WLANImp( ){
delete config;
}
+void WLANImp::setProfile(QString &profile){
+ interfaceSetup->setProfile(profile);
+}
+
void WLANImp::readConfig()
{
qWarning( "WLANImp::readConfig() called." );
diff --git a/noncore/net/networksetup/wlan/wlanimp.h b/noncore/net/networksetup/wlan/wlanimp.h
index 608d681..faa1674 100644
--- a/noncore/net/networksetup/wlan/wlanimp.h
+++ b/noncore/net/networksetup/wlan/wlanimp.h
@@ -13,6 +13,7 @@ class WLANImp : public WLAN {
public:
WLANImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = FALSE, WFlags fl = 0 );
~WLANImp( );
+ void setProfile(QString &profile);
protected:
void accept();
diff --git a/noncore/net/networksetup/wlan/wlanmodule.cpp b/noncore/net/networksetup/wlan/wlanmodule.cpp
index c8becb0..b14fc0a 100644
--- a/noncore/net/networksetup/wlan/wlanmodule.cpp
+++ b/noncore/net/networksetup/wlan/wlanmodule.cpp
@@ -60,6 +60,7 @@ bool WLANModule::isOwner(Interface *i){
*/
QWidget *WLANModule::configure(Interface *i){
WLANImp *wlanconfig = new WLANImp(0, "WlanConfig", i, false, Qt::WDestructiveClose);
+ wlanconfig->setProfile(profile);
return wlanconfig;
}