diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-11-04 03:47:40 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-11-04 03:48:42 (GMT) |
commit | 684fe7af0b6d8133973132fd5b6b01cc16957a10 (patch) | |
tree | b36b7df086818d302921f40aa8661d2381e91ddf /src/declarative/qml/qmlengine_p.h | |
parent | d11f0b71ba8cae27aafc70fedf027f20180837e2 (diff) | |
download | Qt-684fe7af0b6d8133973132fd5b6b01cc16957a10.zip Qt-684fe7af0b6d8133973132fd5b6b01cc16957a10.tar.gz Qt-684fe7af0b6d8133973132fd5b6b01cc16957a10.tar.bz2 |
Add closestAngle function to Qt object to help with rotation animations.
Includes test and doc.
Diffstat (limited to 'src/declarative/qml/qmlengine_p.h')
-rw-r--r-- | src/declarative/qml/qmlengine_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlengine_p.h b/src/declarative/qml/qmlengine_p.h index b050ef6..3c60b5c 100644 --- a/src/declarative/qml/qmlengine_p.h +++ b/src/declarative/qml/qmlengine_p.h @@ -269,6 +269,7 @@ public: static QScriptValue darker(QScriptContext*, QScriptEngine*); static QScriptValue tint(QScriptContext*, QScriptEngine*); + static QScriptValue closestAngle(QScriptContext*, QScriptEngine*); static QScriptValue playSound(QScriptContext*, QScriptEngine*); static QScriptValue desktopOpenUrl(QScriptContext*, QScriptEngine*); |