Plasma
animationscriptengine.cpp
Go to the documentation of this file.
169 return context->throwError(i18n("%1 is not a known animation type", context->argument(0).isString()));
177 global.setProperty("registerAnimation", inst->newFunction(AnimationScriptEngine::registerAnimation));
179 global.setProperty("ParallelAnimationGroup", inst->newFunction(AnimationScriptEngine::parallelAnimationGroup));
QObject * extractParent(QScriptContext *context, QScriptEngine *engine)
Definition: animationscriptengine.cpp:99
QScriptEngine * globalEngine()
Definition: animationscriptengine.cpp:172
bool loadScript(const QString &path, const QString &prefix)
Definition: animationscriptengine.cpp:187
void addToLoadFailures(const QString &anim)
Definition: animationscriptengine.cpp:65
QScriptValue animation(const QString &anim)
Definition: animationscriptengine.cpp:55
QScriptValue parallelAnimationGroup(QScriptContext *context, QScriptEngine *engine)
Definition: animationscriptengine.cpp:116
void clearAnimations()
Definition: animationscriptengine.cpp:75
bool animationFailedToLoad(const QString &anim)
Definition: animationscriptengine.cpp:70
QScriptValue registerAnimation(QScriptContext *context, QScriptEngine *engine)
Definition: animationscriptengine.cpp:83
QScriptValue animationGroup(QScriptContext *context, QScriptEngine *engine)
Definition: animationscriptengine.cpp:105
static Plasma::Animation * create(Animator::Animation type, QObject *parent=0)
Factory to build new animation objects.
Definition: animator.cpp:61
void registerEnums(QScriptValue &scriptValue, const QMetaObject &meta)
Definition: animationscriptengine.cpp:127
bool isAnimationRegistered(const QString &anim)
Definition: animationscriptengine.cpp:60
QHash< QString, QScriptValue > s_animFuncs
Definition: animationscriptengine.cpp:51
QScriptValue constructEasingCurveClass(QScriptEngine *engine)
Definition: easingcurve.cpp:97
QSet< QString > s_animFailures
Definition: animationscriptengine.cpp:52
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.