summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-04-16 03:48:58 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-04-16 03:48:58 (GMT)
commit5595ad768309b27c2c20376105f8715082b616bf (patch)
tree4fb1674615fd4f7571793920da6c2f4f30acc500 /src
parentab93420dfd9ebcde01e1aecc0729133803014719 (diff)
downloadQt-5595ad768309b27c2c20376105f8715082b616bf.zip
Qt-5595ad768309b27c2c20376105f8715082b616bf.tar.gz
Qt-5595ad768309b27c2c20376105f8715082b616bf.tar.bz2
Add parent property to Timer
Task-number: QTBUG-9949
Diffstat (limited to 'src')
-rw-r--r--src/declarative/util/qdeclarativetimer_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativetimer_p.h b/src/declarative/util/qdeclarativetimer_p.h
index d1e6630..08c3d4e 100644
--- a/src/declarative/util/qdeclarativetimer_p.h
+++ b/src/declarative/util/qdeclarativetimer_p.h
@@ -63,6 +63,7 @@ class Q_DECLARATIVE_EXPORT QDeclarativeTimer : public QObject, public QDeclarati
Q_PROPERTY(bool running READ isRunning WRITE setRunning NOTIFY runningChanged)
Q_PROPERTY(bool repeat READ isRepeating WRITE setRepeating NOTIFY repeatChanged)
Q_PROPERTY(bool triggeredOnStart READ triggeredOnStart WRITE setTriggeredOnStart NOTIFY triggeredOnStartChanged)
+ Q_PROPERTY(QObject *parent READ parent CONSTANT)
public:
QDeclarativeTimer(QObject *parent=0);