153QHelpSearchEngineCore::QHelpSearchEngineCore(QHelpEngineCore *helpEngine, QObject *parent)
154 : QObject(*
new QHelpSearchEngineCorePrivate, parent)
156 Q_D(QHelpSearchEngineCore);
157 d->m_helpEngine = helpEngine;
158 connect(helpEngine, &QHelpEngineCore::setupFinished,
159 this, &QHelpSearchEngineCore::scheduleIndexDocumentation);
250void QHelpSearchEngineCore::scheduleIndexDocumentation()
252 Q_D(QHelpSearchEngineCore);
253 if (d->m_isIndexingScheduled)
256 d->m_isIndexingScheduled =
true;
257 QTimer::singleShot(0,
this, [
this] {
258 Q_D(QHelpSearchEngineCore);
259 d->m_isIndexingScheduled =
false;
260 d->updateIndex(
false);