author | chicken <chicken> | 2004-03-01 18:10:37 (UTC) |
---|---|---|
committer | chicken <chicken> | 2004-03-01 18:10:37 (UTC) |
commit | 7fd20d139e2d9bc37ce22bbdb07f4ebc54903f91 (patch) (side-by-side diff) | |
tree | 15ef5e3d00c5476ea98ca36ba6c8392eb02e53c8 | |
parent | 5b4e342004537f84fa53911a46cd00d810378da7 (diff) | |
download | opie-7fd20d139e2d9bc37ce22bbdb07f4ebc54903f91.zip opie-7fd20d139e2d9bc37ce22bbdb07f4ebc54903f91.tar.gz opie-7fd20d139e2d9bc37ce22bbdb07f4ebc54903f91.tar.bz2 |
fix includes
-rw-r--r-- | library/alarmserver.cpp | 5 | ||||
-rw-r--r-- | library/applnk.cpp | 4 | ||||
-rw-r--r-- | library/categoryedit_p.cpp | 3 | ||||
-rw-r--r-- | library/categorymenu.cpp | 2 | ||||
-rw-r--r-- | library/config.cpp | 2 | ||||
-rw-r--r-- | library/datebookdb.cpp | 5 | ||||
-rw-r--r-- | library/datebookmonth.cpp | 5 | ||||
-rw-r--r-- | library/filemanager.cpp | 3 | ||||
-rw-r--r-- | library/fileselector.cpp | 2 | ||||
-rw-r--r-- | library/finddialog.cpp | 1 | ||||
-rw-r--r-- | library/findwidget_p.cpp | 6 | ||||
-rw-r--r-- | library/fontdatabase.cpp | 2 | ||||
-rw-r--r-- | library/global.cpp | 2 | ||||
-rw-r--r-- | library/imageedit.cpp | 1 | ||||
-rw-r--r-- | library/ir.cpp | 2 | ||||
-rw-r--r-- | library/lnkproperties.cpp | 3 | ||||
-rw-r--r-- | library/mimetype.cpp | 4 | ||||
-rw-r--r-- | library/qcopenvelope_qws.cpp | 2 | ||||
-rw-r--r-- | library/qdawg.cpp | 2 | ||||
-rw-r--r-- | library/qpeapplication.cpp | 1 | ||||
-rw-r--r-- | library/qpemenubar.cpp | 1 | ||||
-rw-r--r-- | library/qpestyle.cpp | 3 | ||||
-rw-r--r-- | library/qpetoolbar.cpp | 2 | ||||
-rw-r--r-- | library/qt_override.cpp | 2 | ||||
-rw-r--r-- | library/resource.cpp | 3 | ||||
-rw-r--r-- | library/sound.cpp | 2 | ||||
-rw-r--r-- | library/storage.cpp | 4 | ||||
-rw-r--r-- | library/tzselect.cpp | 1 |
28 files changed, 1 insertions, 74 deletions
diff --git a/library/alarmserver.cpp b/library/alarmserver.cpp index 6f6f32d..48ab9c1 100644 --- a/library/alarmserver.cpp +++ b/library/alarmserver.cpp @@ -16,20 +16,15 @@ ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include <qdir.h> -#include <qfile.h> -#include <qmessagebox.h> -#include <qtextstream.h> #include <qpe/qpeapplication.h> -#include "global.h" -#include "resource.h" #include <qpe/qcopenvelope_qws.h> #include "alarmserver.h" #include <qpe/timeconversion.h> #include <sys/types.h> diff --git a/library/applnk.cpp b/library/applnk.cpp index 8763eb2..9c60f1a 100644 --- a/library/applnk.cpp +++ b/library/applnk.cpp @@ -25,23 +25,19 @@ #include "applnk.h" #include <qpe/qpeapplication.h> #include <qpe/categories.h> #include <qpe/categoryselect.h> #include <qpe/qcopenvelope_qws.h> -#include <qpe/global.h> #include <qpe/mimetype.h> #include <qpe/config.h> #include <qpe/storage.h> #include <qpe/resource.h> -#include <qdict.h> #include <qdir.h> -#include <qregexp.h> -#include <qgfx_qws.h> #include <stdlib.h> int AppLnk::lastId = 5000; static int smallSize = 14; diff --git a/library/categoryedit_p.cpp b/library/categoryedit_p.cpp index 9321259..14ac2e1 100644 --- a/library/categoryedit_p.cpp +++ b/library/categoryedit_p.cpp @@ -22,15 +22,12 @@ #include <qpe/categories.h> #include <qdir.h> #include <qcheckbox.h> #include <qlineedit.h> -#include <qlistview.h> -#include <qstringlist.h> -#include <qtoolbutton.h> #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> diff --git a/library/categorymenu.cpp b/library/categorymenu.cpp index 5d7adf7..9bbb448 100644 --- a/library/categorymenu.cpp +++ b/library/categorymenu.cpp @@ -18,14 +18,12 @@ ** **********************************************************************/ #include "categorymenu.h" #include "backend/categories.h" #include "categoryselect.h" -#include <qstring.h> -#include <qmap.h> /*! \class CategoryMenu \brief The CategoryMenu widget aids in filtering records or files by Category. The CategoryMenu widget provides a popup menu that will make filtering records diff --git a/library/config.cpp b/library/config.cpp index b28c771..8b60f60 100644 --- a/library/config.cpp +++ b/library/config.cpp @@ -16,14 +16,12 @@ ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include <qdir.h> -#include <qfile.h> -#include <qfileinfo.h> #include <qmessagebox.h> #if QT_VERSION <= 230 && defined(QT_NO_CODECS) #include <qtextcodec.h> #endif #include <qtextstream.h> diff --git a/library/datebookdb.cpp b/library/datebookdb.cpp index 188d8e1..e4ec2bf 100644 --- a/library/datebookdb.cpp +++ b/library/datebookdb.cpp @@ -16,24 +16,19 @@ ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include <qasciidict.h> -#include <qfile.h> #include <qmessagebox.h> -#include <qstring.h> -#include <qtextcodec.h> -#include <qtextstream.h> #include <qtl.h> #include <qpe/alarmserver.h> #include <qpe/global.h> #include "datebookdb.h" #include <qpe/stringutil.h> -#include <qpe/timeconversion.h> #include <errno.h> #include <stdlib.h> class DateBookDBPrivate diff --git a/library/datebookmonth.cpp b/library/datebookmonth.cpp index 728045f..76e022f 100644 --- a/library/datebookmonth.cpp +++ b/library/datebookmonth.cpp @@ -17,23 +17,18 @@ ** not clear to you. ** **********************************************************************/ #include "config.h" #include "datebookmonth.h" #include "datebookdb.h" -#include <qtopia/private/event.h> #include "resource.h" #include <qpe/qpeapplication.h> -#include "timestring.h" #include <qtoolbutton.h> #include <qspinbox.h> #include <qcombobox.h> -#include <qdatetime.h> -#include <qpainter.h> -#include <qpopupmenu.h> #include <qvaluestack.h> #include <qwhatsthis.h> DateBookMonthHeader::DateBookMonthHeader( QWidget *parent, const char *name ) : QHBox( parent, name ) diff --git a/library/filemanager.cpp b/library/filemanager.cpp index 408be20..1e7384e 100644 --- a/library/filemanager.cpp +++ b/library/filemanager.cpp @@ -17,17 +17,14 @@ ** not clear to you. ** **********************************************************************/ #include "filemanager.h" #include "applnk.h" -#include <qdir.h> -#include <qfile.h> #include <qfileinfo.h> #include <qtextstream.h> -#include <qtextcodec.h> #include <errno.h> #include <stdlib.h> #include <unistd.h> #include <sys/stat.h> #include <dirent.h> diff --git a/library/fileselector.cpp b/library/fileselector.cpp index 4039243..7c29aba 100644 --- a/library/fileselector.cpp +++ b/library/fileselector.cpp @@ -24,18 +24,16 @@ #include "fileselector.h" #include "fileselector_p.h" #include "global.h" #include "resource.h" #include "config.h" -#include "applnk.h" #include "storage.h" #include "qpemenubar.h" #include <qcopchannel_qws.h> #include "lnkproperties.h" -#include "applnk.h" #include <qpe/qpeapplication.h> #include "categorymenu.h" #include "categoryselect.h" #include "mimetype.h" #include <qpe/categories.h> diff --git a/library/finddialog.cpp b/library/finddialog.cpp index ddf41a7..64487c9 100644 --- a/library/finddialog.cpp +++ b/library/finddialog.cpp @@ -23,13 +23,12 @@ #define QTOPIA_INTERNAL_FD #include "finddialog.h" #include "findwidget_p.h" #include <qlayout.h> -#include <qpushbutton.h> /*! \class FindDialog finddialog.h \brief A simple FindDialog A find dialog. FIXME!!!! diff --git a/library/findwidget_p.cpp b/library/findwidget_p.cpp index 287e125..e91d789 100644 --- a/library/findwidget_p.cpp +++ b/library/findwidget_p.cpp @@ -17,24 +17,18 @@ ** not clear to you. ** **********************************************************************/ #include "findwidget_p.h" -#include <qpe/categories.h> #include <qpe/categoryselect.h> #include <qpe/datebookmonth.h> -#include <qpe/timestring.h> #include <qcheckbox.h> #include <qlabel.h> #include <qlineedit.h> -#include <qmessagebox.h> -#include <qpushbutton.h> -#include <qpopupmenu.h> -#include <qtoolbutton.h> FindWidget::FindWidget( const QString &appName, QWidget *parent, const char *name ) : FindWidgetBase( parent, name ), mStrApp( appName ), mDate( QDate::currentDate() ) diff --git a/library/fontdatabase.cpp b/library/fontdatabase.cpp index 2ad8e95..d94e338 100644 --- a/library/fontdatabase.cpp +++ b/library/fontdatabase.cpp @@ -16,20 +16,18 @@ ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include <qpe/qpeapplication.h> -#include "fontfactoryinterface.h" #include "fontdatabase.h" #include <qpe/qlibrary.h> #include <qfontmanager_qws.h> #include <qdir.h> -#include <qdict.h> #include <stdio.h> #include <stdlib.h> static QString fontDir() { QString qtdir = getenv("QTDIR"); diff --git a/library/global.cpp b/library/global.cpp index a627348..5ac969b 100644 --- a/library/global.cpp +++ b/library/global.cpp @@ -25,13 +25,12 @@ #include <qpe/resource.h> #include <qpe/storage.h> #include <qpe/applnk.h> #include <qpe/qcopenvelope_qws.h> #include <qpe/config.h> -#include <qfile.h> #include <qlabel.h> #include <qtimer.h> #include <qmap.h> #include <qdict.h> #include <qdir.h> #include <qmessagebox.h> @@ -45,13 +44,12 @@ #include <unistd.h> #include <errno.h> #include <qwindowsystem_qws.h> // for qwsServer #include <qdatetime.h> -#include <qfile.h> //#include "quickexec_p.h" class Emitter : public QObject { Q_OBJECT public: diff --git a/library/imageedit.cpp b/library/imageedit.cpp index caa538a..3a559f4 100644 --- a/library/imageedit.cpp +++ b/library/imageedit.cpp @@ -15,13 +15,12 @@ ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "imageedit.h" -#include <qpainter.h> ImageEdit::ImageEdit( QWidget *parent, const char *name) : QScrollView( parent, name, WNorthWestGravity | WResizeNoErase ), buffer() { buffer.resize( size() ); buffer.fill( colorGroup().color( QColorGroup::Base ) ); diff --git a/library/ir.cpp b/library/ir.cpp index b5b726d..32c0925 100644 --- a/library/ir.cpp +++ b/library/ir.cpp @@ -17,15 +17,13 @@ ** not clear to you. ** **********************************************************************/ #include "ir.h" -#include <qstring.h> #include "qcopenvelope_qws.h" -#include <qcopchannel_qws.h> #include "applnk.h" /*! \class Ir ir.h \brief The Ir class implements basic support for sending objects over an infrared communication link. diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp index 8dca4ab..0661423 100644 --- a/library/lnkproperties.cpp +++ b/library/lnkproperties.cpp @@ -18,15 +18,14 @@ ** **********************************************************************/ // WARNING: Do *NOT* define this yourself. The SL5xxx from SHARP does NOT // have this class. #define QTOPIA_INTERNAL_FSLP -#include "lnkproperties.h" -#include "lnkproperties.h" #include "lnkpropertiesbase_p.h" +#include "lnkproperties.h" #include "ir.h" #include <qpe/qpeapplication.h> #include <qpe/applnk.h> #include <qpe/global.h> #include <qpe/categorywidget.h> diff --git a/library/mimetype.cpp b/library/mimetype.cpp index d0a578e..23de70b 100644 --- a/library/mimetype.cpp +++ b/library/mimetype.cpp @@ -23,17 +23,13 @@ #include "applnk.h" #include "resource.h" #include <qpe/qpeapplication.h> #include "config.h" #include <qfile.h> -#include <qdict.h> -#include <qregexp.h> -#include <qstringlist.h> #include <qtextstream.h> -#include <qmap.h> static void cleanupMime() { MimeType::clear(); } diff --git a/library/qcopenvelope_qws.cpp b/library/qcopenvelope_qws.cpp index 0aac32b..8f58787 100644 --- a/library/qcopenvelope_qws.cpp +++ b/library/qcopenvelope_qws.cpp @@ -18,15 +18,13 @@ ** **********************************************************************/ #ifndef QT_NO_COP #include "qcopenvelope_qws.h" #endif -#include "global.h" #include <qbuffer.h> -#include <qdatastream.h> #include <qfile.h> #include <unistd.h> #include <errno.h> #include <sys/file.h> #include <sys/types.h> #include <sys/stat.h> diff --git a/library/qdawg.cpp b/library/qdawg.cpp index af5dc82..2ea5734 100644 --- a/library/qdawg.cpp +++ b/library/qdawg.cpp @@ -16,14 +16,12 @@ ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "qdawg.h" #include <qintdict.h> -#include <qvaluelist.h> -#include <qtextstream.h> #include <qfile.h> #include <qtl.h> #include <limits.h> #include <stdio.h> diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index c7ef2b7..262221e 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -1099,13 +1099,12 @@ void QPEApplication::setDefaultRotation( int r ) } } #include <qgfx_qws.h> #include <qwindowsystem_qws.h> -#include <qpixmapcache.h> extern void qws_clearLoadedFonts(); void QPEApplication::setCurrentMode( int x, int y, int depth ) { // Reset the caches diff --git a/library/qpemenubar.cpp b/library/qpemenubar.cpp index 3e5bad5..1d8eff4 100644 --- a/library/qpemenubar.cpp +++ b/library/qpemenubar.cpp @@ -19,13 +19,12 @@ **********************************************************************/ #define INCLUDE_MENUITEM_DEF #include "qpemenubar.h" #include <qapplication.h> -#include <qguardedptr.h> #include <qtimer.h> class QMenuBarHack : public QMenuBar { public: diff --git a/library/qpestyle.cpp b/library/qpestyle.cpp index 665910c..b61ada4 100644 --- a/library/qpestyle.cpp +++ b/library/qpestyle.cpp @@ -16,16 +16,13 @@ ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "qpestyle.h" -#include <qpe/qpeapplication.h> -#include <qpushbutton.h> -#include <qpainter.h> #define QCOORDARRLEN(x) sizeof(x)/(sizeof(QCOORD)*2) #if QT_VERSION >= 300 #include <qdrawutil.h> diff --git a/library/qpetoolbar.cpp b/library/qpetoolbar.cpp index 7f95eda..bd2c9b7 100644 --- a/library/qpetoolbar.cpp +++ b/library/qpetoolbar.cpp @@ -16,14 +16,12 @@ ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "qpetoolbar.h" -#include "qpemenubar.h" -#include <qtoolbutton.h> /*! \class QPEToolBar qpemenubar.h \brief The QPEToolBar class is obsolete. Use QToolBar instead. \obsolete diff --git a/library/qt_override.cpp b/library/qt_override.cpp index df5a419..4d1f475 100644 --- a/library/qt_override.cpp +++ b/library/qt_override.cpp @@ -1,10 +1,8 @@ #include <qpe/qpeapplication.h> -#include <qwsdecoration_qws.h> -#include <qcommonstyle.h> #include <qfontdatabase.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <limits.h> diff --git a/library/resource.cpp b/library/resource.cpp index f70658d..cfa0d26 100644 --- a/library/resource.cpp +++ b/library/resource.cpp @@ -20,16 +20,13 @@ #define QTOPIA_INTERNAL_MIMEEXT #include <qpe/qpeapplication.h> #include "resource.h" #include "mimetype.h" #include <qdir.h> -#include <qfile.h> -#include <qregexp.h> #include <qpixmapcache.h> -#include <qpainter.h> // this namespace is just a workaround for a gcc bug // gcc exports inline functions in the generated file // inlinepics_p.h namespace { diff --git a/library/sound.cpp b/library/sound.cpp index 5b67995..ee2aabc 100644 --- a/library/sound.cpp +++ b/library/sound.cpp @@ -30,14 +30,12 @@ #include <sys/ioctl.h> #ifndef QT_NO_SOUND #include <sys/soundcard.h> #endif -#include "config.h" -#include <qmessagebox.h> #ifndef QT_NO_SOUND static int WAVsoundDuration(const QString& filename) { // bad solution // most of this is copied from qsoundqss.cpp diff --git a/library/storage.cpp b/library/storage.cpp index d98139b..0ea465b 100644 --- a/library/storage.cpp +++ b/library/storage.cpp @@ -18,16 +18,13 @@ ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include <qpe/storage.h> -#include <qpe/custom.h> -#include <qfile.h> -#include <qtimer.h> #include <qcopchannel_qws.h> #include <stdio.h> #if defined(_OS_LINUX_) || defined(Q_OS_LINUX) #include <sys/vfs.h> @@ -39,13 +36,12 @@ # include <sys/ucred.h> # include <sys/mount.h> # include <stdio.h> // For strerror() # include <errno.h> #endif /* Q_OS_MACX */ -#include <qstringlist.h> // Shouldn't be here ! (eilers) // #include <sys/vfs.h> // #include <mntent.h> diff --git a/library/tzselect.cpp b/library/tzselect.cpp index 4343eab..f28100b 100644 --- a/library/tzselect.cpp +++ b/library/tzselect.cpp @@ -19,13 +19,12 @@ **********************************************************************/ #define QTOPIA_INTERNAL_TZSELECT_INC_LOCAL #include "tzselect.h" #include "resource.h" -#include "global.h" #include "config.h" #include <qtoolbutton.h> #include <qfile.h> #include <stdlib.h> #include <qcopchannel_qws.h> |