summaryrefslogtreecommitdiff
path: root/src/newtabpage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newtabpage.h')
-rw-r--r--src/newtabpage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/newtabpage.h b/src/newtabpage.h
index ad4941d3..c4e48f5c 100644
--- a/src/newtabpage.h
+++ b/src/newtabpage.h
@@ -107,7 +107,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 +115,8 @@ private:
QString checkTitle(const QString &title);
private:
+ QWebElement createNavItem(const QString &title, const QString &urlString, const QString &iconPath) const;
+
QString m_html;
QWebElement m_root;
};