rajeshs
1st September 2008, 06:05
hi,
I am using QTimer in my code, i created QTimer object and connectecd timeout signal to one slot. I am giving 5 millisec timeout for timer. but that slot is not calling after timeout.
Any specific way to use the timer?
My code is:
m_pTimer = new QTimer();
connect(m_pTimer, SIGNAL(timeout()), this, SLOT(TimerNotification()));
in buttonClick function:
m_pTimer->start(2000);
I am using QTimer in my code, i created QTimer object and connectecd timeout signal to one slot. I am giving 5 millisec timeout for timer. but that slot is not calling after timeout.
Any specific way to use the timer?
My code is:
m_pTimer = new QTimer();
connect(m_pTimer, SIGNAL(timeout()), this, SLOT(TimerNotification()));
in buttonClick function:
m_pTimer->start(2000);