aboutsummaryrefslogtreecommitdiffstats
path: root/src/qtquick1/graphicsitems/qdeclarativeevents.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-07-15 09:02:55 +1000
committerQt by Nokia <qt-info@nokia.com>2011-07-21 04:05:19 +0200
commit6b8e98aec3f382fedea704691da40376cbe88e5e (patch)
treec2d6bf149afbfe8961a49ada92c90677a8aa3845 /src/qtquick1/graphicsitems/qdeclarativeevents.cpp
parent0592e17e18e26acc177bc7556a3c9888582f0045 (diff)
Bulk update of QtQuick 1 docs to \qmlmodule syntax
Change-Id: I7ed2b54ef5a706dcaf7e19d221a6dda7b2620e8c Reviewed-on: http://codereview.qt.nokia.com/1681 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'src/qtquick1/graphicsitems/qdeclarativeevents.cpp')
-rw-r--r--src/qtquick1/graphicsitems/qdeclarativeevents.cpp32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/qtquick1/graphicsitems/qdeclarativeevents.cpp b/src/qtquick1/graphicsitems/qdeclarativeevents.cpp
index 227ad6d662..043f6820c2 100644
--- a/src/qtquick1/graphicsitems/qdeclarativeevents.cpp
+++ b/src/qtquick1/graphicsitems/qdeclarativeevents.cpp
@@ -46,7 +46,8 @@ QT_BEGIN_NAMESPACE
/*!
\qmlclass KeyEvent QDeclarative1KeyEvent
- \since 4.7
+ \inqmlmodule QtQuick 1
+ \since QtQuick 1.0
\ingroup qml-event-elements
\brief The KeyEvent object provides information about a key event.
@@ -62,7 +63,7 @@ Item {
*/
/*!
- \qmlproperty int KeyEvent::key
+ \qmlproperty int QtQuick1::KeyEvent::key
This property holds the code of the key that was pressed or released.
@@ -79,7 +80,7 @@ Item {
*/
/*!
- \qmlproperty string KeyEvent::text
+ \qmlproperty string QtQuick1::KeyEvent::text
This property holds the Unicode text that the key generated.
The text returned can be an empty string in cases where modifier keys,
@@ -88,20 +89,20 @@ Item {
*/
/*!
- \qmlproperty bool KeyEvent::isAutoRepeat
+ \qmlproperty bool QtQuick1::KeyEvent::isAutoRepeat
This property holds whether this event comes from an auto-repeating key.
*/
/*!
- \qmlproperty int KeyEvent::count
+ \qmlproperty int QtQuick1::KeyEvent::count
This property holds the number of keys involved in this event. If \l KeyEvent::text
is not empty, this is simply the length of the string.
*/
/*!
- \qmlproperty bool KeyEvent::accepted
+ \qmlproperty bool QtQuick1::KeyEvent::accepted
Setting \a accepted to true prevents the key event from being
propagated to the item's parent.
@@ -111,7 +112,7 @@ Item {
*/
/*!
- \qmlproperty int KeyEvent::modifiers
+ \qmlproperty int QtQuick1::KeyEvent::modifiers
This property holds the keyboard modifier flags that existed immediately
before the event occurred.
@@ -141,7 +142,8 @@ Item {
/*!
\qmlclass MouseEvent QDeclarative1MouseEvent
- \since 4.7
+ \inqmlmodule QtQuick 1
+ \since QtQuick 1.0
\ingroup qml-event-elements
\brief The MouseEvent object provides information about a mouse event.
@@ -158,15 +160,15 @@ Item {
*/
/*!
- \qmlproperty int MouseEvent::x
- \qmlproperty int MouseEvent::y
+ \qmlproperty int QtQuick1::MouseEvent::x
+ \qmlproperty int QtQuick1::MouseEvent::y
These properties hold the coordinates of the position supplied by the mouse event.
*/
/*!
- \qmlproperty bool MouseEvent::accepted
+ \qmlproperty bool QtQuick1::MouseEvent::accepted
Setting \a accepted to true prevents the mouse event from being
propagated to items below this item.
@@ -176,7 +178,7 @@ Item {
*/
/*!
- \qmlproperty enumeration MouseEvent::button
+ \qmlproperty enumeration QtQuick1::MouseEvent::button
This property holds the button that caused the event. It can be one of:
\list
@@ -187,14 +189,14 @@ Item {
*/
/*!
- \qmlproperty bool MouseEvent::wasHeld
+ \qmlproperty bool QtQuick1::MouseEvent::wasHeld
This property is true if the mouse button has been held pressed longer the
threshold (800ms).
*/
/*!
- \qmlproperty int MouseEvent::buttons
+ \qmlproperty int QtQuick1::MouseEvent::buttons
This property holds the mouse buttons pressed when the event was generated.
For mouse move events, this is all buttons that are pressed down. For mouse
@@ -210,7 +212,7 @@ Item {
*/
/*!
- \qmlproperty int MouseEvent::modifiers
+ \qmlproperty int QtQuick1::MouseEvent::modifiers
This property holds the keyboard modifier flags that existed immediately
before the event occurred.