animation direction
svn path=/branches/KDE/4.4/kdebase/runtime/; revision=1073408
This commit is contained in:
parent
a66fde4352
commit
5d2b90e6f7
@ -21,6 +21,7 @@
|
|||||||
#ifndef APPLETINTERFACE_H
|
#ifndef APPLETINTERFACE_H
|
||||||
#define APPLETINTERFACE_H
|
#define APPLETINTERFACE_H
|
||||||
|
|
||||||
|
#include <QAbstractAnimation>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QSizePolicy>
|
#include <QSizePolicy>
|
||||||
#include <QScriptValue>
|
#include <QScriptValue>
|
||||||
@ -54,6 +55,7 @@ class AppletInterface : public QObject
|
|||||||
Q_ENUMS(QtCorner)
|
Q_ENUMS(QtCorner)
|
||||||
Q_ENUMS(QtSizePolicy)
|
Q_ENUMS(QtSizePolicy)
|
||||||
Q_ENUMS(QtAlignment)
|
Q_ENUMS(QtAlignment)
|
||||||
|
Q_ENUMS(AnimationDirection)
|
||||||
Q_PROPERTY(AspectRatioMode aspectRatioMode READ aspectRatioMode WRITE setAspectRatioMode)
|
Q_PROPERTY(AspectRatioMode aspectRatioMode READ aspectRatioMode WRITE setAspectRatioMode)
|
||||||
Q_PROPERTY(FormFactor formFactor READ formFactor)
|
Q_PROPERTY(FormFactor formFactor READ formFactor)
|
||||||
Q_PROPERTY(Location location READ location)
|
Q_PROPERTY(Location location READ location)
|
||||||
@ -170,6 +172,11 @@ enum QtScrollBarPolicy {
|
|||||||
QtScrollBarAlwaysOff = Qt::ScrollBarAlwaysOff,
|
QtScrollBarAlwaysOff = Qt::ScrollBarAlwaysOff,
|
||||||
QtScrollBarAlwaysOn = Qt::ScrollBarAlwaysOn
|
QtScrollBarAlwaysOn = Qt::ScrollBarAlwaysOn
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum AnimationDirection {
|
||||||
|
AnimationForward = QAbstractAnimation::Forward,
|
||||||
|
AnimationBackward = QAbstractAnimation::Backward
|
||||||
|
};
|
||||||
//-------------------------------------------------------------------
|
//-------------------------------------------------------------------
|
||||||
|
|
||||||
Q_INVOKABLE void gc();
|
Q_INVOKABLE void gc();
|
||||||
|
Loading…
Reference in New Issue
Block a user