diff options
author | kh1 <[email protected]> | 2010-03-23 18:11:43 +0100 |
---|---|---|
committer | kh1 <[email protected]> | 2010-03-23 18:13:12 +0100 |
commit | 6ac6be5db223d6c6b302c34a7e65b129605fb343 (patch) | |
tree | 567d43e0cfb3c310ff496e1323b571fb50498c41 /src/shared/help/indexwindow.cpp | |
parent | c3326eb627a11ca13d0ff2b8d131daa3ca457afd (diff) |
Rewrite of the whole help modul initialization.
We now do as much as possible lazy initialisation, e.g only start the
full text search indexer if we really access the search widget. Also
moved the QFutur progress into the search widget. Changed all ctors to
be called without an argument, since we share the help engines from
help manager all over the place. Make use of the fact that we only need
to call setupData on the gui engine if we access the help mode, otherwise
all data is fetched thru the core engine whichs setupData is really fast.
Diffstat (limited to 'src/shared/help/indexwindow.cpp')
-rw-r--r-- | src/shared/help/indexwindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/shared/help/indexwindow.cpp b/src/shared/help/indexwindow.cpp index 498d9d5c6a2..dcb99e22ed5 100644 --- a/src/shared/help/indexwindow.cpp +++ b/src/shared/help/indexwindow.cpp @@ -43,9 +43,8 @@ #include <QtHelp/QHelpEngine> #include <QtHelp/QHelpIndexWidget> -IndexWindow::IndexWindow(QHelpEngine *helpEngine, QWidget *parent) - : QWidget(parent) - , m_searchLineEdit(0) +IndexWindow::IndexWindow() + : m_searchLineEdit(0) , m_indexWidget(0) { QVBoxLayout *layout = new QVBoxLayout(this); |