summaryrefslogtreecommitdiff
path: root/noncore/settings
authorbenmeyer <benmeyer>2003-04-09 19:35:25 (UTC)
committer benmeyer <benmeyer>2003-04-09 19:35:25 (UTC)
commit76fd85d1d8aaf1140feb59044add12e52f4e76f0 (patch) (side-by-side diff)
treeacf35c4d40aeb6bbd7d01034df8353cda6ade091 /noncore/settings
parent6e2ee769c8e6cba600e235822d5003cfe31e55c5 (diff)
downloadopie-76fd85d1d8aaf1140feb59044add12e52f4e76f0.zip
opie-76fd85d1d8aaf1140feb59044add12e52f4e76f0.tar.gz
opie-76fd85d1d8aaf1140feb59044add12e52f4e76f0.tar.bz2
compile fixes
Diffstat (limited to 'noncore/settings') (more/less context) (ignore 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
@@ -16,13 +16,12 @@
#ifdef QWS
#include <qpe/config.h>
#include <qpe/qlibrary.h>
#include <qpe/resource.h>
#include <qpe/qpeapplication.h>
-// #define QLibrary Library
#else
#include <klibloader.h>
#define QLibrary KLibrary
#include <kconfig.h>
#define Config KConfig
#include <kapplication.h>
@@ -379,13 +378,13 @@ void MainWindowImp::configureClicked(){
if(moduleConfigure != NULL){
moduleConfigure->showMaximized();
return;
}
}
- InterfaceSetupImpDialog *configure = new InterfaceSetupImpDialog(this, "InterfaceSetupImp", i, true, Qt::WType_Modal | Qt::WDestructiveClose | Qt::WStyle_Dialog);
+ InterfaceSetupImpDialog *configure = new InterfaceSetupImpDialog(this, "InterfaceSetupImp", i, true, Qt::WDestructiveClose );
QString currentProfileText = currentProfileLabel->text();
if(currentProfileText.upper() == "ALL");
currentProfileText = "";
configure->setProfile(currentProfileText);
configure->showMaximized();
}
@@ -415,13 +414,13 @@ void MainWindowImp::informationClicked(){
#ifdef DEBUG
qDebug("MainWindowImp::informationClicked:: Module owner has created, we showed.");
#endif
return;
}
}
- InterfaceInformationImp *information = new InterfaceInformationImp(this, "InterfaceSetupImp", i, Qt::WType_Modal | Qt::WDestructiveClose | Qt::WStyle_Dialog);
+ InterfaceInformationImp *information = new InterfaceInformationImp(this, "InterfaceSetupImp", i, Qt::WType_Modal | Qt::WDestructiveClose | Qt::WType_Dialog);
information->showMaximized();
}
/**
* Update this interface. If no QListViewItem exists create one.
* @param Interface* pointer to the interface that needs to be updated.
@@ -583,8 +582,6 @@ void MainWindowImp::changeProfile(){
}
}
}
// TODO change the profile in the modules
}
-// mainwindowimp.cpp
-
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
@@ -60,10 +60,8 @@ private:
QString scheme;
#ifndef QWS
KLibLoader *loader;
#endif
};
-#endif
-
-// mainwindowimp.h
+#endif // MAINWINOWIMP_H