summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/main.cpp
authormickeyl <mickeyl>2002-12-08 18:41:47 (UTC)
committer mickeyl <mickeyl>2002-12-08 18:41:47 (UTC)
commit1a4f97b01412700aaa19fda396844fd237f35c92 (patch) (side-by-side diff)
treee439f505f73a71e179748aca0bcaa93d70b6f594 /noncore/net/wellenreiter/gui/main.cpp
parentff55ff70dc982d070bb085acb96831ae30b30902 (diff)
downloadopie-1a4f97b01412700aaa19fda396844fd237f35c92.zip
opie-1a4f97b01412700aaa19fda396844fd237f35c92.tar.gz
opie-1a4f97b01412700aaa19fda396844fd237f35c92.tar.bz2
- new networks finally show up in the GUI
- using OTabWidget instead of QTabWidget - bugfixes - preparing to fully integrate libwellenreiter and the daemon into our buildsystem
Diffstat (limited to 'noncore/net/wellenreiter/gui/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/main.cpp b/noncore/net/wellenreiter/gui/main.cpp
index f8dc5d7..4b8d489 100644
--- a/noncore/net/wellenreiter/gui/main.cpp
+++ b/noncore/net/wellenreiter/gui/main.cpp
@@ -16,3 +16,8 @@
#include "wellenreiter.h"
+
+#ifdef QWS
#include <qpe/qpeapplication.h>
+#else
+#include <qapplication.h>
+#endif
@@ -20,3 +25,7 @@ int main( int argc, char **argv )
{
+#ifdef QWS
QPEApplication a( argc, argv );
+#else
+ QApplication a( argc, argv );
+#endif
@@ -25,3 +34,7 @@ int main( int argc, char **argv )
e.setCaption( Wellenreiter::tr("Wellenreiter") );
+#ifdef QWS
a.showMainWidget(&e);
+#else
+ a.setMainWidget(&e);
+#endif