Results 1 to 3 of 3

Thread: System time changed event

  1. #1
    Join Date
    Apr 2009
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Question System time changed event

    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

  2. #2
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: System time changed event

    use winEventFilter(..) and catch WM_TIMECHANGE..specific to windows of course

  3. #3
    Join Date
    Apr 2009
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Red face Re: System time changed event

    thank you amulya,
    but i am developing on cross platform..

Similar Threads

  1. Replies: 0
    Last Post: 28th February 2009, 23:18
  2. Replies: 4
    Last Post: 19th February 2009, 11:10
  3. displaying system time
    By aj2903 in forum Newbie
    Replies: 4
    Last Post: 2nd December 2008, 06:32
  4. Replies: 1
    Last Post: 21st August 2008, 08:29
  5. Show System Time Stamp ??
    By dheeraj in forum Qwt
    Replies: 3
    Last Post: 21st April 2008, 11:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.