Re: sensing change in System Clock using Qt

2010-01-31 Thread David Greaves
ibrahim wrote: remi.denis-courm...@nokia.com wrote: Hello, - Message d'origine - But the problem that can face me is the case when the user changes his clock settings (i.e adjust phone's time to a different time). in this case, the timer that has been set to some fixed

Re: sensing change in System Clock using Qt

2010-01-31 Thread ibrahim
David Greaves wrote: ibrahim wrote: remi.denis-courm...@nokia.com wrote: Hello, - Message d'origine - But the problem that can face me is the case when the user changes his clock settings (i.e adjust phone's time to a different time). in this case, the timer that

Re: sensing change in System Clock using Qt

2010-01-31 Thread Faheem Pervez
There are many D-Bus signals emitted when the time zone changes. Try and make the effort to run dbus-monitor --system, please. Failing that, the following pages exist: http://maemo.org/api_refs/5.0/5.0-final/libosso/group__Time.html http://maemo.org/api_refs/5.0/5.0-final/clockd/ Best Regards,

Re: sensing change in System Clock using Qt

2010-01-31 Thread nomrasco
ibrahim wrote: I am very sorry for not making my question clear enough. But the situation you just described is JUST what I want to do! Yes, I want to do something exactly as you described; I am now at 4:00 am, I need to make my app do something at - say - 8:00 am (the time of the alarm is

Re: sensing change in System Clock using Qt

2010-01-31 Thread ibrahim
nomrasco wrote: ibrahim wrote: I am very sorry for not making my question clear enough. But the situation you just described is JUST what I want to do! Yes, I want to do something exactly as you described; I am now at 4:00 am, I need to make my app do something at - say - 8:00 am (the time

Re: sensing change in System Clock using Qt

2010-01-30 Thread ibrahim
remi.denis-courm...@nokia.com wrote: Hello, - Message d'origine - But the problem that can face me is the case when the user changes his clock settings (i.e adjust phone's time to a different time). in this case, the timer that has been set to some fixed duration can go wrong.

Re: sensing change in System Clock using Qt

2010-01-25 Thread Remi.Denis-Courmont
Hello, - Message d'origine - But the problem that can face me is the case when the user changes his clock settings (i.e adjust phone's time to a different time). in this case, the timer that has been set to some fixed duration can go wrong. As a general rule, delay measurements

sensing change in System Clock using Qt

2010-01-24 Thread ibrahim
Greetings; I am creating a Qt application that depends on system clock (get the current system time/date) to do time-dependent calculations. (calculate duration from current time to a specifed/calculated duration in the future, and set a QTimer's interval to that duration). But the problem