Results 1 to 2 of 2

Thread: How does QTimer work?

  1. #1
    Join Date
    Apr 2009
    Posts
    11
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default How does QTimer work?

    Hi,

    This might be a stupid question. But how does the QTimer work? When my application has a QTimer, does it mean I have two parallel threads running? Or everything is still sequential? Thanks for your time.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How does QTimer work?

    Everything is sequential. The operating system takes care of informing the process that a particular amount of time has passed.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QTimer doesnt work or complains about thread
    By daemonna in forum Qt Programming
    Replies: 3
    Last Post: 1st September 2010, 16:00
  2. Use a QTimer in a Qt-non-GUI app.
    By hakermania in forum Newbie
    Replies: 11
    Last Post: 29th August 2010, 10:36
  3. Replies: 2
    Last Post: 13th December 2009, 20:27
  4. QTimer
    By link7 in forum Newbie
    Replies: 4
    Last Post: 2nd June 2009, 08:35
  5. QTimer
    By dragon in forum Qt Programming
    Replies: 18
    Last Post: 16th November 2008, 14:15

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
  •  
Qt is a trademark of The Qt Company.