summaryrefslogtreecommitdiff
authorbenmeyer <benmeyer>2003-04-09 19:35:25 (UTC)
committer benmeyer <benmeyer>2003-04-09 19:35:25 (UTC)
commit76fd85d1d8aaf1140feb59044add12e52f4e76f0 (patch) (unidiff)
treeacf35c4d40aeb6bbd7d01034df8353cda6ade091
parent6e2ee769c8e6cba600e235822d5003cfe31e55c5 (diff)
downloadopie-76fd85d1d8aaf1140feb59044add12e52f4e76f0.zip
opie-76fd85d1d8aaf1140feb59044add12e52f4e76f0.tar.gz
opie-76fd85d1d8aaf1140feb59044add12e52f4e76f0.tar.bz2
compile fixes
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/mainwindowimp.cpp7
-rw-r--r--noncore/settings/networksettings/mainwindowimp.h4
2 files changed, 3 insertions, 8 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp
index 581b7e3..da21c05 100644
--- a/noncore/settings/networksettings/mainwindowimp.cpp
+++ b/noncore/settings/networksettings/mainwindowimp.cpp
@@ -14,17 +14,16 @@
14 14
15#include <qmessagebox.h> 15#include <qmessagebox.h>
16 16
17#ifdef QWS 17#ifdef QWS
18 #include <qpe/config.h> 18 #include <qpe/config.h>
19 #include <qpe/qlibrary.h> 19 #include <qpe/qlibrary.h>
20 #include <qpe/resource.h> 20 #include <qpe/resource.h>
21 #include <qpe/qpeapplication.h> 21 #include <qpe/qpeapplication.h>
22// #define QLibrary Library
23#else 22#else
24 #include <klibloader.h> 23 #include <klibloader.h>
25 #define QLibrary KLibrary 24 #define QLibrary KLibrary
26 #include <kconfig.h> 25 #include <kconfig.h>
27 #define Config KConfig 26 #define Config KConfig
28 #include <kapplication.h> 27 #include <kapplication.h>
29 #include <kstandarddirs.h> 28 #include <kstandarddirs.h>
30 #include <kiconloader.h> 29 #include <kiconloader.h>
@@ -377,17 +376,17 @@ void MainWindowImp::configureClicked(){
377 if(i->getModuleOwner()){ 376 if(i->getModuleOwner()){
378 QWidget *moduleConfigure = i->getModuleOwner()->configure(i); 377 QWidget *moduleConfigure = i->getModuleOwner()->configure(i);
379 if(moduleConfigure != NULL){ 378 if(moduleConfigure != NULL){
380 moduleConfigure->showMaximized(); 379 moduleConfigure->showMaximized();
381 return; 380 return;
382 } 381 }
383 } 382 }
384 383
385 InterfaceSetupImpDialog *configure = new InterfaceSetupImpDialog(this, "InterfaceSetupImp", i, true, Qt::WType_Modal | Qt::WDestructiveClose | Qt::WStyle_Dialog); 384 InterfaceSetupImpDialog *configure = new InterfaceSetupImpDialog(this, "InterfaceSetupImp", i, true, Qt::WDestructiveClose );
386 QString currentProfileText = currentProfileLabel->text(); 385 QString currentProfileText = currentProfileLabel->text();
387 if(currentProfileText.upper() == "ALL"); 386 if(currentProfileText.upper() == "ALL");
388 currentProfileText = ""; 387 currentProfileText = "";
389 configure->setProfile(currentProfileText); 388 configure->setProfile(currentProfileText);
390 configure->showMaximized(); 389 configure->showMaximized();
391} 390}
392 391
393/** 392/**
@@ -413,17 +412,17 @@ void MainWindowImp::informationClicked(){
413 if(moduleInformation != NULL){ 412 if(moduleInformation != NULL){
414 moduleInformation->showMaximized(); 413 moduleInformation->showMaximized();
415#ifdef DEBUG 414#ifdef DEBUG
416 qDebug("MainWindowImp::informationClicked:: Module owner has created, we showed."); 415 qDebug("MainWindowImp::informationClicked:: Module owner has created, we showed.");
417#endif 416#endif
418 return; 417 return;
419 } 418 }
420 } 419 }
421 InterfaceInformationImp *information = new InterfaceInformationImp(this, "InterfaceSetupImp", i, Qt::WType_Modal | Qt::WDestructiveClose | Qt::WStyle_Dialog); 420 InterfaceInformationImp *information = new InterfaceInformationImp(this, "InterfaceSetupImp", i, Qt::WType_Modal | Qt::WDestructiveClose | Qt::WType_Dialog);
422 information->showMaximized(); 421 information->showMaximized();
423} 422}
424 423
425/** 424/**
426 * Update this interface. If no QListViewItem exists create one. 425 * Update this interface. If no QListViewItem exists create one.
427 * @param Interface* pointer to the interface that needs to be updated. 426 * @param Interface* pointer to the interface that needs to be updated.
428 */ 427 */
429void MainWindowImp::updateInterface(Interface *i){ 428void MainWindowImp::updateInterface(Interface *i){
@@ -581,10 +580,8 @@ void MainWindowImp::changeProfile(){
581 if(it.key()->getStatus() == true) 580 if(it.key()->getStatus() == true)
582 it.key()->restart(); 581 it.key()->restart();
583 } 582 }
584 } 583 }
585 } 584 }
586 // TODO change the profile in the modules 585 // TODO change the profile in the modules
587} 586}
588 587
589// mainwindowimp.cpp
590
diff --git a/noncore/settings/networksettings/mainwindowimp.h b/noncore/settings/networksettings/mainwindowimp.h
index 49f3eea..c045fe6 100644
--- a/noncore/settings/networksettings/mainwindowimp.h
+++ b/noncore/settings/networksettings/mainwindowimp.h
@@ -58,12 +58,10 @@ private:
58 58
59 bool advancedUserMode; 59 bool advancedUserMode;
60 QString scheme; 60 QString scheme;
61#ifndef QWS 61#ifndef QWS
62 KLibLoader *loader; 62 KLibLoader *loader;
63#endif 63#endif
64}; 64};
65 65
66#endif 66#endif // MAINWINOWIMP_H
67
68// mainwindowimp.h
69 67