aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/help/centralwidget.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-09-29 17:35:04 +0200
committerEike Ziller <eike.ziller@digia.com>2014-10-10 10:14:38 +0200
commit9cc88836f7827504c92cdc0d380e83c65ba0dbe4 (patch)
tree27c78ab48d8b11805b2a5a885b29a6fd09104ada /src/plugins/help/centralwidget.h
parenta10f20775623d95afd8d44722c86f23c5e7d50ad (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.h5
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);
};