equal
deleted
inserted
replaced
65 Q_OBJECT |
65 Q_OBJECT |
66 Q_PROPERTY(QString errorString READ errorString) |
66 Q_PROPERTY(QString errorString READ errorString) |
67 Q_PROPERTY(RestorePolicy globalRestorePolicy READ globalRestorePolicy WRITE setGlobalRestorePolicy) |
67 Q_PROPERTY(RestorePolicy globalRestorePolicy READ globalRestorePolicy WRITE setGlobalRestorePolicy) |
68 Q_ENUMS(RestorePolicy) |
68 Q_ENUMS(RestorePolicy) |
69 #ifndef QT_NO_ANIMATION |
69 #ifndef QT_NO_ANIMATION |
70 Q_PROPERTY(bool animationsEnabled READ animationsEnabled WRITE setAnimationsEnabled) |
70 Q_PROPERTY(bool animated READ isAnimated WRITE setAnimated) |
71 #endif |
71 #endif |
72 public: |
72 public: |
73 class SignalEvent : public QEvent |
73 class Q_CORE_EXPORT SignalEvent : public QEvent |
74 { |
74 { |
75 public: |
75 public: |
76 SignalEvent(QObject *sender, int signalIndex, |
76 SignalEvent(QObject *sender, int signalIndex, |
77 const QList<QVariant> &arguments); |
77 const QList<QVariant> &arguments); |
78 ~SignalEvent(); |
78 ~SignalEvent(); |
87 QList<QVariant> m_arguments; |
87 QList<QVariant> m_arguments; |
88 |
88 |
89 friend class QSignalTransitionPrivate; |
89 friend class QSignalTransitionPrivate; |
90 }; |
90 }; |
91 |
91 |
92 class WrappedEvent : public QEvent |
92 class Q_CORE_EXPORT WrappedEvent : public QEvent |
93 { |
93 { |
94 public: |
94 public: |
95 WrappedEvent(QObject *object, QEvent *event); |
95 WrappedEvent(QObject *object, QEvent *event); |
96 ~WrappedEvent(); |
96 ~WrappedEvent(); |
97 |
97 |
107 NormalPriority, |
107 NormalPriority, |
108 HighPriority |
108 HighPriority |
109 }; |
109 }; |
110 |
110 |
111 enum RestorePolicy { |
111 enum RestorePolicy { |
112 DoNotRestoreProperties, |
112 DontRestoreProperties, |
113 RestoreProperties |
113 RestoreProperties |
114 }; |
114 }; |
115 |
115 |
116 enum Error { |
116 enum Error { |
117 NoError, |
117 NoError, |
131 void clearError(); |
131 void clearError(); |
132 |
132 |
133 bool isRunning() const; |
133 bool isRunning() const; |
134 |
134 |
135 #ifndef QT_NO_ANIMATION |
135 #ifndef QT_NO_ANIMATION |
136 bool animationsEnabled() const; |
136 bool isAnimated() const; |
137 void setAnimationsEnabled(bool enabled); |
137 void setAnimated(bool enabled); |
138 |
138 |
139 void addDefaultAnimation(QAbstractAnimation *animation); |
139 void addDefaultAnimation(QAbstractAnimation *animation); |
140 QList<QAbstractAnimation *> defaultAnimations() const; |
140 QList<QAbstractAnimation *> defaultAnimations() const; |
141 void removeDefaultAnimation(QAbstractAnimation *animation); |
141 void removeDefaultAnimation(QAbstractAnimation *animation); |
142 #endif // QT_NO_ANIMATION |
142 #endif // QT_NO_ANIMATION |