diff options
author | Eike Ziller <eike.ziller@digia.com> | 2014-09-29 17:35:04 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2014-10-10 10:14:38 +0200 |
commit | 9cc88836f7827504c92cdc0d380e83c65ba0dbe4 (patch) | |
tree | 27c78ab48d8b11805b2a5a885b29a6fd09104ada /src/plugins/help/centralwidget.h | |
parent | a10f20775623d95afd8d44722c86f23c5e7d50ad (diff) |
Help: Make it possible to create multiple index views
This unfortunately means doing the filtering by hand,
because filtering on the QHelpIndexModel would be shared
between multiple views.
Change-Id: Iae38952a92dbb1b4a9685aea6f057d96f0d0784f
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/help/centralwidget.h')
-rw-r--r-- | src/plugins/help/centralwidget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/help/centralwidget.h b/src/plugins/help/centralwidget.h index 37d310459e6..808175a0c9a 100644 --- a/src/plugins/help/centralwidget.h +++ b/src/plugins/help/centralwidget.h @@ -50,8 +50,11 @@ public: static CentralWidget *instance(); + void open(const QUrl &url, bool newPage = false); + public slots: - void showTopicChooser(const QMap<QString, QUrl> &links, const QString &key); + void showTopicChooser(const QMap<QString, QUrl> &links, const QString &key, + bool newPage = false); }; |