From d735b4f8c7df87dd92a6f2c15c5b9c3aaa93765b Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 27 Apr 2012 01:05:39 +0200 Subject: Revert "Clean up headers && fix compilation with (the upcoming) qt 4.8.2" This reverts commit 962d9dd1fc5fe530dc9a7e29c95a0a2c1e7aa885. --- src/history/autosaver.cpp | 8 ++++---- src/history/autosaver.h | 2 +- src/history/historymanager.cpp | 22 ++++++++++------------ src/history/historymanager.h | 21 +++++++++++---------- src/history/historymodels.cpp | 22 ++++++++++------------ src/history/historymodels.h | 12 +++++++----- src/history/historypanel.cpp | 3 +-- 7 files changed, 44 insertions(+), 46 deletions(-) (limited to 'src/history') diff --git a/src/history/autosaver.cpp b/src/history/autosaver.cpp index ee84e299..bb2a7683 100644 --- a/src/history/autosaver.cpp +++ b/src/history/autosaver.cpp @@ -30,10 +30,10 @@ #include "autosaver.moc" // Qt Includes -#include -#include -#include -#include +#include +#include +#include +#include const int AUTOSAVE_TIME = 1000 * 3; // seconds diff --git a/src/history/autosaver.h b/src/history/autosaver.h index 4c385ed6..f165377c 100644 --- a/src/history/autosaver.h +++ b/src/history/autosaver.h @@ -33,7 +33,7 @@ #include "rekonq_defines.h" // Qt Includes -#include +#include // Forward Declarations class QBasicTimer; diff --git a/src/history/historymanager.cpp b/src/history/historymanager.cpp index 95b2d586..602e4606 100644 --- a/src/history/historymanager.cpp +++ b/src/history/historymanager.cpp @@ -44,18 +44,16 @@ #include // Qt Includes -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include // generic algorithms #include diff --git a/src/history/historymanager.h b/src/history/historymanager.h index 5be32b9e..d4531e5c 100644 --- a/src/history/historymanager.h +++ b/src/history/historymanager.h @@ -33,6 +33,9 @@ // Rekonq Includes #include "rekonq_defines.h" +// Local Includes +#include "urlresolver.h" + // KDE Includes #include @@ -40,18 +43,13 @@ #include #include #include +#include +#include +#include #include #include -// Forward Declarations -class AutoSaver; -class HistoryFilterModel; -class HistoryTreeModel; - -class QWebHistory; - - /** * Elements in this class represent an history item * @@ -102,7 +100,6 @@ public: // --------------------------------------------------------------------------------------------------------------- - class TabHistory { public: @@ -136,10 +133,14 @@ public: QByteArray history; }; - // --------------------------------------------------------------------------------------------------------------- +// Forward Declarations +class AutoSaver; +class HistoryFilterModel; +class HistoryTreeModel; + /** * THE History Manager: * It manages rekonq history diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp index 8894b334..16054054 100644 --- a/src/history/historymodels.cpp +++ b/src/history/historymodels.cpp @@ -35,7 +35,6 @@ // Local Includes #include "application.h" -#include "historymanager.h" #include "iconmanager.h" // KDE Includes @@ -44,17 +43,16 @@ #include // Qt Includes -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include // generic algorithms #include diff --git a/src/history/historymodels.h b/src/history/historymodels.h index 7588c6ff..9c3bfc36 100644 --- a/src/history/historymodels.h +++ b/src/history/historymodels.h @@ -33,16 +33,17 @@ // Rekonq Includes #include "rekonq_defines.h" +// Local Includes +#include "historymanager.h" + // KDE Includes #include // Qt Includes #include -#include -#include - -// Forward Declarations -class HistoryManager; +#include +#include +#include class REKONQ_TESTS_EXPORT HistoryModel : public QAbstractTableModel @@ -174,6 +175,7 @@ private Q_SLOTS: private: int sourceDateRow(int row) const; mutable QList m_sourceRowCache; + }; diff --git a/src/history/historypanel.cpp b/src/history/historypanel.cpp index 5037a4d1..e09b4f48 100644 --- a/src/history/historypanel.cpp +++ b/src/history/historypanel.cpp @@ -35,7 +35,6 @@ // Local Includes #include "application.h" #include "paneltreeview.h" -#include "historymanager.h" #include "historymodels.h" #include "urlfilterproxymodel.h" @@ -46,7 +45,7 @@ #include // Qt Includes -#include +#include HistoryPanel::HistoryPanel(const QString &title, QWidget *parent, Qt::WindowFlags flags) -- cgit v1.2.1