QInputEvent: document that timestamp() is in milliseconds
authorShawn Rutledge <shawn.rutledge@digia.com>
Wed, 19 Aug 2015 11:57:20 +0000 (13:57 +0200)
committerShawn Rutledge <shawn.rutledge@theqtcompany.com>
Mon, 24 Aug 2015 07:28:40 +0000 (07:28 +0000)
Task-number: QTBUG-39459
Change-Id: Ie76f3c2f6fe81746d3ea646f0c2f0d47ec3ef252
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
src/gui/kernel/qevent.cpp

index 387397614494e948881ffd4ae3baf61bab0d4dda..780a102644927278741f34791b6d07406f21fa07 100644 (file)
@@ -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)