src/corelib/kernel/qbasictimer.cpp
changeset 37 758a864f9613
parent 18 2f34d5167611
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
    52     \ingroup events
    52     \ingroup events
    53 
    53 
    54     This is a fast, lightweight, and low-level class used by Qt
    54     This is a fast, lightweight, and low-level class used by Qt
    55     internally. We recommend using the higher-level QTimer class
    55     internally. We recommend using the higher-level QTimer class
    56     rather than this class if you want to use timers in your
    56     rather than this class if you want to use timers in your
    57     applications.
    57     applications. Note that this timer is a repeating timer that
       
    58     will send subsequent timer events unless the stop() function is called.
    58 
    59 
    59     To use this class, create a QBasicTimer, and call its start()
    60     To use this class, create a QBasicTimer, and call its start()
    60     function with a timeout interval and with a pointer to a QObject
    61     function with a timeout interval and with a pointer to a QObject
    61     subclass. When the timer times out it will send a timer event to
    62     subclass. When the timer times out it will send a timer event to
    62     the QObject subclass. The timer can be stopped at any time using
    63     the QObject subclass. The timer can be stopped at any time using
    86 */
    87 */
    87 
    88 
    88 /*!
    89 /*!
    89     \fn bool QBasicTimer::isActive() const
    90     \fn bool QBasicTimer::isActive() const
    90 
    91 
    91     Returns true if the timer is running, has not yet timed
    92     Returns true if the timer is running and has not been stopped; otherwise
    92     out, and has not been stopped; otherwise returns false.
    93     returns false.
    93 
    94 
    94     \sa start() stop()
    95     \sa start() stop()
    95 */
    96 */
    96 
    97 
    97 /*!
    98 /*!