Plasma
easingcurve.cpp File Reference
#include <QEasingCurve>
#include <QMetaEnum>
#include <QScriptValue>
#include <QScriptEngine>
#include <QScriptContext>
#include <QScriptable>
Include dependency graph for easingcurve.cpp:
Go to the source code of this file.
Namespaces | |
Plasma | |
Macros | |
#define | ADD_ENUM_VALUE(__c__, __ns__, __v__) __c__.setProperty(#__v__, QScriptValue(__c__.engine(), __ns__::__v__)) |
#define | DECLARE_SELF(Class, __fn__) |
Functions | |
QScriptValue | Plasma::constructEasingCurveClass (QScriptEngine *engine) |
static QScriptValue | Plasma::ctor (QScriptContext *ctx, QScriptEngine *eng) |
static QScriptValue | Plasma::toString (QScriptContext *ctx, QScriptEngine *eng) |
static QScriptValue | Plasma::type (QScriptContext *ctx, QScriptEngine *eng) |
static QScriptValue | Plasma::valueForProgress (QScriptContext *ctx, QScriptEngine *eng) |
Macro Definition Documentation
#define ADD_ENUM_VALUE | ( | __c__, | |
__ns__, | |||
__v__ | |||
) | __c__.setProperty(#__v__, QScriptValue(__c__.engine(), __ns__::__v__)) |
Definition at line 28 of file easingcurve.cpp.
#define DECLARE_SELF | ( | Class, | |
__fn__ | |||
) |
Value:
Class* self = qscriptvalue_cast<Class*>(ctx->thisObject()); \
if (!self) { \
return ctx->throwError(QScriptContext::TypeError, \
QString::fromLatin1("%0.prototype.%1: this object is not a %0") \
.arg(#Class).arg(#__fn__)); \
}
Definition at line 31 of file easingcurve.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:34 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:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.