diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-21 10:34:44 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-21 10:37:19 (GMT) |
commit | 161b86b962f3bfb3e9663eaf3e00bd6849f03211 (patch) | |
tree | ad1f2f0a860dde2f3ca56a0bb939e0461ad164de /src/corelib/statemachine/qeventtransition.h | |
parent | d2bdb1f0e12a289c0be7ef720b12d1f4b5287a02 (diff) | |
download | Qt-161b86b962f3bfb3e9663eaf3e00bd6849f03211.zip Qt-161b86b962f3bfb3e9663eaf3e00bd6849f03211.tar.gz Qt-161b86b962f3bfb3e9663eaf3e00bd6849f03211.tar.bz2 |
rename QEventTransition::eventObject to eventSource
eventObject was a horrible name. The documentation already used the
term "event source", so let's call it that.
Agreed with Eskil.
Diffstat (limited to 'src/corelib/statemachine/qeventtransition.h')
-rw-r--r-- | src/corelib/statemachine/qeventtransition.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/statemachine/qeventtransition.h b/src/corelib/statemachine/qeventtransition.h index 6cf6a96..941bfa5 100644 --- a/src/corelib/statemachine/qeventtransition.h +++ b/src/corelib/statemachine/qeventtransition.h @@ -57,15 +57,15 @@ class QEventTransitionPrivate; class Q_CORE_EXPORT QEventTransition : public QAbstractTransition { Q_OBJECT - Q_PROPERTY(QObject* eventObject READ eventObject WRITE setEventObject) + Q_PROPERTY(QObject* eventSource READ eventSource WRITE setEventSource) Q_PROPERTY(QEvent::Type eventType READ eventType WRITE setEventType) public: QEventTransition(QState *sourceState = 0); QEventTransition(QObject *object, QEvent::Type type, QState *sourceState = 0); ~QEventTransition(); - QObject *eventObject() const; - void setEventObject(QObject *object); + QObject *eventSource() const; + void setEventSource(QObject *object); QEvent::Type eventType() const; void setEventType(QEvent::Type type); |