summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2015-08-19 13:57:20 +0200
committerShawn Rutledge <shawn.rutledge@theqtcompany.com>2015-08-24 07:28:40 +0000
commitbd2ebbdb9a759b6f078cf7fb2fe6a0ac9d48b4fe (patch)
tree260278fa823f4ed1a2efc16555c6bd1eeb3af76d /src/gui/kernel/qevent.cpp
parent5c9e94fb9b2c33790f04b497ca1e24ea54707c7c (diff)
QInputEvent: document that timestamp() is in milliseconds
Task-number: QTBUG-39459 Change-Id: Ie76f3c2f6fe81746d3ea646f0c2f0d47ec3ef252 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/gui/kernel/qevent.cpp')
-rw-r--r--src/gui/kernel/qevent.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index 3873976144..780a102644 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -171,6 +171,8 @@ QInputEvent::~QInputEvent()
\fn ulong QInputEvent::timestamp() const
Returns the window system's timestamp for this event.
+ It will normally be in milliseconds since some arbitrary point
+ in time, such as the time when the system was started.
*/
/*! \fn void QInputEvent::setTimestamp(ulong atimestamp)