summaryrefslogtreecommitdiff
authorchicken <chicken>2004-03-01 18:52:44 (UTC)
committer chicken <chicken>2004-03-01 18:52:44 (UTC)
commit54a73e15350ea3cc4886a81572cef6e7876be26a (patch) (side-by-side diff)
treec76d739875a0b90d69394f1894e30b8345c7b23c
parent707d84768f4a3b4ada7435ba4c7451feaa11666c (diff)
downloadopie-54a73e15350ea3cc4886a81572cef6e7876be26a.zip
opie-54a73e15350ea3cc4886a81572cef6e7876be26a.tar.gz
opie-54a73e15350ea3cc4886a81572cef6e7876be26a.tar.bz2
fix includes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/autorotateapplet/autorotate.cpp8
-rw-r--r--noncore/applets/memoryapplet/swapfile.cpp4
-rw-r--r--noncore/applets/networkapplet/networkapplet.cpp6
-rw-r--r--noncore/applets/notesapplet/notes.cpp5
-rw-r--r--noncore/applets/wirelessapplet/advancedconfig.cpp1
-rw-r--r--noncore/applets/wirelessapplet/wireless.cpp5
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp10
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp11
-rw-r--r--noncore/apps/checkbook/cfg.cpp3
-rw-r--r--noncore/apps/checkbook/checkbook.cpp1
-rw-r--r--noncore/apps/checkbook/configuration.cpp4
-rw-r--r--noncore/apps/checkbook/mainwindow.cpp4
-rw-r--r--noncore/apps/checkbook/tabledef.cpp2
-rw-r--r--noncore/apps/checkbook/transaction.cpp1
-rw-r--r--noncore/apps/confedit/editwidget.cpp8
-rw-r--r--noncore/apps/confedit/listviewitemconffile.cpp1
-rw-r--r--noncore/apps/confedit/listviewitemconfigentry.cpp1
-rw-r--r--noncore/apps/confedit/mainwindow.cpp9
-rw-r--r--noncore/apps/keyz-cfg/main.cpp2
-rw-r--r--noncore/apps/keyz-cfg/zkb.cpp1
-rw-r--r--noncore/apps/keyz-cfg/zkbnames.cpp1
-rw-r--r--noncore/apps/opie-bartender/bac.cpp3
-rw-r--r--noncore/apps/opie-bartender/bartender.cpp11
-rw-r--r--noncore/apps/opie-bartender/inputDialog.cpp4
-rw-r--r--noncore/apps/opie-bartender/newdrinks.cpp7
-rw-r--r--noncore/apps/opie-bartender/searchresults.cpp9
-rw-r--r--noncore/apps/opie-bartender/showdrinks.cpp9
27 files changed, 1 insertions, 130 deletions
diff --git a/noncore/applets/autorotateapplet/autorotate.cpp b/noncore/applets/autorotateapplet/autorotate.cpp
index e7891c8..5152904 100644
--- a/noncore/applets/autorotateapplet/autorotate.cpp
+++ b/noncore/applets/autorotateapplet/autorotate.cpp
@@ -19,15 +19,7 @@
#include <qpe/resource.h>
/* QT */
-#include <qapplication.h>
-#include <qfile.h>
-#include <qcopchannel_qws.h>
-#include <qmessagebox.h>
#include <qpainter.h>
-#include <qpixmap.h>
-#include <qimage.h>
-#include <qtimer.h>
-#include <qtextstream.h>
using namespace Opie;
diff --git a/noncore/applets/memoryapplet/swapfile.cpp b/noncore/applets/memoryapplet/swapfile.cpp
index 06746a7..7483592 100644
--- a/noncore/applets/memoryapplet/swapfile.cpp
+++ b/noncore/applets/memoryapplet/swapfile.cpp
@@ -22,8 +22,6 @@
#include <qlabel.h>
#include <qtimer.h>
-#include <qfile.h>
-#include <qtextstream.h>
#include <qlayout.h>
#include <qpushbutton.h>
#include <qhbuttongroup.h>
@@ -37,8 +35,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <qfile.h>
-#include <qtextstream.h>
#include <qcopchannel_qws.h>
#include <qpe/resource.h>
diff --git a/noncore/applets/networkapplet/networkapplet.cpp b/noncore/applets/networkapplet/networkapplet.cpp
index 9a08568..955ed2e 100644
--- a/noncore/applets/networkapplet/networkapplet.cpp
+++ b/noncore/applets/networkapplet/networkapplet.cpp
@@ -35,19 +35,13 @@
#include <opie2/onetwork.h>
#include <opie2/otaskbarapplet.h>
#include <qpe/applnk.h>
-#include <qpe/qlibrary.h>
#include <qpe/resource.h>
#include <qpainter.h>
/* QT */
-#include <qhostaddress.h>
-#include <qimage.h>
#include <qlabel.h>
#include <qlayout.h>
-#include <qlineedit.h>
#include <qobjectlist.h>
-#include <qpushbutton.h>
-#include <qtoolbutton.h>
#include <assert.h>
diff --git a/noncore/applets/notesapplet/notes.cpp b/noncore/applets/notesapplet/notes.cpp
index e2b0c2a..7b8bdd9 100644
--- a/noncore/applets/notesapplet/notes.cpp
+++ b/noncore/applets/notesapplet/notes.cpp
@@ -20,14 +20,11 @@
#include <qstringlist.h>
#include <qpe/filemanager.h>
-#include <qpe/resource.h>
#include <qpe/qpeapplication.h>
#include <qpe/timestring.h>
-#include <qpe/resource.h>
-#include <qpe/config.h>
#include <qpe/applnk.h>
-#include <qpe/config.h>
#include <qpe/ir.h>
+#include <qpe/config.h>
// #include <qsocket.h>
// #include <qclipboard.h>
diff --git a/noncore/applets/wirelessapplet/advancedconfig.cpp b/noncore/applets/wirelessapplet/advancedconfig.cpp
index 97b008d..aba0fee 100644
--- a/noncore/applets/wirelessapplet/advancedconfig.cpp
+++ b/noncore/applets/wirelessapplet/advancedconfig.cpp
@@ -16,7 +16,6 @@
#include "advancedconfig.h"
#include <qpe/config.h>
-#include <qwidget.h>
#include <qcheckbox.h>
AdvancedConfig::AdvancedConfig( QWidget* parent, const char* name, bool modal, WFlags fl )
diff --git a/noncore/applets/wirelessapplet/wireless.cpp b/noncore/applets/wirelessapplet/wireless.cpp
index cee789c..9ce6618 100644
--- a/noncore/applets/wirelessapplet/wireless.cpp
+++ b/noncore/applets/wirelessapplet/wireless.cpp
@@ -25,11 +25,9 @@
/* OPIE */
#include <opie2/onetwork.h>
#include <opie2/otaskbarapplet.h>
-#include <qpe/qpeapplication.h>
#include <qpe/config.h>
/* QT */
-#include <qpoint.h>
#include <qradiobutton.h>
#include <qpushbutton.h>
#include <qpainter.h>
@@ -37,9 +35,6 @@
#include <qslider.h>
#include <qbuttongroup.h>
#include <qlayout.h>
-#include <qframe.h>
-#include <qpixmap.h>
-#include <qstring.h>
#include <qfile.h>
#include <qtextstream.h>
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index 5148172..c44d387 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -12,29 +12,19 @@
#define DEVELOPERS_VERSION
#include "advancedfm.h"
-#include <qpe/filemanager.h>
-#include <qpe/qcopenvelope_qws.h>
#include <qpe/qpeapplication.h>
#include <qpe/config.h>
#include <qpe/mimetype.h>
#include <qpe/applnk.h>
-#include <qpe/ir.h>
#include <qpe/resource.h>
#include <qpe/menubutton.h>
-#include <qdatetime.h>
-#include <qfile.h>
#include <qcombobox.h>
#include <qpopupmenu.h>
#include <qlistview.h>
-#include <qlabel.h>
-#include <qwidget.h>
-#include <qlayout.h>
-#include <qimage.h>
#include <qmessagebox.h>
#include <qlineedit.h>
-#include <qpe/qpemessagebox.h>
#include <sys/stat.h>
#include <time.h>
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp
index 18bbd43..9ad1146 100644
--- a/noncore/apps/advancedfm/advancedfmMenu.cpp
+++ b/noncore/apps/advancedfm/advancedfmMenu.cpp
@@ -15,23 +15,12 @@
#include <qpe/lnkproperties.h>
#include <qpe/qpeapplication.h>
-#include <qpe/resource.h>
-#include <qpe/qcopenvelope_qws.h>
#include <qpe/applnk.h>
-#include <qpe/ir.h>
#include <qmessagebox.h>
-#include <qmultilineedit.h>
-#include <qstring.h>
-#include <qlayout.h>
-#include <qpixmap.h>
-#include <qcombobox.h>
#include <qpopupmenu.h>
-#include <qtabwidget.h>
-#include <qtoolbutton.h>
-#include <qlineedit.h>
#include <qlistview.h>
#include <errno.h>
diff --git a/noncore/apps/checkbook/cfg.cpp b/noncore/apps/checkbook/cfg.cpp
index 0d5d9ed..24fa4cb 100644
--- a/noncore/apps/checkbook/cfg.cpp
+++ b/noncore/apps/checkbook/cfg.cpp
@@ -28,10 +28,7 @@
#include <stdio.h>
-#include <qstring.h>
-#include <qstringlist.h>
#include <qwidget.h>
-#include <qpe/resource.h>
#include <qpe/config.h>
#include "cfg.h"
diff --git a/noncore/apps/checkbook/checkbook.cpp b/noncore/apps/checkbook/checkbook.cpp
index 4ca764f..26b2533 100644
--- a/noncore/apps/checkbook/checkbook.cpp
+++ b/noncore/apps/checkbook/checkbook.cpp
@@ -33,7 +33,6 @@
#include "graph.h"
#include "graphinfo.h"
#include "password.h"
-#include "mainwindow.h"
#include "cfg.h"
#include <qpe/qpeapplication.h>
diff --git a/noncore/apps/checkbook/configuration.cpp b/noncore/apps/checkbook/configuration.cpp
index dfae446..872d9b2 100644
--- a/noncore/apps/checkbook/configuration.cpp
+++ b/noncore/apps/checkbook/configuration.cpp
@@ -27,9 +27,7 @@
*/
#include "configuration.h"
-#include "mainwindow.h"
#include "listedit.h"
-#include "tabledef.h"
#include <qcheckbox.h>
#include <qlabel.h>
@@ -37,9 +35,7 @@
#include <qlineedit.h>
#include <qwhatsthis.h>
#include <qlistview.h>
-#include <qpushbutton.h>
#include <qtabwidget.h>
-#include <qpe/resource.h>
Configuration::Configuration( QWidget *parent, Cfg &cfg )
: QDialog( parent, 0, TRUE, WStyle_ContextHelp )
diff --git a/noncore/apps/checkbook/mainwindow.cpp b/noncore/apps/checkbook/mainwindow.cpp
index 60aea42..d0fac3b 100644
--- a/noncore/apps/checkbook/mainwindow.cpp
+++ b/noncore/apps/checkbook/mainwindow.cpp
@@ -31,10 +31,8 @@
#include "configuration.h"
#include "password.h"
#include "checkbook.h"
-#include "listedit.h"
#include <qpe/config.h>
-#include <qpe/global.h>
#include <qpe/qpeapplication.h>
#include <qpe/qpemessagebox.h>
#include <qpe/qpetoolbar.h>
@@ -42,9 +40,7 @@
#include <qmenubar.h>
#include <qaction.h>
-#include <qcheckbox.h>
#include <qdir.h>
-#include <qlineedit.h>
#include <qwhatsthis.h>
diff --git a/noncore/apps/checkbook/tabledef.cpp b/noncore/apps/checkbook/tabledef.cpp
index 13edded..9a42308 100644
--- a/noncore/apps/checkbook/tabledef.cpp
+++ b/noncore/apps/checkbook/tabledef.cpp
@@ -28,8 +28,6 @@
#include "tabledef.h"
-#include <qstring.h>
-#include <qpe/resource.h>
// --- ColumnDef --------------------------------------------------------------
ColumnDef::ColumnDef(const char *sName, ColumnType type, const char *sNewValue)
diff --git a/noncore/apps/checkbook/transaction.cpp b/noncore/apps/checkbook/transaction.cpp
index 9379da0..a72a48b 100644
--- a/noncore/apps/checkbook/transaction.cpp
+++ b/noncore/apps/checkbook/transaction.cpp
@@ -32,7 +32,6 @@
#include "checkbook.h"
#include <qpe/datebookmonth.h>
-#include <qpe/resource.h>
#include <qbuttongroup.h>
#include <qcombobox.h>
diff --git a/noncore/apps/confedit/editwidget.cpp b/noncore/apps/confedit/editwidget.cpp
index f7dc408..21f69c7 100644
--- a/noncore/apps/confedit/editwidget.cpp
+++ b/noncore/apps/confedit/editwidget.cpp
@@ -2,15 +2,7 @@
#include <qlabel.h>
#include <qlineedit.h>
-#include <qpushbutton.h>
#include <qlayout.h>
-#include <qvariant.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-#include <qtimer.h>
-#include <qpopupmenu.h>
-#include <qaction.h>
-#include "listviewitemconfigentry.h"
EditWidget::EditWidget( QWidget* parent, const char* name, WFlags fl )
: QWidget( parent, name, fl )
diff --git a/noncore/apps/confedit/listviewitemconffile.cpp b/noncore/apps/confedit/listviewitemconffile.cpp
index ce6504c..1ff2c44 100644
--- a/noncore/apps/confedit/listviewitemconffile.cpp
+++ b/noncore/apps/confedit/listviewitemconffile.cpp
@@ -11,7 +11,6 @@
#include "listviewitemconffile.h"
#include <qmessagebox.h>
#include <qtextstream.h>
-#include <qstring.h>
#include "listviewitemconfigentry.h"
#define tr QObject::tr
diff --git a/noncore/apps/confedit/listviewitemconfigentry.cpp b/noncore/apps/confedit/listviewitemconfigentry.cpp
index 5ef9f61..0970125 100644
--- a/noncore/apps/confedit/listviewitemconfigentry.cpp
+++ b/noncore/apps/confedit/listviewitemconfigentry.cpp
@@ -9,7 +9,6 @@
// (c) 2002 Patrick S. Vogtp <tille@handhelds.org>
#include "listviewitemconfigentry.h"
-#include "listviewitemconffile.h"
#include <qtextstream.h>
ListViewItemConfigEntry::ListViewItemConfigEntry(ListViewItemConfFile *parent, QString group, QString key)
diff --git a/noncore/apps/confedit/mainwindow.cpp b/noncore/apps/confedit/mainwindow.cpp
index 4fe45ba..5f7ad50 100644
--- a/noncore/apps/confedit/mainwindow.cpp
+++ b/noncore/apps/confedit/mainwindow.cpp
@@ -12,20 +12,11 @@
#include "mainwindow.h"
-#include <qaction.h>
-#include <qmessagebox.h>
-#include <qpopupmenu.h>
-#include <qtoolbutton.h>
-#include <qstring.h>
#include <qlabel.h>
-#include <qfile.h>
-#include <qpushbutton.h>
#include <qlayout.h>
#include <qlineedit.h>
-#include <qcursor.h>
#include "listviewconfdir.h"
-#include "listviewitemconf.h"
#include "listviewitemconfigentry.h"
diff --git a/noncore/apps/keyz-cfg/main.cpp b/noncore/apps/keyz-cfg/main.cpp
index 264db20..55cc23e 100644
--- a/noncore/apps/keyz-cfg/main.cpp
+++ b/noncore/apps/keyz-cfg/main.cpp
@@ -1,9 +1,7 @@
#include <stdio.h>
#include <qpe/qpeapplication.h>
-#include <qpe/qcopenvelope_qws.h>
#include <qmainwindow.h>
-#include "cfgfile.h"
#include "cfgdlg.h"
int main( int argc, char **argv ) {
diff --git a/noncore/apps/keyz-cfg/zkb.cpp b/noncore/apps/keyz-cfg/zkb.cpp
index abe1f5f..f315d4b 100644
--- a/noncore/apps/keyz-cfg/zkb.cpp
+++ b/noncore/apps/keyz-cfg/zkb.cpp
@@ -1,4 +1,3 @@
-#include <qnamespace.h>
#include "zkb.h"
#include <stdio.h>
diff --git a/noncore/apps/keyz-cfg/zkbnames.cpp b/noncore/apps/keyz-cfg/zkbnames.cpp
index c20a114..b2180ba 100644
--- a/noncore/apps/keyz-cfg/zkbnames.cpp
+++ b/noncore/apps/keyz-cfg/zkbnames.cpp
@@ -1,5 +1,4 @@
#include <qmap.h>
-#include <qstring.h>
#include "zkbnames.h"
diff --git a/noncore/apps/opie-bartender/bac.cpp b/noncore/apps/opie-bartender/bac.cpp
index ac8a83e..c97a253 100644
--- a/noncore/apps/opie-bartender/bac.cpp
+++ b/noncore/apps/opie-bartender/bac.cpp
@@ -17,9 +17,6 @@
#include <qpushbutton.h>
#include <qspinbox.h>
#include <qlayout.h>
-#include <qvariant.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
BacDialog::BacDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
: QDialog( parent, name, modal, fl )
{
diff --git a/noncore/apps/opie-bartender/bartender.cpp b/noncore/apps/opie-bartender/bartender.cpp
index 740478f..3c010e9 100644
--- a/noncore/apps/opie-bartender/bartender.cpp
+++ b/noncore/apps/opie-bartender/bartender.cpp
@@ -11,7 +11,6 @@
***************************************************************************/
#include "bartender.h"
-#include "newdrinks.h"
#include "showdrinks.h"
#include "inputDialog.h"
#include "searchresults.h"
@@ -23,27 +22,17 @@
#include <qpe/qpeapplication.h>
#include <qpe/resource.h>
-#include <qcstring.h>
#include <qlineedit.h>
#include <qdir.h>
#include <qpushbutton.h>
#include <qlistbox.h>
-#include <qstringlist.h>
#include <qmultilineedit.h>
#include <qmessagebox.h>
-#include <qfile.h>
#include <qtextstream.h>
-#include <qfile.h>
#include <qaction.h>
#include <qheader.h>
#include <qlistview.h>
-#include <qwidget.h>
#include <qlayout.h>
-#include <qvariant.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-#include <qimage.h>
-#include <qpixmap.h>
#include <fcntl.h>
#include <unistd.h>
diff --git a/noncore/apps/opie-bartender/inputDialog.cpp b/noncore/apps/opie-bartender/inputDialog.cpp
index 4f4cb84..29643ff 100644
--- a/noncore/apps/opie-bartender/inputDialog.cpp
+++ b/noncore/apps/opie-bartender/inputDialog.cpp
@@ -16,10 +16,6 @@
#include "inputDialog.h"
#include <qlineedit.h>
-#include <qlayout.h>
-#include <qvariant.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
diff --git a/noncore/apps/opie-bartender/newdrinks.cpp b/noncore/apps/opie-bartender/newdrinks.cpp
index 86bcc3c..a7ada3a 100644
--- a/noncore/apps/opie-bartender/newdrinks.cpp
+++ b/noncore/apps/opie-bartender/newdrinks.cpp
@@ -10,18 +10,11 @@
***************************************************************************/
#include "newdrinks.h"
-#include <qpe/resource.h>
-#include <qaction.h>
#include <qlabel.h>
#include <qlineedit.h>
#include <qmultilineedit.h>
-#include <qpushbutton.h>
-#include <qwidget.h>
#include <qlayout.h>
-#include <qvariant.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
New_Drink::New_Drink( QWidget* parent, const char* name, bool modal, WFlags fl )
: QDialog( parent, name, modal, fl )
diff --git a/noncore/apps/opie-bartender/searchresults.cpp b/noncore/apps/opie-bartender/searchresults.cpp
index 1a82c6c..4900d1f 100644
--- a/noncore/apps/opie-bartender/searchresults.cpp
+++ b/noncore/apps/opie-bartender/searchresults.cpp
@@ -10,18 +10,9 @@
***************************************************************************/
#include "searchresults.h"
-#include <qpe/resource.h>
-#include <qaction.h>
-#include <qlabel.h>
-#include <qlineedit.h>
#include <qlistbox.h>
-#include <qpushbutton.h>
-#include <qwidget.h>
#include <qlayout.h>
-#include <qvariant.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
Search_Results::Search_Results( QWidget* parent, const char* name, bool modal, WFlags fl )
: QDialog( parent, name, modal, fl ) {
diff --git a/noncore/apps/opie-bartender/showdrinks.cpp b/noncore/apps/opie-bartender/showdrinks.cpp
index 745f7db..dcfce16 100644
--- a/noncore/apps/opie-bartender/showdrinks.cpp
+++ b/noncore/apps/opie-bartender/showdrinks.cpp
@@ -9,20 +9,11 @@
* (at your option) any later version. *
***************************************************************************/
#include "showdrinks.h"
-#include "bartender.h"
-#include <qpe/resource.h>
-#include <qaction.h>
-#include <qlabel.h>
-#include <qlineedit.h>
#include <qmultilineedit.h>
#include <qpushbutton.h>
-#include <qwidget.h>
#include <qlayout.h>
-#include <qvariant.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
//extern Bartender *bart;