summaryrefslogtreecommitdiffstats
path: root/doc/scripting-api/gui.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/scripting-api/gui.qdoc')
-rw-r--r--doc/scripting-api/gui.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/scripting-api/gui.qdoc b/doc/scripting-api/gui.qdoc
index 5883fb50c..4a669a769 100644
--- a/doc/scripting-api/gui.qdoc
+++ b/doc/scripting-api/gui.qdoc
@@ -168,3 +168,10 @@
/*!
\qmlmethod void gui::setModified(boolean value)
*/
+
+/*!
+ \qmlmethod void gui::setTextItems(object control, string[] items)
+
+ Updates the model of \a control (which must be a QComboBox or QAbstractItemView)
+ such that it contains the given \a items.
+*/