diff options
author | kh <qtc-committer@nokia.com> | 2009-07-08 15:03:40 +0200 |
---|---|---|
committer | kh <qtc-committer@nokia.com> | 2009-07-08 15:03:40 +0200 |
commit | e4b0bd28cb6e303a9ded09537fde8a3ee5c34332 (patch) | |
tree | ac12d144516fc5d59de382ac0d31a3d56ffa174f /src/plugins/help/generalsettingspage.h | |
parent | 1c1cb9f18c994775ab2a2a59fee36cd23b0f49f8 (diff) | |
download | qt-creator-e4b0bd28cb6e303a9ded09537fde8a3ee5c34332.tar.gz |
Implement import - export of help bookmarks.
Task-number: 254695
Diffstat (limited to 'src/plugins/help/generalsettingspage.h')
-rw-r--r-- | src/plugins/help/generalsettingspage.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/plugins/help/generalsettingspage.h b/src/plugins/help/generalsettingspage.h index aa4995257d..c39a9e0944 100644 --- a/src/plugins/help/generalsettingspage.h +++ b/src/plugins/help/generalsettingspage.h @@ -37,6 +37,8 @@ #include "ui_generalsettingspage.h" +class BookmarkManager; + QT_FORWARD_DECLARE_CLASS(QFont) QT_FORWARD_DECLARE_CLASS(QHelpEngine) @@ -50,7 +52,8 @@ class GeneralSettingsPage : public Core::IOptionsPage Q_OBJECT public: - GeneralSettingsPage(QHelpEngine *helpEngine, CentralWidget *centralWidget); + GeneralSettingsPage(QHelpEngine *helpEngine, CentralWidget *centralWidget, + BookmarkManager *bookmarkManager); QString id() const; virtual QString trName() const; @@ -68,6 +71,8 @@ private slots: void setCurrentPage(); void setBlankPage(); void setDefaultPage(); + void importBookmarks(); + void exportBookmarks(); private: void updateFontSize(); @@ -79,6 +84,7 @@ private: QWidget *m_currentPage; QHelpEngine *m_helpEngine; CentralWidget *m_centralWidget; + BookmarkManager *m_bookmarkManager; QFont font; QFontDatabase fontDatabase; |