-rw-r--r-- | library/alarmserver.cpp | 2 | ||||
-rw-r--r-- | library/applnk.cpp | 4 | ||||
-rw-r--r-- | library/fileselector.cpp | 2 | ||||
-rw-r--r-- | library/fontdatabase.cpp | 2 | ||||
-rw-r--r-- | library/fontmanager.cpp | 2 | ||||
-rw-r--r-- | library/global.cpp | 28 | ||||
-rw-r--r-- | library/ir.cpp | 2 | ||||
-rw-r--r-- | library/lnkproperties.cpp | 2 | ||||
-rw-r--r-- | library/network.cpp | 2 | ||||
-rw-r--r-- | library/networkinterface.cpp | 2 | ||||
-rw-r--r-- | library/password.cpp | 2 | ||||
-rw-r--r-- | library/qpedecoration_qws.cpp | 2 | ||||
-rw-r--r-- | library/tzselect.cpp | 4 |
13 files changed, 11 insertions, 45 deletions
diff --git a/library/alarmserver.cpp b/library/alarmserver.cpp index 177a0cb..02bca3d 100644 --- a/library/alarmserver.cpp +++ b/library/alarmserver.cpp | |||
@@ -30,5 +30,3 @@ | |||
30 | 30 | ||
31 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | ||
32 | #include <qpe/qcopenvelope_qws.h> | 31 | #include <qpe/qcopenvelope_qws.h> |
33 | #endif | ||
34 | #include "alarmserver.h" | 32 | #include "alarmserver.h" |
diff --git a/library/applnk.cpp b/library/applnk.cpp index a56da5d..5763c62 100644 --- a/library/applnk.cpp +++ b/library/applnk.cpp | |||
@@ -29,5 +29,3 @@ | |||
29 | #include <qpe/categoryselect.h> | 29 | #include <qpe/categoryselect.h> |
30 | #ifdef QWS | ||
31 | #include <qpe/qcopenvelope_qws.h> | 30 | #include <qpe/qcopenvelope_qws.h> |
32 | #endif | ||
33 | #include <qpe/global.h> | 31 | #include <qpe/global.h> |
@@ -42,5 +40,3 @@ | |||
42 | 40 | ||
43 | #ifdef Q_WS_QWS | ||
44 | #include <qgfx_qws.h> | 41 | #include <qgfx_qws.h> |
45 | #endif | ||
46 | 42 | ||
diff --git a/library/fileselector.cpp b/library/fileselector.cpp index 052a29e..4039243 100644 --- a/library/fileselector.cpp +++ b/library/fileselector.cpp | |||
@@ -32,5 +32,3 @@ | |||
32 | #include "qpemenubar.h" | 32 | #include "qpemenubar.h" |
33 | #ifdef QWS | ||
34 | #include <qcopchannel_qws.h> | 33 | #include <qcopchannel_qws.h> |
35 | #endif | ||
36 | #include "lnkproperties.h" | 34 | #include "lnkproperties.h" |
diff --git a/library/fontdatabase.cpp b/library/fontdatabase.cpp index 2b5e0d2..147134c 100644 --- a/library/fontdatabase.cpp +++ b/library/fontdatabase.cpp | |||
@@ -26,5 +26,3 @@ | |||
26 | 26 | ||
27 | #ifdef QWS | ||
28 | #include <qfontmanager_qws.h> | 27 | #include <qfontmanager_qws.h> |
29 | #endif | ||
30 | #include <qdir.h> | 28 | #include <qdir.h> |
diff --git a/library/fontmanager.cpp b/library/fontmanager.cpp index 28a5212..c854133 100644 --- a/library/fontmanager.cpp +++ b/library/fontmanager.cpp | |||
@@ -20,3 +20,2 @@ | |||
20 | 20 | ||
21 | #ifdef QWS | ||
22 | #include "fontmanager.h" | 21 | #include "fontmanager.h" |
@@ -102,2 +101 @@ QFont FontManager::unicodeFont( Spacing sp ) | |||
102 | } | } | |
103 | #endif | ||
diff --git a/library/global.cpp b/library/global.cpp index 9b908bf..d02e711 100644 --- a/library/global.cpp +++ b/library/global.cpp | |||
@@ -27,5 +27,3 @@ | |||
27 | #include <qpe/applnk.h> | 27 | #include <qpe/applnk.h> |
28 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 28 | #include <qpe/qcopenvelope_qws.h> |
29 | #include "qpe/qcopenvelope_qws.h" | ||
30 | #endif | ||
31 | 29 | ||
@@ -47,5 +45,3 @@ | |||
47 | 45 | ||
48 | #ifdef QWS | ||
49 | #include <qwindowsystem_qws.h> // for qwsServer | 46 | #include <qwindowsystem_qws.h> // for qwsServer |
50 | #endif | ||
51 | #include <qdatetime.h> | 47 | #include <qdatetime.h> |
@@ -112,3 +108,2 @@ StartingAppList::StartingAppList( QObject *parent, const char* name ) | |||
112 | { | 108 | { |
113 | #ifdef QWS | ||
114 | #if QT_VERSION >= 232 && !defined(QT_NO_COP) | 109 | #if QT_VERSION >= 232 && !defined(QT_NO_COP) |
@@ -118,3 +113,2 @@ StartingAppList::StartingAppList( QObject *parent, const char* name ) | |||
118 | #endif | 113 | #endif |
119 | #endif | ||
120 | } | 114 | } |
@@ -395,3 +389,3 @@ void Global::statusMessage(const QString& message) | |||
395 | { | 389 | { |
396 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 390 | #if!defined(QT_NO_COP) |
397 | QCopEnvelope e( "QPE/TaskBar", "message(QString)" ); | 391 | QCopEnvelope e( "QPE/TaskBar", "message(QString)" ); |
@@ -406,3 +400,3 @@ void Global::applyStyle() | |||
406 | { | 400 | { |
407 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 401 | #if !defined(QT_NO_COP) |
408 | QCopChannel::send( "QPE/System", "applyStyle()" ); | 402 | QCopChannel::send( "QPE/System", "applyStyle()" ); |
@@ -418,3 +412,3 @@ QWidget *Global::shutdown( bool ) | |||
418 | { | 412 | { |
419 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 413 | #if !defined(QT_NO_COP) |
420 | QCopChannel::send( "QPE/System", "shutdown()" ); | 414 | QCopChannel::send( "QPE/System", "shutdown()" ); |
@@ -429,3 +423,3 @@ QWidget *Global::restart( bool ) | |||
429 | { | 423 | { |
430 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 424 | #if !defined(QT_NO_COP) |
431 | QCopChannel::send( "QPE/System", "restart()" ); | 425 | QCopChannel::send( "QPE/System", "restart()" ); |
@@ -447,3 +441,3 @@ void Global::showInputMethod() | |||
447 | { | 441 | { |
448 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 442 | #if !defined(QT_NO_COP) |
449 | QCopChannel::send( "QPE/TaskBar", "showInputMethod()" ); | 443 | QCopChannel::send( "QPE/TaskBar", "showInputMethod()" ); |
@@ -462,3 +456,3 @@ void Global::hideInputMethod() | |||
462 | { | 456 | { |
463 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 457 | #if !defined(QT_NO_COP) |
464 | QCopChannel::send( "QPE/TaskBar", "hideInputMethod()" ); | 458 | QCopChannel::send( "QPE/TaskBar", "hideInputMethod()" ); |
@@ -561,3 +555,3 @@ void Global::invoke(const QString &c) | |||
561 | 555 | ||
562 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 556 | #if !defined(QT_NO_COP) |
563 | QString ap=list[0]; | 557 | QString ap=list[0]; |
@@ -597,3 +591,3 @@ void Global::invoke(const QString &c) | |||
597 | 591 | ||
598 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 592 | #if !defined(QT_NO_COP) |
599 | // an attempt to show a wait... | 593 | // an attempt to show a wait... |
@@ -638,3 +632,3 @@ void Global::execute( const QString &c, const QString& document ) | |||
638 | // ask the server to do the work | 632 | // ask the server to do the work |
639 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 633 | #if !defined(QT_NO_COP) |
640 | if ( document.isNull() ) { | 634 | if ( document.isNull() ) { |
@@ -678,3 +672,3 @@ void Global::execute( const QString &c, const QString& document ) | |||
678 | 672 | ||
679 | #if defined(Q_WS_QWS) && !defined(QT_NO_COP) | 673 | #if !defined(QT_NO_COP) |
680 | QString ap=list[0]; | 674 | QString ap=list[0]; |
diff --git a/library/ir.cpp b/library/ir.cpp index a7cf7b1..b5b726d 100644 --- a/library/ir.cpp +++ b/library/ir.cpp | |||
@@ -23,6 +23,4 @@ | |||
23 | #include <qstring.h> | 23 | #include <qstring.h> |
24 | #ifdef QWS | ||
25 | #include "qcopenvelope_qws.h" | 24 | #include "qcopenvelope_qws.h" |
26 | #include <qcopchannel_qws.h> | 25 | #include <qcopchannel_qws.h> |
27 | #endif | ||
28 | #include "applnk.h" | 26 | #include "applnk.h" |
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp index 0b50bae..50cf5af 100644 --- a/library/lnkproperties.cpp +++ b/library/lnkproperties.cpp | |||
@@ -32,5 +32,3 @@ | |||
32 | #include <qpe/categorywidget.h> | 32 | #include <qpe/categorywidget.h> |
33 | #ifdef QWS | ||
34 | #include <qpe/qcopenvelope_qws.h> | 33 | #include <qpe/qcopenvelope_qws.h> |
35 | #endif | ||
36 | #include <qpe/filemanager.h> | 34 | #include <qpe/filemanager.h> |
diff --git a/library/network.cpp b/library/network.cpp index 185b147..3568809 100644 --- a/library/network.cpp +++ b/library/network.cpp | |||
@@ -27,5 +27,3 @@ | |||
27 | #include "qpe/qpeapplication.h" | 27 | #include "qpe/qpeapplication.h" |
28 | #ifdef QWS | ||
29 | #include <qpe/qcopenvelope_qws.h> | 28 | #include <qpe/qcopenvelope_qws.h> |
30 | #endif | ||
31 | #include <qpe/qlibrary.h> | 29 | #include <qpe/qlibrary.h> |
diff --git a/library/networkinterface.cpp b/library/networkinterface.cpp index 2b5c77e..0ba773a 100644 --- a/library/networkinterface.cpp +++ b/library/networkinterface.cpp | |||
@@ -47,5 +47,3 @@ bool NetworkInterface::isActive( Config& cfg ) const | |||
47 | fclose(f); | 47 | fclose(f); |
48 | #ifdef QWS | ||
49 | Network::writeProxySettings( cfg ); | 48 | Network::writeProxySettings( cfg ); |
50 | #endif | ||
51 | return TRUE; | 49 | return TRUE; |
diff --git a/library/password.cpp b/library/password.cpp index 41b3358..4b22b65 100644 --- a/library/password.cpp +++ b/library/password.cpp | |||
@@ -29,5 +29,3 @@ | |||
29 | #include <qfile.h> | 29 | #include <qfile.h> |
30 | #ifdef QWS | ||
31 | #include <qwindowsystem_qws.h> | 30 | #include <qwindowsystem_qws.h> |
32 | #endif | ||
33 | 31 | ||
diff --git a/library/qpedecoration_qws.cpp b/library/qpedecoration_qws.cpp index 214c721..9cbe92b 100644 --- a/library/qpedecoration_qws.cpp +++ b/library/qpedecoration_qws.cpp | |||
@@ -19,3 +19,2 @@ | |||
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #ifdef QWS | ||
21 | #define QTOPIA_INTERNAL_LANGLIST | 20 | #define QTOPIA_INTERNAL_LANGLIST |
@@ -913,2 +912 @@ QPopupMenu *QPEDecoration::menu(QWSManager*, const QWidget*, const QPoint&) | |||
913 | #endif // QT_NO_QWS_QPE_WM_STYLE | 912 | #endif // QT_NO_QWS_QPE_WM_STYLE |
914 | #endif | ||
diff --git a/library/tzselect.cpp b/library/tzselect.cpp index 9436867..2e5a433 100644 --- a/library/tzselect.cpp +++ b/library/tzselect.cpp | |||
@@ -30,5 +30,3 @@ | |||
30 | 30 | ||
31 | #ifdef Q_WS_QWS | ||
32 | #include <qcopchannel_qws.h> | 31 | #include <qcopchannel_qws.h> |
33 | #endif | ||
34 | 32 | ||
@@ -70,3 +68,2 @@ TZCombo::TZCombo( QWidget *p, const char* n ) | |||
70 | // listen on QPE/System | 68 | // listen on QPE/System |
71 | #if defined(Q_WS_QWS) | ||
72 | #if !defined(QT_NO_COP) | 69 | #if !defined(QT_NO_COP) |
@@ -76,3 +73,2 @@ TZCombo::TZCombo( QWidget *p, const char* n ) | |||
76 | #endif | 73 | #endif |
77 | #endif | ||
78 | 74 | ||