aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativetimer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/util/qdeclarativetimer.cpp')
-rw-r--r--src/declarative/util/qdeclarativetimer.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/declarative/util/qdeclarativetimer.cpp b/src/declarative/util/qdeclarativetimer.cpp
index de3e6ce44d..de37f60bf5 100644
--- a/src/declarative/util/qdeclarativetimer.cpp
+++ b/src/declarative/util/qdeclarativetimer.cpp
@@ -70,8 +70,8 @@ public:
/*!
\qmlclass Timer QDeclarativeTimer
+ \inqmlmodule QtQuick 2
\ingroup qml-utility-elements
- \since 4.7
\brief The Timer item triggers a handler at a specified interval.
A Timer can be used to trigger an action either once, or repeatedly
@@ -118,7 +118,7 @@ QDeclarativeTimer::QDeclarativeTimer(QObject *parent)
}
/*!
- \qmlproperty int Timer::interval
+ \qmlproperty int QtQuick2::Timer::interval
Sets the \a interval between triggers, in milliseconds.
@@ -141,7 +141,7 @@ int QDeclarativeTimer::interval() const
}
/*!
- \qmlproperty bool Timer::running
+ \qmlproperty bool QtQuick2::Timer::running
If set to true, starts the timer; otherwise stops the timer.
For a non-repeating timer, \a running is set to false after the
@@ -169,7 +169,7 @@ void QDeclarativeTimer::setRunning(bool running)
}
/*!
- \qmlproperty bool Timer::repeat
+ \qmlproperty bool QtQuick2::Timer::repeat
If \a repeat is true the timer is triggered repeatedly at the
specified interval; otherwise, the timer will trigger once at the
@@ -196,7 +196,7 @@ void QDeclarativeTimer::setRepeating(bool repeating)
}
/*!
- \qmlproperty bool Timer::triggeredOnStart
+ \qmlproperty bool QtQuick2::Timer::triggeredOnStart
When a timer is started, the first trigger is usually after the specified
interval has elapsed. It is sometimes desirable to trigger immediately
@@ -229,7 +229,7 @@ void QDeclarativeTimer::setTriggeredOnStart(bool triggeredOnStart)
}
/*!
- \qmlmethod Timer::start()
+ \qmlmethod QtQuick2::Timer::start()
\brief Starts the timer.
If the timer is already running, calling this method has no effect. The
@@ -241,7 +241,7 @@ void QDeclarativeTimer::start()
}
/*!
- \qmlmethod Timer::stop()
+ \qmlmethod QtQuick2::Timer::stop()
\brief Stops the timer.
If the timer is not running, calling this method has no effect. The
@@ -253,7 +253,7 @@ void QDeclarativeTimer::stop()
}
/*!
- \qmlmethod Timer::restart()
+ \qmlmethod QtQuick2::Timer::restart()
\brief Restarts the timer.
If the Timer is not running it will be started, otherwise it will be
@@ -298,7 +298,7 @@ void QDeclarativeTimer::componentComplete()
}
/*!
- \qmlsignal Timer::onTriggered()
+ \qmlsignal QtQuick2::Timer::onTriggered()
This handler is called when the Timer is triggered.
*/