diff options
author | matgic78 <matgic78@gmail.com> | 2009-12-18 15:58:48 +0100 |
---|---|---|
committer | matgic78 <matgic78@gmail.com> | 2010-02-06 11:22:46 +0100 |
commit | f1f7e2011c3f245cd1987b0f09b72c2f7dea283f (patch) | |
tree | 6cad61cbf826363713d54d06681ae91b0009bfa4 /src/rekonqpage/newtabpage.h | |
parent | Re-implemented previews in homepage without using plugins. Not finished yet : (diff) | |
download | rekonq-f1f7e2011c3f245cd1987b0f09b72c2f7dea283f.tar.xz |
Various changes:
- improve appearance of empty/loading previews
- port closedTabs to new system
- remove PreviewImage files
TODO : dialog to choose preview
Diffstat (limited to 'src/rekonqpage/newtabpage.h')
-rw-r--r-- | src/rekonqpage/newtabpage.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/rekonqpage/newtabpage.h b/src/rekonqpage/newtabpage.h index 84880a10..9ac743ea 100644 --- a/src/rekonqpage/newtabpage.h +++ b/src/rekonqpage/newtabpage.h @@ -63,10 +63,17 @@ protected: // these are the function to build the new tab page void browsingMenu(const KUrl ¤tUrl); void favoritesPage(); - QWebElement emptyPreview(); + QWebElement emptyPreview(int index); QWebElement loadingPreview(int index, KUrl url); QWebElement validPreview(int index, KUrl url, QString title); + /** This function takes a QwebElement with the .thumbnail structure. + It hides the "remove" and "modify" buttons-> + */ + void hideControls(QWebElement e); + void showControls(QWebElement e); + + void historyPage(); void bookmarksPage(); void closedTabsPage(); |