animation direction

svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073408
This commit is contained in:
Aaron J. Seigo 2010-01-12 08:06:09 +00:00
parent a66fde4352
commit 5d2b90e6f7

View File

@ -21,6 +21,7 @@
#ifndef APPLETINTERFACE_H
#define APPLETINTERFACE_H
#include <QAbstractAnimation>
#include <QObject>
#include <QSizePolicy>
#include <QScriptValue>
@ -54,6 +55,7 @@ class AppletInterface : public QObject
Q_ENUMS(QtCorner)
Q_ENUMS(QtSizePolicy)
Q_ENUMS(QtAlignment)
Q_ENUMS(AnimationDirection)
Q_PROPERTY(AspectRatioMode aspectRatioMode READ aspectRatioMode WRITE setAspectRatioMode)
Q_PROPERTY(FormFactor formFactor READ formFactor)
Q_PROPERTY(Location location READ location)
@ -170,6 +172,11 @@ enum QtScrollBarPolicy {
QtScrollBarAlwaysOff = Qt::ScrollBarAlwaysOff,
QtScrollBarAlwaysOn = Qt::ScrollBarAlwaysOn
};
enum AnimationDirection {
AnimationForward = QAbstractAnimation::Forward,
AnimationBackward = QAbstractAnimation::Backward
};
//-------------------------------------------------------------------
Q_INVOKABLE void gc();