PDA

View Full Version : System time changed event



varunjajee
7th April 2009, 13:08
Hi,

Is it possible to get a event when the system time is changed?

I am using QTimer class to generate a timer event every 15 mins. when the system Time or date is changed i want to reset the timer, I could not find any class to get the system time changed event. please advise.

-Varun

talk2amulya
7th April 2009, 14:25
use winEventFilter(..) and catch WM_TIMECHANGE..specific to windows of course

varunjajee
8th April 2009, 07:05
thank you amulya,
but i am developing on cross platform.. :o