summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-05-07 12:01:46 +0200
committerSergio Ahumada <sergio.ahumada@digia.com>2013-05-07 12:02:41 +0200
commitdb44b891fb8710121fec7dc4fa3bd91493dc2a1c (patch)
treef6729181387ac4a4e4fa2dad445febebba25812b /src/gui/kernel
parentc917579a15d60a7b70c5fc5f00f6451da7c4e608 (diff)
parent95045168470f8865263145b86597b6641b4cc035 (diff)
Merge branch 'stable' into dev
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qevent.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index c5be379b7d..ba97db4d39 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -947,11 +947,14 @@ QKeyEvent::~QKeyEvent()
/*!
\fn QString QKeyEvent::text() const
- Returns the Unicode text that this key generated. The text
- returned can be an empty string in cases
- where modifier keys, such as Shift, Control, Alt, and Meta,
- are being pressed or released. In such cases key() will contain
- a valid value.
+ Returns the Unicode text that this key generated.
+
+ Return values when modifier keys such as
+ Shift, Control, Alt, and Meta are pressed
+ differ among platforms and could return an empty string.
+
+ \note \l key() will always return a valid value,
+ independent of modifier keys.
\sa Qt::WA_KeyCompression
*/