summaryrefslogtreecommitdiff
path: root/src/rekonqpage/newtabpage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rekonqpage/newtabpage.h')
-rw-r--r--src/rekonqpage/newtabpage.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/rekonqpage/newtabpage.h b/src/rekonqpage/newtabpage.h
index cdc3cb31..742d9209 100644
--- a/src/rekonqpage/newtabpage.h
+++ b/src/rekonqpage/newtabpage.h
@@ -55,10 +55,19 @@ public:
*/
void generate(KUrl url = KUrl("about:home"));
-protected slots:
+public slots:
void snapFinished();
void removePreview(int index);
+
+ /**
+ Used for recently closed tabs
+ */
void setPreview(int index, KUrl url);
+
+ /**
+ Used for favorites
+ */
+ void setPreview(int index, WebPage *page);
protected: // these are the function to build the new tab page
void browsingMenu(const KUrl &currentUrl);