summaryrefslogtreecommitdiff
path: root/src/newtabpage.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-12 11:26:59 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-12 11:26:59 +0200
commitab22ed3d71e3eac7da5edb0a9638ab6ed5bb0fb1 (patch)
tree80ead7f9e1a0d63ee7a41b7923e14df288f5099b /src/newtabpage.h
parentSVN_SILENT made messages (.desktop file) (diff)
parentRefactor createNavItem to use it everywhere .link items are used (diff)
downloadrekonq-ab22ed3d71e3eac7da5edb0a9638ab6ed5bb0fb1.tar.xz
Merge commit 'refs/merge-requests/162' of git://gitorious.org/rekonq/mainline into m162
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 ad4941d3..2560beb2 100644
--- a/src/newtabpage.h
+++ b/src/newtabpage.h
@@ -33,6 +33,7 @@
#include "rekonq_defines.h"
// KDE Includes
+#include <KIconLoader>
#include <KUrl>
// Qt Includes
@@ -107,7 +108,7 @@ private:
* It works for all elements defined here.
*
*/
- inline QWebElement markup(const QString &selector)
+ inline QWebElement markup(const QString &selector) const
{
return m_root.document().findFirst("#models > " + selector).clone();
}
@@ -115,6 +116,8 @@ private:
QString checkTitle(const QString &title);
private:
+ QWebElement createLinkItem(const QString &title, const QString &urlString, const QString &iconPath, int groupOrSize) const;
+
QString m_html;
QWebElement m_root;
};