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.
Showing
- src/plugins/help/centralwidget.cpp 2 additions, 2 deletionssrc/plugins/help/centralwidget.cpp
- src/plugins/help/centralwidget.h 1 addition, 2 deletionssrc/plugins/help/centralwidget.h
- src/plugins/help/docsettingspage.cpp 8 additions, 12 deletionssrc/plugins/help/docsettingspage.cpp
- src/plugins/help/docsettingspage.h 0 additions, 4 deletionssrc/plugins/help/docsettingspage.h
- src/plugins/help/filtersettingspage.cpp 4 additions, 9 deletionssrc/plugins/help/filtersettingspage.cpp
- src/plugins/help/filtersettingspage.h 2 additions, 1 deletionsrc/plugins/help/filtersettingspage.h
- src/plugins/help/generalsettingspage.cpp 5 additions, 15 deletionssrc/plugins/help/generalsettingspage.cpp
- src/plugins/help/generalsettingspage.h 1 addition, 8 deletionssrc/plugins/help/generalsettingspage.h
- src/plugins/help/helpmanager.cpp 9 additions, 0 deletionssrc/plugins/help/helpmanager.cpp
- src/plugins/help/helpplugin.cpp 268 additions, 458 deletionssrc/plugins/help/helpplugin.cpp
- src/plugins/help/helpplugin.h 13 additions, 48 deletionssrc/plugins/help/helpplugin.h
- src/plugins/help/searchwidget.cpp 68 additions, 26 deletionssrc/plugins/help/searchwidget.cpp
- src/plugins/help/searchwidget.h 18 additions, 10 deletionssrc/plugins/help/searchwidget.h
- src/shared/help/bookmarkmanager.cpp 5 additions, 5 deletionssrc/shared/help/bookmarkmanager.cpp
- src/shared/help/bookmarkmanager.h 1 addition, 2 deletionssrc/shared/help/bookmarkmanager.h
- src/shared/help/contentwindow.cpp 1 addition, 1 deletionsrc/shared/help/contentwindow.cpp
- src/shared/help/contentwindow.h 1 addition, 2 deletionssrc/shared/help/contentwindow.h
- src/shared/help/indexwindow.cpp 2 additions, 3 deletionssrc/shared/help/indexwindow.cpp
- src/shared/help/indexwindow.h 1 addition, 2 deletionssrc/shared/help/indexwindow.h
Loading
Please register or sign in to comment