diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-09-20 02:12:20 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-09-20 02:12:20 +0200 |
commit | ba286469e4965ec2cf74a934c3276a974e4aa86b (patch) | |
tree | bc5210b6b761ca05c72697182327b2ca647b9415 /src/mainview.h | |
parent | Fixing websnap resizing... (diff) | |
parent | Show a preview when mouse is over a tab (diff) | |
download | rekonq-ba286469e4965ec2cf74a934c3276a974e4aa86b.tar.xz |
Merge commit 'refs/merge-requests/1549' of git://gitorious.org/rekonq/mainline into int
Diffstat (limited to 'src/mainview.h')
-rw-r--r-- | src/mainview.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mainview.h b/src/mainview.h index 297871b0..cd212dbd 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -43,10 +43,12 @@ class QUrl; class QWebFrame; class QLabel; +class QMouseEvent; class TabBar; class UrlBar; +class KPassivePopup; /** * This class represent rekonq Main View. It contains all WebViews and a stack widget @@ -90,7 +92,12 @@ public: * @return the webview embedded in the new tab */ WebView *newWebView(bool focused = true, bool nearParent = false); - + + virtual void mouseMoveEvent(QMouseEvent *event); + virtual void leaveEvent(QEvent *event); + void showTabPreview(int tab); + QPixmap renderTabPreview(int tab, int w, int h); + signals: // tab widget signals void tabsChanged(); @@ -162,6 +169,9 @@ private: int m_currentTabIndex; KUrl::List m_recentlyClosedTabs; + + QPointer<KPassivePopup> m_previewPopup; + int m_currentTabPreview; }; #endif // MAINVIEW_H |