summaryrefslogtreecommitdiffstats
path: root/tools/assistant/lib/qhelpsearchengine.h
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>2009-11-06 11:58:19 (GMT)
committerMarius Storm-Olsen <marius.storm-olsen@nokia.com>2009-11-09 11:11:02 (GMT)
commita2a3adf7de2ffc9784fea177a43f3124862a992a (patch)
treef9e8f7509c93da5f214097cc286569f9e8617dcc /tools/assistant/lib/qhelpsearchengine.h
parent4ad31892d735e6f1a7afffbf0bf8028663855adb (diff)
downloadQt-a2a3adf7de2ffc9784fea177a43f3124862a992a.zip
Qt-a2a3adf7de2ffc9784fea177a43f3124862a992a.tar.gz
Qt-a2a3adf7de2ffc9784fea177a43f3124862a992a.tar.bz2
API review: *Count() are not plural
Obsolete the plural version, and replace its usage in Qt. Reviewed-by: Andreas Aardal Hanssen
Diffstat (limited to 'tools/assistant/lib/qhelpsearchengine.h')
-rw-r--r--tools/assistant/lib/qhelpsearchengine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/assistant/lib/qhelpsearchengine.h b/tools/assistant/lib/qhelpsearchengine.h
index 1d53411..21f04c5 100644
--- a/tools/assistant/lib/qhelpsearchengine.h
+++ b/tools/assistant/lib/qhelpsearchengine.h
@@ -86,7 +86,8 @@ public:
QHelpSearchQueryWidget* queryWidget();
QHelpSearchResultWidget* resultWidget();
- int hitsCount() const;
+ QT_DEPRECATED int hitsCount() const;
+ int hitCount() const;
typedef QPair<QString, QString> SearchHit;
QList<SearchHit> hits(int start, int end) const;