summaryrefslogtreecommitdiff
path: root/src/rekonqpage/newtabpage.h
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2009-12-18 15:58:48 +0100
committermatgic78 <matgic78@gmail.com>2010-02-06 11:22:46 +0100
commitf1f7e2011c3f245cd1987b0f09b72c2f7dea283f (patch)
tree6cad61cbf826363713d54d06681ae91b0009bfa4 /src/rekonqpage/newtabpage.h
parentRe-implemented previews in homepage without using plugins. Not finished yet : (diff)
downloadrekonq-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.h9
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 &currentUrl);
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();