summaryrefslogtreecommitdiff
authorchicken <chicken>2004-03-01 16:12:01 (UTC)
committer chicken <chicken>2004-03-01 16:12:01 (UTC)
commit9bc70bb8a0bdd3a7bc0013f2cacce7c039b88b38 (patch) (side-by-side diff)
tree62527c430eb2f6c62ac01c11cdfea06494101a0e
parent931c55406a043195712955c732a875e17899df90 (diff)
downloadopie-9bc70bb8a0bdd3a7bc0013f2cacce7c039b88b38.zip
opie-9bc70bb8a0bdd3a7bc0013f2cacce7c039b88b38.tar.gz
opie-9bc70bb8a0bdd3a7bc0013f2cacce7c039b88b38.tar.bz2
fix includes
Diffstat (more/less context) (show 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
@@ -26,5 +26,4 @@
#include <qpe/config.h>
#include <qpe/power.h>
-#include <qpe/qpeapplication.h>
/* QT */
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
@@ -7,5 +7,4 @@
/* QT */
-#include <qpainter.h>
#include <qpushbutton.h>
#include <qdrawutil.h>
@@ -13,5 +12,4 @@
#include <qlayout.h>
#include <qtextstream.h>
-#include <qapplication.h>
#include <qmessagebox.h>
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
@@ -26,8 +26,6 @@
/* QT */
-#include <qapplication.h>
#include <qcopchannel_qws.h>
#include <qpainter.h>
-#include <qmessagebox.h>
#include <qfile.h>
#include <qtextstream.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
@@ -3,6 +3,4 @@
#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
@@ -15,11 +15,7 @@
**********************************************************************/
-#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>
@@ -27,5 +23,4 @@
#include <qtimer.h>
#include <qtextstream.h>
-#include <qpopupmenu.h>
#include <unistd.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
@@ -3,6 +3,4 @@
#include <qapplication.h>
-#include <qiconset.h>
-#include <qpopupmenu.h>
#include <qmessagebox.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
@@ -17,14 +17,8 @@
/* 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
@@ -51,12 +51,8 @@
#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"
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
@@ -37,18 +37,11 @@
#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>
@@ -59,5 +52,4 @@
#endif
-#include <qwindowsystem_qws.h>
#include <stdlib.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
@@ -24,17 +24,11 @@
#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>
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
@@ -25,5 +25,4 @@
#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
@@ -26,5 +26,4 @@
#include <qtopia/applnk.h>
#include <qtopia/config.h>
-#include <qtopia/global.h>
#include <qtopia/qpeapplication.h>
#include <qtopia/mimetype.h>
@@ -44,5 +43,4 @@
#include <qtabbar.h>
#include <qwidgetstack.h>
-#include <qlayout.h>
#include <qregexp.h>
#include <qmessagebox.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
@@ -4,8 +4,4 @@
* 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
@@ -20,7 +20,4 @@
#include "launchertab.h"
#include <qapplication.h>
-#include <qstyle.h>
-#include <qpainter.h>
-#include <qbitmap.h>
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
@@ -22,27 +22,13 @@
#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
@@ -24,18 +24,13 @@
#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
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
@@ -26,5 +26,4 @@
#endif
-#include <qdatastream.h>
#ifdef Q_WS_QWS
#include <qcopchannel_qws.h>
@@ -32,5 +31,4 @@
#include <qtextstream.h>
-#include <qdir.h>
#include <stdlib.h>
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
@@ -30,14 +30,6 @@
#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
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
@@ -21,17 +21,10 @@
#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"
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
@@ -3,5 +3,4 @@
#include <qpe/config.h>
-#include <qpe/power.h>
#include <qpe/network.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
@@ -21,6 +21,6 @@
#include "server.h"
#include "serverapp.h"
-#include "launcher.h"
#include "startmenu.h"
+#include "launcher.h"
#include "transferserver.h"
#include "qcopbridge.h"
@@ -30,5 +30,4 @@
#include "qrsync.h"
#include "syncdialog.h"
-#include "launcher.h"
#include "shutdownimpl.h"
#include "applauncher.h"
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
@@ -30,5 +30,4 @@
#include <qlabel.h>
#include <qlayout.h>
-#include <qpalette.h>
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
@@ -27,5 +27,4 @@
#include <qfile.h>
-#include <qcstring.h>
#include <sys/stat.h>
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
@@ -30,12 +30,8 @@
#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>
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
@@ -23,5 +23,4 @@
#include <qtopia/resource.h>
-#include <qimage.h>
#include <qpainter.h>
#include <qapplication.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
@@ -25,6 +25,4 @@
#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
@@ -21,5 +21,4 @@
#include <opie2/oglobal.h>
-#include <qtopia/qpeapplication.h>
#ifndef Q_OS_WIN32
@@ -45,18 +44,9 @@
#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
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
@@ -21,12 +21,8 @@
#include "wait.h"
-#include <qtopia/resource.h>
#include <qtopia/config.h>
#include <opie2/owait.h>
-#include <qwidget.h>
-#include <qpixmap.h>
-#include <qpainter.h>