#include <timerthread.h>
Public Slots | |
| void | setSceneInterval (double) |
| void | setItemInterval (double) |
Signals | |
| void | updateScene () |
| void | updateItem () |
Public Member Functions | |
| TimerThread () | |
| void | start (Priority priority=InheritPriority) |
| void | stop () |
| void | kill () |
Private Member Functions | |
| void | run () |
Private Attributes | |
| QTimer | m_timerScene |
| QTimer | m_timerItem |
| bool | m_abort |
| TimerThread::TimerThread | ( | ) |
| void TimerThread::kill | ( | ) |
kills the thread
| void TimerThread::setItemInterval | ( | double | s | ) | [slot] |
| s | sets the item update signal interval in seconds |
| void TimerThread::setSceneInterval | ( | double | s | ) | [slot] |
| s | sets the scene update signal interval in seconds |
| void TimerThread::start | ( | Priority | priority = InheritPriority |
) |
starts the update signal
| Priority | is the thread priority level |
| void TimerThread::stop | ( | ) |
stops the update signal
| void TimerThread::updateItem | ( | ) | [signal] |
| void TimerThread::updateScene | ( | ) | [signal] |
bool TimerThread::m_abort [private] |
QTimer TimerThread::m_timerItem [private] |
QTimer TimerThread::m_timerScene [private] |
1.4.7