summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2014-10-08 11:48:01 (GMT)
committerMontel Laurent <montel@kde.org>2014-10-08 11:48:01 (GMT)
commit17b7049c69cb783131941c2e7dc2dadcb0124614 (patch)
treec30f0be188c638cb414d5417f7f15738ccbd8f8e
parent3b4ee788b8b25183ab61882d379c0fe818d1d6a0 (diff)
Fix includes
-rw-r--r--core/bookmarkmanager.cpp2
-rw-r--r--core/chooseenginedialog.cpp1
-rw-r--r--core/chooseenginedialog_p.h1
-rw-r--r--core/document.cpp2
-rw-r--r--core/document.h1
-rw-r--r--core/generator.cpp1
-rw-r--r--core/generator.h1
-rw-r--r--core/textdocumentsettings.cpp1
-rw-r--r--ui/annotationwidgets.cpp1
-rw-r--r--ui/pageview.cpp1
-rw-r--r--ui/propertiesdialog.cpp1
11 files changed, 6 insertions, 7 deletions
diff --git a/core/bookmarkmanager.cpp b/core/bookmarkmanager.cpp
index 44a33a0..ccfba8d 100644
--- a/core/bookmarkmanager.cpp
+++ b/core/bookmarkmanager.cpp
@@ -16,7 +16,7 @@
#include <kbookmarkmanager.h>
#include <kbookmarkmenu.h>
#include <QtCore/QDebug>
-#include <QApplication>
+#include <QGuiApplication>
#include <kurl.h>
#include <QStandardPaths>
diff --git a/core/chooseenginedialog.cpp b/core/chooseenginedialog.cpp
index 8f433cc..48dba88 100644
--- a/core/chooseenginedialog.cpp
+++ b/core/chooseenginedialog.cpp
@@ -13,7 +13,6 @@
#include <QtWidgets/QLabel>
#include <klocale.h>
-#include <KConfigGroup>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QVBoxLayout>
diff --git a/core/chooseenginedialog_p.h b/core/chooseenginedialog_p.h
index 0d55ff5..8e7f15a 100644
--- a/core/chooseenginedialog_p.h
+++ b/core/chooseenginedialog_p.h
@@ -14,7 +14,6 @@
#include <QDialog>
#include <QMimeType>
-#include <QMimeDatabase>
class Ui_ChooseEngineWidget;
diff --git a/core/document.cpp b/core/document.cpp
index cc51ea4..b0cd2b1 100644
--- a/core/document.cpp
+++ b/core/document.cpp
@@ -36,8 +36,8 @@
#include <QtPrintSupport/QPrinter>
#include <QtPrintSupport/QPrintDialog>
#include <QUndoCommand>
+#include <QMimeDatabase>
-#include <KAboutData>
#include <k4aboutdata.h>
#include <kauthorized.h>
#include <kconfigdialog.h>
diff --git a/core/document.h b/core/document.h
index 31bde00..684acde 100644
--- a/core/document.h
+++ b/core/document.h
@@ -24,7 +24,6 @@
#include <kcomponentdata.h>
#include <QMimeType>
-#include <QMimeDatabase>
#include <kurl.h>
class QPrintDialog;
diff --git a/core/generator.cpp b/core/generator.cpp
index b6bc584..36b193f 100644
--- a/core/generator.cpp
+++ b/core/generator.cpp
@@ -17,6 +17,7 @@
#include <QtCore/QDebug>
#include <QIcon>
+#include <QMimeDatabase>
#include <klocale.h>
#include <kwallet.h>
diff --git a/core/generator.h b/core/generator.h
index 0cea00e..6a6672b 100644
--- a/core/generator.h
+++ b/core/generator.h
@@ -27,7 +27,6 @@
#include <QtCore/QVector>
#include <QMimeType>
-#include <QMimeDatabase>
#include <kpluginfactory.h>
#define OKULAR_EXPORT_PLUGIN( classname, aboutdata ) \
diff --git a/core/textdocumentsettings.cpp b/core/textdocumentsettings.cpp
index 7c63a37..00ba3be 100644
--- a/core/textdocumentsettings.cpp
+++ b/core/textdocumentsettings.cpp
@@ -15,7 +15,6 @@
#include <KFontRequester>
#include <KLocalizedString>
-#include <QLabel>
using namespace Okular;
diff --git a/ui/annotationwidgets.cpp b/ui/annotationwidgets.cpp
index e8372a1..90bfdb6 100644
--- a/ui/annotationwidgets.cpp
+++ b/ui/annotationwidgets.cpp
@@ -24,6 +24,7 @@
#include <klocale.h>
#include <knuminput.h>
#include <QtCore/QDebug>
+#include <QMimeDatabase>
#include "core/document.h"
#include "guiutils.h"
diff --git a/ui/pageview.cpp b/ui/pageview.cpp
index 2204d44..6174d08 100644
--- a/ui/pageview.cpp
+++ b/ui/pageview.cpp
@@ -34,6 +34,7 @@
#include <qmenu.h>
#include <QInputDialog>
#include <qdesktopwidget.h>
+#include <QMimeDatabase>
#include <kaction.h>
#include <kactionmenu.h>
diff --git a/ui/propertiesdialog.cpp b/ui/propertiesdialog.cpp
index 3b4eb4f..7450f84 100644
--- a/ui/propertiesdialog.cpp
+++ b/ui/propertiesdialog.cpp
@@ -30,6 +30,7 @@
#include <kmessagebox.h>
#include <ksqueezedtextlabel.h>
#include <kurl.h>
+#include <QMimeDatabase>
// local includes
#include "core/document.h"