summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qcompleter.cpp
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-06-25 14:15:01 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-06-25 14:15:01 (GMT)
commit93e3a72f56d4b9ab020c58a2a3fac79be5fe49eb (patch)
treee372dfb57c7773fe5c671eeb6d5228117752b768 /src/gui/util/qcompleter.cpp
parent962d3938380dde01e2bd4915c51c95f47fafa0ec (diff)
downloadQt-93e3a72f56d4b9ab020c58a2a3fac79be5fe49eb.zip
Qt-93e3a72f56d4b9ab020c58a2a3fac79be5fe49eb.tar.gz
Qt-93e3a72f56d4b9ab020c58a2a3fac79be5fe49eb.tar.bz2
Doc: Indicated that QCompleter::completionModel() returns a proxy model.
Task-number: 256138 Reviewed-by: jasplin
Diffstat (limited to 'src/gui/util/qcompleter.cpp')
-rw-r--r--src/gui/util/qcompleter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/util/qcompleter.cpp b/src/gui/util/qcompleter.cpp
index 3d25f13..f4adcea 100644
--- a/src/gui/util/qcompleter.cpp
+++ b/src/gui/util/qcompleter.cpp
@@ -1582,6 +1582,10 @@ QString QCompleter::currentCompletion() const
that contains all the possible matches for the current completion prefix.
The completion model is auto-updated to reflect the current completions.
+ \note The return value of this function is defined to be an QAbstractItemModel
+ purely for generality. This actual kind of model returned is an instance of an
+ QAbstractProxyModel subclass.
+
\sa completionPrefix, model()
*/
QAbstractItemModel *QCompleter::completionModel() const