summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-04-27 01:05:39 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-04-27 01:05:39 +0200
commitd735b4f8c7df87dd92a6f2c15c5b9c3aaa93765b (patch)
tree7f503381217f59ec680f141babd4f07a878ecad1 /src/mainview.h
parentRevert "Fix opensearch add shortcut handling" (diff)
downloadrekonq-d735b4f8c7df87dd92a6f2c15c5b9c3aaa93765b.tar.xz
Revert "Clean up headers && fix compilation with (the upcoming) qt 4.8.2"
This reverts commit 962d9dd1fc5fe530dc9a7e29c95a0a2c1e7aa885.
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mainview.h b/src/mainview.h
index a80ba521..f2ed7cba 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -34,15 +34,16 @@
// Rekonq Includes
#include "rekonq_defines.h"
+// Local Includes
+#include "historymanager.h"
+
// KDE Includes
#include <KTabWidget>
// Forward Declarations
class HistoryItem;
-class MainWindow;
class StackedUrlBar;
class TabBar;
-class TabHistory;
class UrlBar;
class WebTab;
@@ -100,7 +101,10 @@ public:
*/
WebTab *newWebTab(bool focused = true);
- QList<TabHistory> recentlyClosedTabs();
+ inline QList<TabHistory> recentlyClosedTabs()
+ {
+ return m_recentlyClosedTabs;
+ }
void restoreClosedTab(int i, bool inNewTab = true);