/****************************************************************************
**
-** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
+** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/
**
** This file is part of the QtDeclarative module of the Qt Toolkit.
**
**
**
**
+**
** $QT_END_LICENSE$
**
****************************************************************************/
/*!
\qmlclass Timer QDeclarative1Timer
+ \inqmlmodule QtQuick 1
\ingroup qml-utility-elements
- \since 4.7
+ \since QtQuick 1.0
\brief The Timer item triggers a handler at a specified interval.
A Timer can be used to trigger an action either once, or repeatedly
}
/*!
- \qmlproperty int Timer::interval
+ \qmlproperty int QtQuick1::Timer::interval
Sets the \a interval between triggers, in milliseconds.
}
/*!
- \qmlproperty bool Timer::running
+ \qmlproperty bool QtQuick1::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
}
/*!
- \qmlproperty bool Timer::repeat
+ \qmlproperty bool QtQuick1::Timer::repeat
If \a repeat is true the timer is triggered repeatedly at the
specified interval; otherwise, the timer will trigger once at the
}
/*!
- \qmlproperty bool Timer::triggeredOnStart
+ \qmlproperty bool QtQuick1::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
}
/*!
- \qmlmethod Timer::start()
+ \qmlmethod QtQuick1::Timer::start()
\brief Starts the timer.
If the timer is already running, calling this method has no effect. The
}
/*!
- \qmlmethod Timer::stop()
+ \qmlmethod QtQuick1::Timer::stop()
\brief Stops the timer.
If the timer is not running, calling this method has no effect. The
}
/*!
- \qmlmethod Timer::restart()
+ \qmlmethod QtQuick1::Timer::restart()
\brief Restarts the timer.
If the Timer is not running it will be started, otherwise it will be
}
/*!
- \qmlsignal Timer::onTriggered()
+ \qmlsignal QtQuick1::Timer::onTriggered()
This handler is called when the Timer is triggered.
*/