Naaz
Naaz

Reputation: 273

Timer in QT 4.6 ver

IS there any possible substitute of Qtimer? that maybe less developed that Qtimer thats found in 4.7 and above versions, I have QT4.6.3. from which I cannot deviate/move forward from so I wanted to know timers that would be 4.6 qt compatible?

Upvotes: 0

Views: 84

Answers (1)

asclepix
asclepix

Reputation: 8061

QTimer was available even in Qt 3.x.

However if you need something more simple you can use QObject::startTimer() for your object and reimplement the QObject::timerEvent() event handler in your class (which must inherit QObject).

Another alternative is to use QBasicTimer.

For more info see (for Qt 4.6): http://doc.qt.digia.com/4.6/timers.html

Upvotes: 2

Related Questions