Reputation: 273
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
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