Results 1 to 2 of 2

Thread: multiple QTimer::singleShot() calls?

  1. #1
    Join Date
    Apr 2009
    Location
    Italy
    Posts
    70
    Thanks
    23
    Thanked 15 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default multiple QTimer::singleShot() calls?

    Hello,
    can I invoke the static method QTimer::singleShot() multiple times in order to get multiple timers running at the same time? Or does the last call override the preceding calls?

    Thank you

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: multiple QTimer::singleShot() calls?

    Yes, you can call it multiple times. The last call doesn't override the preceding calls.
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    mattc (27th July 2009)

Similar Threads

  1. [MinGW] Multiple calls to qmake
    By Potch in forum Installation and Deployment
    Replies: 2
    Last Post: 21st December 2013, 07:30
  2. Multiple project files in a single directory
    By jogeshwarakundi in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 17th July 2008, 07:03
  3. how to corss compile for windows in Linux
    By safknw in forum Qt Programming
    Replies: 24
    Last Post: 13th May 2006, 05:23

Tags for this Thread

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.