-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.cpp | 7 | ||||
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.h | 4 |
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 | |||
@@ -18,9 +18,8 @@ | |||
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> |
@@ -381,9 +380,9 @@ void MainWindowImp::configureClicked(){ | |||
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); |
@@ -417,9 +416,9 @@ void MainWindowImp::informationClicked(){ | |||
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 | /** |
@@ -585,6 +584,4 @@ void MainWindowImp::changeProfile(){ | |||
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 | |||
@@ -62,8 +62,6 @@ private: | |||
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 | ||