Results 1 to 11 of 11

Thread: Receiving slots in QThread's context ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Receiving slots in QThread's context ?

    It can be done with a QThread subclass, but that way is typically frowned upon. If you use as above it is upto you if you wish to use threads or not.

  2. #2
    Join Date
    Aug 2007
    Posts
    166
    Thanks
    16
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Receiving slots in QThread's context ?

    Yes you have a point. Thanks for the help.

    EDIT: I just missed your last post tbscope. The things you explained give me much more light on this Qt specific "things". I hope that they will soon fix up the documentation with some nice examples in order to not get more confused users like me.
    Last edited by The Storm; 14th August 2010 at 12:50.

  3. #3
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Receiving slots in QThread's context ?

    Just a disclaimer: This is how I understand it. But I might have posted mistakes in my explanation too.

Similar Threads

  1. Problem with Signal and Slots and QThread
    By Informatix in forum Newbie
    Replies: 2
    Last Post: 7th June 2010, 14:21
  2. QThread signal and slots problem
    By mero in forum Qt Programming
    Replies: 8
    Last Post: 8th May 2010, 01:56
  3. Any examples of receiving slots in threads?
    By draftpunk in forum Qt Programming
    Replies: 2
    Last Post: 9th January 2010, 19:21
  4. QTableWidget, QThread, signals and slots
    By kazek3018 in forum Newbie
    Replies: 4
    Last Post: 30th December 2008, 21:21
  5. QThread communication without signal and slots
    By forrestfsu in forum Qt Programming
    Replies: 16
    Last Post: 22nd May 2007, 00:43

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.