summaryrefslogtreecommitdiff
path: root/src/homepage.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-29 12:15:17 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-29 12:15:17 +0200
commit40ced90916c742bd813be8bfaf7c17490a75a3e0 (patch)
tree750cbc86b076b1dc24a6d9c80d627f00ad54f892 /src/homepage.h
parentImplementing a new about: protocol, 1st bunch (diff)
downloadrekonq-40ced90916c742bd813be8bfaf7c17490a75a3e0.tar.xz
Implemented about protocol to load home page(s)
and changed its layout
Diffstat (limited to 'src/homepage.h')
-rw-r--r--src/homepage.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/homepage.h b/src/homepage.h
index 3996c095..48fc4fa6 100644
--- a/src/homepage.h
+++ b/src/homepage.h
@@ -27,6 +27,10 @@
#ifndef REKONQ_HOME_PAGE
#define REKONQ_HOME_PAGE
+
+// KDE Includes
+#include <KUrl>
+
// Qt Includes
#include <QtCore/QObject>
#include <QtCore/QString>
@@ -40,20 +44,20 @@ class HomePage : public QObject
Q_OBJECT
public:
- HomePage(QObject *parent = 0, const QString &authority = QString("home"));
+ HomePage(QObject *parent = 0);
~HomePage();
- QString rekonqHomePage();
+ QString rekonqHomePage(const KUrl &url = KUrl("about:home"));
QString homePageMenu();
private:
QString speedDial();
QString recentlyClosedTabs();
QString fillRecentHistory();
+ QString history();
+ QString bookmarks();
QString m_homePagePath;
-
- QString m_authority;
};
#endif // REKONQ_HOME_PAGE