diff options
Diffstat (limited to 'src/plugins/help/helpwidget.h')
-rw-r--r-- | src/plugins/help/helpwidget.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/help/helpwidget.h b/src/plugins/help/helpwidget.h index bd00034881..d81e9a17ae 100644 --- a/src/plugins/help/helpwidget.h +++ b/src/plugins/help/helpwidget.h @@ -44,6 +44,11 @@ class QPrinter; class QStackedWidget; QT_END_NAMESPACE +namespace Core { +class MiniSplitter; +class SideBar; +} + namespace Help { namespace Internal { @@ -74,6 +79,10 @@ public: int viewerCount() const; HelpViewer *viewerAt(int index) const; + void open(const QUrl &url, bool newPage = false); + void showTopicChooser(const QMap<QString, QUrl> &links, const QString &key, + bool newPage = false); + public slots: void setSource(const QUrl &url); void setSourceFromSearch(const QUrl &url); @@ -106,9 +115,11 @@ private: void resetScale(); void print(HelpViewer *viewer); void highlightSearchTerms(); + void addSideBar(); Core::IContext *m_context; WidgetStyle m_style; + QAction *m_toggleSideBarAction; QAction *m_switchToHelp; QAction *m_homeAction; QMenu *m_backMenu; @@ -126,6 +137,10 @@ private: QStackedWidget *m_viewerStack; QPrinter *m_printer; + + Core::MiniSplitter *m_sideBarSplitter; + Core::SideBar *m_sideBar; + QAction *m_indexAction; }; } // Internal |