summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@gmail.com>2011-06-29 21:09:27 +0200
committerPierre Rossi <pierre.rossi@gmail.com>2011-06-29 21:09:27 +0200
commitf2f8d48c390b8d8bef84c98026a0435da2045409 (patch)
tree000ecbae37246e5e972f70d1ec6e1372cbb15d83
parentFixup for vi style navigation event handling. (diff)
downloadrekonq-f2f8d48c390b8d8bef84c98026a0435da2045409.tar.xz
Fix includes.
Seems some dependencies were changed in Qt 4.8 Reviewed-By: TrustMe
-rw-r--r--src/application.cpp3
-rw-r--r--src/history/historymanager.cpp1
-rw-r--r--src/history/historymodels.cpp1
-rw-r--r--src/urlbar/listitem.cpp23
-rw-r--r--src/urlbar/urlbar.cpp1
5 files changed, 17 insertions, 12 deletions
diff --git a/src/application.cpp b/src/application.cpp
index c00f3f96..f51a6975 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -64,7 +64,8 @@
#include <KCharsets>
// Qt Includes
-#include <QVBoxLayout>
+#include <QtCore/QDir>
+#include <QtGui/QVBoxLayout>
using namespace ThreadWeaver;
diff --git a/src/history/historymanager.cpp b/src/history/historymanager.cpp
index 8113add4..ff8cbf5b 100644
--- a/src/history/historymanager.cpp
+++ b/src/history/historymanager.cpp
@@ -52,6 +52,7 @@
#include <QtCore/QFile>
#include <QtCore/QDataStream>
#include <QtCore/QBuffer>
+#include <QtCore/QTemporaryFile>
#include <QtGui/QClipboard>
diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp
index 2cab8efb..110d9eb3 100644
--- a/src/history/historymodels.cpp
+++ b/src/history/historymodels.cpp
@@ -49,6 +49,7 @@
#include <QtCore/QDateTime>
#include <QtCore/QString>
#include <QtCore/QFile>
+#include <QtCore/QFileInfo>
#include <QtCore/QDataStream>
#include <QtCore/QBuffer>
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp
index 17a4585d..6f75044b 100644
--- a/src/urlbar/listitem.cpp
+++ b/src/urlbar/listitem.cpp
@@ -46,17 +46,18 @@
#include <kio/scheduler.h>
// Qt Includes
-#include <QActionGroup>
-#include <QHBoxLayout>
-#include <QVBoxLayout>
-#include <QLabel>
-#include <QSizePolicy>
-#include <QPixmap>
-#include <QStylePainter>
-#include <QMouseEvent>
-#include <QWebSettings>
-#include <QFile>
-#include <QTextDocument>
+#include <QtCore/QBitArray>
+#include <QtCore/QFile>
+#include <QtGui/QActionGroup>
+#include <QtGui/QHBoxLayout>
+#include <QtGui/QLabel>
+#include <QtGui/QMouseEvent>
+#include <QtGui/QPixmap>
+#include <QtGui/QSizePolicy>
+#include <QtGui/QStylePainter>
+#include <QtGui/QTextDocument>
+#include <QtGui/QVBoxLayout>
+#include <QtWebKit/QWebSettings>
ListItem::ListItem(const UrlSearchItem &item, QWidget *parent)
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index 078dc6a6..e0afbad2 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -52,6 +52,7 @@
#include <KColorScheme>
// Qt Includes
+#include <QtCore/QTimer>
#include <QtGui/QPainter>
#include <QtGui/QPaintEvent>
#include <QtGui/QPalette>