diff options
author | kh1 <qt-info@nokia.com> | 2011-07-04 22:53:45 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-07-04 22:53:45 +0200 |
commit | 5ca0ad0a230950612efb83ddb3e2f050e553439a (patch) | |
tree | 1bf51afe7d9eebc699e0c0dc23ded492eeebaab5 | |
parent | 77ff35017bf8b7863e32a2f52e55539ed2cbbaa6 (diff) |
Remove superfluous includes and forward declarations.
-rw-r--r-- | examples/testapp/mainwindow.cpp | 1 | ||||
-rw-r--r-- | installerbuilder/libinstaller/packagemanagercore.h | 21 |
2 files changed, 3 insertions, 19 deletions
diff --git a/examples/testapp/mainwindow.cpp b/examples/testapp/mainwindow.cpp index 579d7dec5..9a8f7e96e 100644 --- a/examples/testapp/mainwindow.cpp +++ b/examples/testapp/mainwindow.cpp @@ -46,6 +46,7 @@ #include <QtGui/QApplication> #include <QtGui/QLabel> #include <QtGui/QMenuBar> +#include <QtGui/QMessageBox> #include <QtGui/QProgressDialog> using namespace QInstaller; diff --git a/installerbuilder/libinstaller/packagemanagercore.h b/installerbuilder/libinstaller/packagemanagercore.h index 7145564e5..02cf1d077 100644 --- a/installerbuilder/libinstaller/packagemanagercore.h +++ b/installerbuilder/libinstaller/packagemanagercore.h @@ -31,37 +31,20 @@ #include <KDUpdater/PackagesInfo> -#include <QtCore/QAbstractItemModel> +#include <QtCore/QHash> #include <QtCore/QObject> #include <QtCore/QStringList> #include <QtCore/QVector> -#include <QtCore/QHash> - -#include <QtGui/QMessageBox> - -#include <QtScript/QScriptable> -#include <QtScript/QScriptValue> +class KDJob; namespace KDUpdater { class Update; class UpdateOperation; } -QT_BEGIN_NAMESPACE -class QDir; -class QFile; -class QIODevice; -QT_END_NAMESPACE - -class KDJob; - -/* - * TRANSLATOR QInstaller::PackageManagerCore - */ namespace QInstaller { class Component; -class MessageBoxHandler; class PackageManagerCorePrivate; class Settings; |