summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/testapp/mainwindow.cpp1
-rw-r--r--installerbuilder/libinstaller/packagemanagercore.h21
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;