summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/batteryapplet/battery.cpp1
-rw-r--r--core/applets/batteryapplet/batterystatus.cpp2
-rw-r--r--core/applets/cardmon/cardmon.cpp2
-rw-r--r--core/applets/homeapplet/home.cpp2
-rw-r--r--core/applets/irdaapplet/irda.cpp5
-rw-r--r--core/applets/logoutapplet/logout.cpp2
-rw-r--r--core/applets/multikeyapplet/multikey.cpp6
-rw-r--r--core/launcher/applauncher.cpp4
-rw-r--r--core/launcher/firstuse.cpp8
-rw-r--r--core/launcher/inputmethods.cpp6
-rw-r--r--core/launcher/irserver.cpp1
-rw-r--r--core/launcher/launcher.cpp2
-rw-r--r--core/launcher/launcherglobal.cpp4
-rw-r--r--core/launcher/launchertab.cpp3
-rw-r--r--core/launcher/launcherview.cpp14
-rw-r--r--core/launcher/main.cpp5
-rw-r--r--core/launcher/packageslave.cpp2
-rw-r--r--core/launcher/qcopbridge.cpp8
-rw-r--r--core/launcher/runningappbar.cpp7
-rw-r--r--core/launcher/screensaver.cpp1
-rw-r--r--core/launcher/server.cpp3
-rw-r--r--core/launcher/shutdownimpl.cpp1
-rw-r--r--core/launcher/stabmon.cpp1
-rw-r--r--core/launcher/startmenu.cpp4
-rw-r--r--core/launcher/syncdialog.cpp1
-rw-r--r--core/launcher/systray.cpp2
-rw-r--r--core/launcher/transferserver.cpp10
-rw-r--r--core/launcher/wait.cpp4
28 files changed, 1 insertions, 110 deletions
diff --git a/core/applets/batteryapplet/battery.cpp b/core/applets/batteryapplet/battery.cpp
index fed9b34..b2cef55 100644
--- a/core/applets/batteryapplet/battery.cpp
+++ b/core/applets/batteryapplet/battery.cpp
@@ -25,7 +25,6 @@
#include <qpe/applnk.h>
#include <qpe/config.h>
#include <qpe/power.h>
-#include <qpe/qpeapplication.h>
/* QT */
#include <qpainter.h>
diff --git a/core/applets/batteryapplet/batterystatus.cpp b/core/applets/batteryapplet/batterystatus.cpp
index b9ca7b5..ea11495 100644
--- a/core/applets/batteryapplet/batterystatus.cpp
+++ b/core/applets/batteryapplet/batterystatus.cpp
@@ -6,13 +6,11 @@
#include <qpe/power.h>
/* QT */
-#include <qpainter.h>
#include <qpushbutton.h>
#include <qdrawutil.h>
#include <qfile.h>
#include <qlayout.h>
#include <qtextstream.h>
-#include <qapplication.h>
#include <qmessagebox.h>
using namespace Opie;
diff --git a/core/applets/cardmon/cardmon.cpp b/core/applets/cardmon/cardmon.cpp
index 8ffaada..7625545 100644
--- a/core/applets/cardmon/cardmon.cpp
+++ b/core/applets/cardmon/cardmon.cpp
@@ -25,10 +25,8 @@
#include <qpe/resource.h>
/* QT */
-#include <qapplication.h>
#include <qcopchannel_qws.h>
#include <qpainter.h>
-#include <qmessagebox.h>
#include <qfile.h>
#include <qtextstream.h>
#include <qsound.h>
diff --git a/core/applets/homeapplet/home.cpp b/core/applets/homeapplet/home.cpp
index 455575f..8a930be 100644
--- a/core/applets/homeapplet/home.cpp
+++ b/core/applets/homeapplet/home.cpp
@@ -2,8 +2,6 @@
#include <qpe/qcopenvelope_qws.h>
#include <qapplication.h>
-#include <qiconset.h>
-#include <qpopupmenu.h>
#include "home.h"
diff --git a/core/applets/irdaapplet/irda.cpp b/core/applets/irdaapplet/irda.cpp
index f850424..a47f33d 100644
--- a/core/applets/irdaapplet/irda.cpp
+++ b/core/applets/irdaapplet/irda.cpp
@@ -14,19 +14,14 @@
**
**********************************************************************/
-#include <qcopchannel_qws.h>
-#include <qpe/qpeapplication.h>
#include <qpe/resource.h>
-#include <qpe/ir.h>
#include <qpe/qcopenvelope_qws.h>
-#include <qpe/sound.h>
#include <qpainter.h>
#include <qfile.h>
#include <qtimer.h>
#include <qtextstream.h>
-#include <qpopupmenu.h>
#include <unistd.h>
#include <net/if.h>
diff --git a/core/applets/logoutapplet/logout.cpp b/core/applets/logoutapplet/logout.cpp
index 92222c9..0ac0067 100644
--- a/core/applets/logoutapplet/logout.cpp
+++ b/core/applets/logoutapplet/logout.cpp
@@ -2,8 +2,6 @@
#include <qpe/qcopenvelope_qws.h>
#include <qapplication.h>
-#include <qiconset.h>
-#include <qpopupmenu.h>
#include <qmessagebox.h>
#include <unistd.h>
diff --git a/core/applets/multikeyapplet/multikey.cpp b/core/applets/multikeyapplet/multikey.cpp
index b36ee12..b17498d 100644
--- a/core/applets/multikeyapplet/multikey.cpp
+++ b/core/applets/multikeyapplet/multikey.cpp
@@ -16,16 +16,10 @@
/* OPIE */
#include <opie2/otaskbarapplet.h>
-#include <qpe/global.h>
-#include <qpe/config.h>
#include <qpe/qcopenvelope_qws.h>
-#include <qpe/qpeapplication.h>
/* QT */
-#include <qlabel.h>
#include <qdir.h>
-#include <qfileinfo.h>
-#include <qcopchannel_qws.h>
Multikey::Multikey(QWidget *parent) : QLabel(parent), popupMenu(this), current("EN")
{
diff --git a/core/launcher/applauncher.cpp b/core/launcher/applauncher.cpp
index c3584ad..7d3c032 100644
--- a/core/launcher/applauncher.cpp
+++ b/core/launcher/applauncher.cpp
@@ -50,14 +50,10 @@
#include <qtimer.h>
#include <qwindowsystem_qws.h>
#include <qmessagebox.h>
-#include <qfile.h>
#include <qfileinfo.h>
#include <qtopia/qcopenvelope_qws.h>
-#include <qtopia/applnk.h>
#include <qtopia/qpeapplication.h>
-#include <qtopia/config.h>
-#include <qtopia/global.h>
#include "applauncher.h"
#include "documentlist.h"
diff --git a/core/launcher/firstuse.cpp b/core/launcher/firstuse.cpp
index e07920f..50ae6c2 100644
--- a/core/launcher/firstuse.cpp
+++ b/core/launcher/firstuse.cpp
@@ -36,20 +36,13 @@
#include <qtopia/resource.h>
#include <qtopia/qcopenvelope_qws.h>
-#include <qtopia/qpeapplication.h>
#include <qtopia/config.h>
-#include <qtopia/applnk.h>
-#include <qtopia/mimetype.h>
#include <qtopia/fontmanager.h>
-#include <qapplication.h>
#include <qfile.h>
#include <qpainter.h>
-#include <qcstring.h>
#include <qsimplerichtext.h>
-#include <qcolor.h>
#include <qpushbutton.h>
-#include <qhbox.h>
#include <qlabel.h>
#include <qtimer.h>
@@ -58,7 +51,6 @@
#include <qgfx_qws.h>
#endif
-#include <qwindowsystem_qws.h>
#include <stdlib.h>
#include <sys/types.h>
diff --git a/core/launcher/inputmethods.cpp b/core/launcher/inputmethods.cpp
index 5d8faf7..683f1e2 100644
--- a/core/launcher/inputmethods.cpp
+++ b/core/launcher/inputmethods.cpp
@@ -23,19 +23,13 @@
#include <qtopia/config.h>
#include <qtopia/qpeapplication.h>
-#include <qtopia/inputmethodinterface.h>
-#include <qtopia/global.h>
#include <qpopupmenu.h>
-#include <qpushbutton.h>
#include <qtoolbutton.h>
#include <qwidgetstack.h>
-#include <qwidget.h>
#include <qlayout.h>
-#include <qtimer.h>
#include <qdir.h>
#include <stdlib.h>
-#include <qtranslator.h>
#include <qtl.h>
#ifdef Q_WS_QWS
diff --git a/core/launcher/irserver.cpp b/core/launcher/irserver.cpp
index 63f8d05..a0e9c16 100644
--- a/core/launcher/irserver.cpp
+++ b/core/launcher/irserver.cpp
@@ -24,7 +24,6 @@
#include <qtopia/qlibrary.h>
#include <qtopia/qpeapplication.h>
-#include <qtranslator.h>
#include "obexinterface.h"
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index 984a57d..54efb0b 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -25,7 +25,6 @@
#include <qtopia/resource.h>
#include <qtopia/applnk.h>
#include <qtopia/config.h>
-#include <qtopia/global.h>
#include <qtopia/qpeapplication.h>
#include <qtopia/mimetype.h>
#include <qtopia/private/categories.h>
@@ -43,7 +42,6 @@
#include <qpushbutton.h>
#include <qtabbar.h>
#include <qwidgetstack.h>
-#include <qlayout.h>
#include <qregexp.h>
#include <qmessagebox.h>
#include <qframe.h>
diff --git a/core/launcher/launcherglobal.cpp b/core/launcher/launcherglobal.cpp
index 84caa93..9abcae9 100644
--- a/core/launcher/launcherglobal.cpp
+++ b/core/launcher/launcherglobal.cpp
@@ -3,10 +3,6 @@
*
* TT 2002-2002,2003
*/
-#include <qstring.h>
-#include <qcstring.h>
-#include <qwidget.h>
-#include <qguardedptr.h>
#include <qfile.h>
#include <qtextstream.h>
diff --git a/core/launcher/launchertab.cpp b/core/launcher/launchertab.cpp
index 10cfd5f..710f259 100644
--- a/core/launcher/launchertab.cpp
+++ b/core/launcher/launchertab.cpp
@@ -19,9 +19,6 @@
**********************************************************************/
#include "launchertab.h"
#include <qapplication.h>
-#include <qstyle.h>
-#include <qpainter.h>
-#include <qbitmap.h>
LauncherTabBar::LauncherTabBar( QWidget *parent, const char *name )
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp
index 62c678d..513b1bd 100644
--- a/core/launcher/launcherview.cpp
+++ b/core/launcher/launcherview.cpp
@@ -21,29 +21,15 @@
#include "launcherview.h"
#include <qtopia/qpeapplication.h>
-#include <qtopia/applnk.h>
-#include <qtopia/qpedebug.h>
#include <qtopia/private/categories.h>
#include <qtopia/categoryselect.h>
-#include <qtopia/menubutton.h>
#include <qtopia/mimetype.h>
#include <qtopia/resource.h>
-#include <qtopia/qpetoolbar.h>
//#include <qtopia/private/palmtoprecord.h>
#include <qtimer.h>
-#include <qtextstream.h>
-#include <qdict.h>
-#include <qfile.h>
#include <qfileinfo.h>
-#include <qhbox.h>
#include <qiconview.h>
-#include <qwidgetstack.h>
-#include <qpainter.h>
-#include <qregexp.h>
-#include <qtoolbutton.h>
-#include <qimage.h>
-#include <qlabel.h>
#include <qobjectlist.h>
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp
index 9e53bb0..c136bd9 100644
--- a/core/launcher/main.cpp
+++ b/core/launcher/main.cpp
@@ -23,20 +23,15 @@
#endif
#include "server.h"
#include "serverapp.h"
-#include "taskbar.h"
#include "stabmon.h"
-#include "launcher.h"
#include "firstuse.h"
#include <opie2/oglobal.h>
-#include <qtopia/qpeapplication.h>
#include <qtopia/network.h>
-#include <qtopia/config.h>
//#include <qtopia/custom.h>
-#include <qfile.h>
#include <qdir.h>
#ifdef QWS
#include <qwindowsystem_qws.h>
diff --git a/core/launcher/packageslave.cpp b/core/launcher/packageslave.cpp
index bf34368..321b5dd 100644
--- a/core/launcher/packageslave.cpp
+++ b/core/launcher/packageslave.cpp
@@ -25,13 +25,11 @@
#include <qtopia/qcopenvelope_qws.h>
#endif
-#include <qdatastream.h>
#ifdef Q_WS_QWS
#include <qcopchannel_qws.h>
#endif
#include <qtextstream.h>
-#include <qdir.h>
#include <stdlib.h>
#include <sys/stat.h> // mkdir()
diff --git a/core/launcher/qcopbridge.cpp b/core/launcher/qcopbridge.cpp
index 9bca360..24f471d 100644
--- a/core/launcher/qcopbridge.cpp
+++ b/core/launcher/qcopbridge.cpp
@@ -29,16 +29,8 @@
#include <qtopia/qpeapplication.h>
#include <qtopia/version.h>
-#include <qtopia/config.h>
-#include <qdir.h>
-#include <qfile.h>
#include <qtextstream.h>
-#include <qdatastream.h>
-#include <qcstring.h>
-#include <qstringlist.h>
-#include <qfileinfo.h>
-#include <qregexp.h>
#include <qtimer.h>
#ifdef Q_WS_QWS
#include <qcopchannel_qws.h>
diff --git a/core/launcher/runningappbar.cpp b/core/launcher/runningappbar.cpp
index 1fda5a4..11d10dc 100644
--- a/core/launcher/runningappbar.cpp
+++ b/core/launcher/runningappbar.cpp
@@ -20,19 +20,12 @@
#define QTOPIA_INTERNAL_PRELOADACCESS
-#include <qtopia/global.h>
#include <stdlib.h>
-#include <qtimer.h>
-#include <qpopupmenu.h>
#include <qpainter.h>
-#include <qmessagebox.h>
-#include <qtopia/qpeapplication.h>
-#include <qtopia/applnk.h>
#include <qtopia/qcopenvelope_qws.h>
-#include <qtopia/mimetype.h>
#include "runningappbar.h"
#include "serverinterface.h"
diff --git a/core/launcher/screensaver.cpp b/core/launcher/screensaver.cpp
index 1146dcd..e544c61 100644
--- a/core/launcher/screensaver.cpp
+++ b/core/launcher/screensaver.cpp
@@ -2,7 +2,6 @@
#include "screensaver.h"
#include <qpe/config.h>
-#include <qpe/power.h>
#include <qpe/network.h>
#include <opie2/odevice.h>
diff --git a/core/launcher/server.cpp b/core/launcher/server.cpp
index 32fcdd0..068d716 100644
--- a/core/launcher/server.cpp
+++ b/core/launcher/server.cpp
@@ -20,8 +20,8 @@
#include "server.h"
#include "serverapp.h"
-#include "launcher.h"
#include "startmenu.h"
+#include "launcher.h"
#include "transferserver.h"
#include "qcopbridge.h"
#include "irserver.h"
@@ -29,7 +29,6 @@
#include "calibrate.h"
#include "qrsync.h"
#include "syncdialog.h"
-#include "launcher.h"
#include "shutdownimpl.h"
#include "applauncher.h"
#if 0
diff --git a/core/launcher/shutdownimpl.cpp b/core/launcher/shutdownimpl.cpp
index 899d9ac..f43a2a3 100644
--- a/core/launcher/shutdownimpl.cpp
+++ b/core/launcher/shutdownimpl.cpp
@@ -29,7 +29,6 @@
#include <qbuttongroup.h>
#include <qlabel.h>
#include <qlayout.h>
-#include <qpalette.h>
static void changeButtonColor ( QPushButton *btn, const QColor &col )
diff --git a/core/launcher/stabmon.cpp b/core/launcher/stabmon.cpp
index 4e5f290..f2d694b 100644
--- a/core/launcher/stabmon.cpp
+++ b/core/launcher/stabmon.cpp
@@ -26,7 +26,6 @@
#endif
#include <qfile.h>
-#include <qcstring.h>
#include <sys/stat.h>
#if defined(Q_OS_LINUX) || defined(_OS_LINUX_)
diff --git a/core/launcher/startmenu.cpp b/core/launcher/startmenu.cpp
index c199063..f3a7651 100644
--- a/core/launcher/startmenu.cpp
+++ b/core/launcher/startmenu.cpp
@@ -29,14 +29,10 @@
#include <qtopia/qpeapplication.h>
#include <qtopia/config.h>
-#include <qtopia/applnk.h>
-#include <qtopia/global.h>
#include <qtopia/resource.h>
#include <qtopia/mimetype.h>
#include <qtopia/qlibrary.h>
-#include <qdict.h>
-#include <qdir.h>
//#include <qpainter.h>
//#include <stdlib.h>
diff --git a/core/launcher/syncdialog.cpp b/core/launcher/syncdialog.cpp
index 6f6c781..4a2b8ff 100644
--- a/core/launcher/syncdialog.cpp
+++ b/core/launcher/syncdialog.cpp
@@ -22,7 +22,6 @@
#include <qtopia/resource.h>
-#include <qimage.h>
#include <qpainter.h>
#include <qapplication.h>
#include <qpushbutton.h>
diff --git a/core/launcher/systray.cpp b/core/launcher/systray.cpp
index 691f6b8..6cc1446 100644
--- a/core/launcher/systray.cpp
+++ b/core/launcher/systray.cpp
@@ -24,8 +24,6 @@
#include <qlayout.h>
#include <qdir.h>
-#include <qmessagebox.h>
-#include <qtranslator.h>
#include "systray.h"
diff --git a/core/launcher/transferserver.cpp b/core/launcher/transferserver.cpp
index 8367a62..b998e95 100644
--- a/core/launcher/transferserver.cpp
+++ b/core/launcher/transferserver.cpp
@@ -20,7 +20,6 @@
//#define _XOPEN_SOURCE
#include <opie2/oglobal.h>
-#include <qtopia/qpeapplication.h>
#ifndef Q_OS_WIN32
#include <pwd.h>
@@ -44,20 +43,11 @@
#include <shadow.h>
#endif
-#include <qdir.h>
-#include <qfile.h>
#include <qtextstream.h>
-#include <qdatastream.h>
#include <qmessagebox.h>
-#include <qstringlist.h>
-#include <qfileinfo.h>
-#include <qregexp.h>
//#include <qtopia/qcopchannel_qws.h>
#include <qtopia/process.h>
-#include <qtopia/global.h>
-#include <qtopia/config.h>
#include <qtopia/private/contact.h>
-#include <qtopia/quuid.h>
#include <qtopia/version.h>
#ifdef Q_WS_QWS
#include <qtopia/qcopenvelope_qws.h>
diff --git a/core/launcher/wait.cpp b/core/launcher/wait.cpp
index 34ffd1a..4148e57 100644
--- a/core/launcher/wait.cpp
+++ b/core/launcher/wait.cpp
@@ -20,14 +20,10 @@
#include "wait.h"
-#include <qtopia/resource.h>
#include <qtopia/config.h>
#include <opie2/owait.h>
-#include <qwidget.h>
-#include <qpixmap.h>
-#include <qpainter.h>
Wait *lastWaitObject = NULL;