author | mickeyl <mickeyl> | 2004-04-24 15:16:18 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-24 15:16:18 (UTC) |
commit | c9f1383f79380e7f50f257670a11f9b10024e958 (patch) (unidiff) | |
tree | 01715900a7715125b7090a5127189c28b607bb37 /noncore/settings/networksettings/wlan | |
parent | f870c0ba65ce95e1a010de95a4fb961b0c812850 (diff) | |
download | opie-c9f1383f79380e7f50f257670a11f9b10024e958.zip opie-c9f1383f79380e7f50f257670a11f9b10024e958.tar.gz opie-c9f1383f79380e7f50f257670a11f9b10024e958.tar.bz2 |
gcc 3.4 fixlet
Diffstat (limited to 'noncore/settings/networksettings/wlan') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanmodule.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.cpp b/noncore/settings/networksettings/wlan/wlanmodule.cpp index ba89fa4..7953f7c 100644 --- a/noncore/settings/networksettings/wlan/wlanmodule.cpp +++ b/noncore/settings/networksettings/wlan/wlanmodule.cpp | |||
@@ -66,44 +66,44 @@ bool WLANModule::isOwner(Interface *i){ | |||
66 | return false; | 66 | return false; |
67 | 67 | ||
68 | i->setHardwareName("802.11b"); | 68 | i->setHardwareName("802.11b"); |
69 | list.append(i); | 69 | list.append(i); |
70 | return true; | 70 | return true; |
71 | } | 71 | } |
72 | 72 | ||
73 | /** | 73 | /** |
74 | * Create, and return the WLANConfigure Module | 74 | * Create, and return the WLANConfigure Module |
75 | * @return QWidget* pointer to this modules configure. | 75 | * @return QWidget* pointer to this modules configure. |
76 | */ | 76 | */ |
77 | QWidget *WLANModule::configure(Interface *i){ | 77 | QWidget *WLANModule::configure(Interface *i){ |
78 | WLANImp *wlanconfig = new WLANImp(0, "WlanConfig", i, true, Qt::WDestructiveClose); | 78 | WLANImp *wlanconfig = new WLANImp(0, "WlanConfig", i, true, ::Qt::WDestructiveClose); |
79 | wlanconfig->setProfile(profile); | 79 | wlanconfig->setProfile(profile); |
80 | return wlanconfig; | 80 | return wlanconfig; |
81 | } | 81 | } |
82 | 82 | ||
83 | /** | 83 | /** |
84 | * Create, and return the Information Module | 84 | * Create, and return the Information Module |
85 | * @return QWidget* pointer to this modules info. | 85 | * @return QWidget* pointer to this modules info. |
86 | */ | 86 | */ |
87 | QWidget *WLANModule::information(Interface *i){ | 87 | QWidget *WLANModule::information(Interface *i){ |
88 | WExtensions we(i->getInterfaceName()); | 88 | WExtensions we(i->getInterfaceName()); |
89 | if(!we.doesHaveWirelessExtensions()) | 89 | if(!we.doesHaveWirelessExtensions()) |
90 | return NULL; | 90 | return NULL; |
91 | 91 | ||
92 | return getInfo( i ); | 92 | return getInfo( i ); |
93 | } | 93 | } |
94 | 94 | ||
95 | /** | 95 | /** |
96 | * Get all active (up or down) interfaces | 96 | * Get all active (up or down) interfaces |
97 | * @return QList<Interface> A list of interfaces that exsist that havn't | 97 | * @return QList<Interface> A list of interfaces that exist that havn't |
98 | * been called by isOwner() | 98 | * been called by isOwner() |
99 | */ | 99 | */ |
100 | QList<Interface> WLANModule::getInterfaces(){ | 100 | QList<Interface> WLANModule::getInterfaces(){ |
101 | return list; | 101 | return list; |
102 | } | 102 | } |
103 | 103 | ||
104 | /** | 104 | /** |
105 | * Attempt to add a new interface as defined by name | 105 | * Attempt to add a new interface as defined by name |
106 | * @param name the name of the type of interface that should be created given | 106 | * @param name the name of the type of interface that should be created given |
107 | * by possibleNewInterfaces(); | 107 | * by possibleNewInterfaces(); |
108 | * @return Interface* NULL if it was unable to be created. | 108 | * @return Interface* NULL if it was unable to be created. |
109 | */ | 109 | */ |
@@ -234,24 +234,24 @@ void WLANModule::receive(const QCString ¶m, const QByteArray &arg) | |||
234 | odebug << "wlan plugin has no clue" << oendl; | 234 | odebug << "wlan plugin has no clue" << oendl; |
235 | } | 235 | } |
236 | odebug << "next stream" << oendl; | 236 | odebug << "next stream" << oendl; |
237 | }// while stream | 237 | }// while stream |
238 | odebug << "end of stream" << oendl; | 238 | odebug << "end of stream" << oendl; |
239 | if (toShow) toShow->exec(); | 239 | if (toShow) toShow->exec(); |
240 | odebug << "returning" << oendl; | 240 | odebug << "returning" << oendl; |
241 | } | 241 | } |
242 | 242 | ||
243 | QWidget *WLANModule::getInfo( Interface *i) | 243 | QWidget *WLANModule::getInfo( Interface *i) |
244 | { | 244 | { |
245 | odebug << "WLANModule::getInfo start" << oendl; | 245 | odebug << "WLANModule::getInfo start" << oendl; |
246 | WlanInfoImp *info = new WlanInfoImp(0, i->getInterfaceName(), Qt::WDestructiveClose); | 246 | WlanInfoImp *info = new WlanInfoImp(0, i->getInterfaceName(), ::Qt::WDestructiveClose); |
247 | InterfaceInformationImp *information = new InterfaceInformationImp(info->tabWidget, "InterfaceSetupImp", i); | 247 | InterfaceInformationImp *information = new InterfaceInformationImp(info->tabWidget, "InterfaceSetupImp", i); |
248 | info->tabWidget->insertTab(information, "TCP/IP", 0); | 248 | info->tabWidget->insertTab(information, "TCP/IP", 0); |
249 | info->tabWidget->setCurrentPage( 0 ); | 249 | info->tabWidget->setCurrentPage( 0 ); |
250 | info->tabWidget->showPage( information ); | 250 | info->tabWidget->showPage( information ); |
251 | if (info->tabWidget->currentPage() == information ) odebug << "infotab OK" << oendl; | 251 | if (info->tabWidget->currentPage() == information ) odebug << "infotab OK" << oendl; |
252 | else odebug << "infotab NOT OK" << oendl; | 252 | else odebug << "infotab NOT OK" << oendl; |
253 | odebug << "current idx " << info->tabWidget->currentPageIndex() << "" << oendl; | 253 | odebug << "current idx " << info->tabWidget->currentPageIndex() << "" << oendl; |
254 | odebug << "WLANModule::getInfo return" << oendl; | 254 | odebug << "WLANModule::getInfo return" << oendl; |
255 | return info; | 255 | return info; |
256 | } | 256 | } |
257 | 257 | ||