aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickevents.cpp
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@theqtcompany.com>2014-10-12 11:59:13 +0200
committerMitch Curtis <mitch.curtis@digia.com>2014-10-13 11:11:55 +0200
commitf97c03441b8c46ada314f47295ebff4e98bb646e (patch)
tree95ef0ae366c30f4a074d6cd990c2722fb88eaac6 /src/quick/items/qquickevents.cpp
parent099ae0597df6f6bbd0b9e05d063a4a58c9cae2ff (diff)
Correct KeyEvent::key documentation.
"text" is a property, not a function. Change-Id: I02158d550ff174076396810dca007df1d734bda5 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/quick/items/qquickevents.cpp')
-rw-r--r--src/quick/items/qquickevents.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/quick/items/qquickevents.cpp b/src/quick/items/qquickevents.cpp
index 2ae846a750..e34df86a77 100644
--- a/src/quick/items/qquickevents.cpp
+++ b/src/quick/items/qquickevents.cpp
@@ -61,8 +61,7 @@ Item {
See \l {Qt::Key}{Qt.Key} for the list of keyboard codes. These codes are
independent of the underlying window system. Note that this
function does not distinguish between capital and non-capital
- letters, use the text() function (returning the Unicode text the
- key generated) for this purpose.
+ letters; use the \l {KeyEvent::}{text} property for this purpose.
A value of either 0 or \l {Qt::Key_unknown}{Qt.Key_Unknown} means that the event is not
the result of a known key; for example, it may be the result of