summaryrefslogtreecommitdiff
path: root/src/newtabpage.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-01-02 11:01:21 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-01-02 11:01:21 +0100
commit4779e1fa7346416ac61b0787c065e3104442efad (patch)
tree103dba178c9b153999161094f9ab6ee4187a1f64 /src/newtabpage.h
parentFix crash webinspector related (diff)
downloadrekonq-4779e1fa7346416ac61b0787c065e3104442efad.tar.xz
about:tabs, easy method to manage rekonq tabs.
- added tabs page to rekonq ones - manage about:tabs links - let it manage show/close tabs - fix settings for the new page - adjust controls for it (modify, add thing removed) REVIEW:103566
Diffstat (limited to 'src/newtabpage.h')
-rw-r--r--src/newtabpage.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/newtabpage.h b/src/newtabpage.h
index 7a608deb..aae8da1e 100644
--- a/src/newtabpage.h
+++ b/src/newtabpage.h
@@ -61,7 +61,7 @@ public:
* This method updates thumbs, removing loading previews
* and providing a real picture
*/
- void snapFinished();
+ void updateThumbs();
private:
// these are the "high-level" functions to build the new tab page.
@@ -74,6 +74,7 @@ private:
void bookmarksPage();
void closedTabsPage();
void downloadsPage();
+ void tabsPage();
// --------------------------------------------------------------------------
// "low-level" functions
@@ -83,6 +84,7 @@ private:
QWebElement emptyPreview(int index);
QWebElement loadingPreview(int index, const KUrl &url);
QWebElement validPreview(int index, const KUrl &url, const QString &title);
+ QWebElement tabPreview(int winIndex, int tabIndex, const KUrl &url, const QString &title);
void removePreview(int index);
@@ -94,6 +96,7 @@ private:
void hideControls(QWebElement e);
void showControls(QWebElement e);
void setupPreview(QWebElement e, int index);
+ void setupTabPreview(QWebElement e, int winIndex, int tabIndex);
void createBookItem(const KBookmark &bookmark, QWebElement parent);