Results 1 to 20 of 52

Thread: Qt multithreading and let the second thread update the main (UI) thread

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt multithreading and let the second thread update the main (UI) thread

    Quote Originally Posted by Cupidvogel View Post
    Can you give an example of how without using signal mapper I can transport a parameter, say, an object belonging to a custom class?
    What is it with you and the signal mapper? There is no indication of any need for a signal mapper.
    Declare a signal with the respective type as its argument type.

    Quote Originally Posted by Cupidvogel View Post
    Which object do I need to move to thread? My Query Action class?
    Well, the object that you want to run in the other thread.
    Probably the instance of your QueryFinder class.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    Cupidvogel (18th April 2015)

Similar Threads

  1. Replies: 1
    Last Post: 28th March 2012, 18:58
  2. Replies: 5
    Last Post: 22nd February 2011, 21:21
  3. Replies: 9
    Last Post: 28th November 2009, 20:31
  4. Replies: 16
    Last Post: 7th October 2009, 08:17
  5. Replies: 6
    Last Post: 29th April 2009, 18:17

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.