summaryrefslogtreecommitdiff
path: root/src/newtabpage.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-05-13 11:24:15 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-05-15 09:53:43 +0200
commit77cce058a4b5922916e364a1d0a57728b98e9cf3 (patch)
treef3627f0f6d9356d1498c0a5512a0325e18b2c5e6 /src/newtabpage.h
parentDownloads search (diff)
downloadrekonq-77cce058a4b5922916e364a1d0a57728b98e9cf3.tar.xz
New Bookmarks page
Diffstat (limited to 'src/newtabpage.h')
-rw-r--r--src/newtabpage.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/newtabpage.h b/src/newtabpage.h
index a9e618db..857e0db6 100644
--- a/src/newtabpage.h
+++ b/src/newtabpage.h
@@ -96,8 +96,12 @@ private:
void setupPreview(QWebElement e, int index);
void setupTabPreview(QWebElement e, int winIndex, int tabIndex);
- void createBookItem(const KBookmark &bookmark, QWebElement parent);
+ void createBookmarkItem(const KBookmark &bookmark, QWebElement parent);
+ void createBookmarkGroup(const KBookmark &bookmark, QWebElement parent);
+ QWebElement createLinkItem(const QString &title, const QString &urlString, const QString &iconPath, int groupOrSize) const;
+ QWebElement createFormItem(const QString &title, const QString &urlString) const;
+
/**
* This function helps to get faster a new markup of one type,
* it isn't easy to create one with QWebElement.
@@ -111,15 +115,11 @@ private:
return m_root.document().findFirst("#models > " + selector).clone();
}
- QString checkTitle(const QString &title);
+ QString checkTitle(const QString &title, int max = 23);
void updateWindowIcon();
private:
- QWebElement createLinkItem(const QString &title, const QString &urlString, const QString &iconPath, int groupOrSize) const;
-
- QWebElement createFormItem(const QString &title, const QString &urlString) const;
-
QString m_html;
QWebElement m_root;