summaryrefslogtreecommitdiffstats
path: root/src/assistant/help/qhelpsearchengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/assistant/help/qhelpsearchengine.cpp')
-rw-r--r--src/assistant/help/qhelpsearchengine.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/assistant/help/qhelpsearchengine.cpp b/src/assistant/help/qhelpsearchengine.cpp
index 1053a9b6e..507fb2dbc 100644
--- a/src/assistant/help/qhelpsearchengine.cpp
+++ b/src/assistant/help/qhelpsearchengine.cpp
@@ -433,6 +433,7 @@ QHelpSearchResultWidget* QHelpSearchEngine::resultWidget()
return d->resultWidget;
}
+#if QT_DEPRECATED_SINCE(5, 9)
/*!
\deprecated
Use searchResultCount() instead.
@@ -451,6 +452,7 @@ int QHelpSearchEngine::hitCount() const
{
return d->searchResultCount();
}
+#endif // QT_DEPRECATED_SINCE(5, 9)
/*!
\since 5.9
@@ -461,6 +463,7 @@ int QHelpSearchEngine::searchResultCount() const
return d->searchResultCount();
}
+#if QT_DEPRECATED_SINCE(5, 9)
/*!
\typedef QHelpSearchEngine::SearchHit
\deprecated
@@ -484,6 +487,7 @@ QList<QHelpSearchEngine::SearchHit> QHelpSearchEngine::hits(int start, int end)
hits.append(qMakePair(result.url().toString(), result.title()));
return hits;
}
+#endif // QT_DEPRECATED_SINCE(5, 9)
/*!
\since 5.9
@@ -504,6 +508,7 @@ QString QHelpSearchEngine::searchInput() const
return d->m_searchInput;
}
+#if QT_DEPRECATED_SINCE(5, 9)
/*!
\deprecated
\since 4.5
@@ -514,6 +519,7 @@ QList<QHelpSearchQuery> QHelpSearchEngine::query() const
return QList<QHelpSearchQuery>() << QHelpSearchQuery(QHelpSearchQuery::DEFAULT,
d->m_searchInput.split(QChar::Space));
}
+#endif // QT_DEPRECATED_SINCE(5, 9)
/*!
Forces the search engine to reindex all documentation files.
@@ -561,6 +567,7 @@ void QHelpSearchEngine::search(const QString &searchInput)
d->search(searchInput);
}
+#if QT_DEPRECATED_SINCE(5, 9)
/*!
\deprecated
Use search(const QString &searchInput) instead.
@@ -572,6 +579,7 @@ void QHelpSearchEngine::search(const QList<QHelpSearchQuery> &queryList)
d->search(queryList.first().wordList.join(QChar::Space));
}
+#endif // QT_DEPRECATED_SINCE(5, 9)
/*!
\internal