Results 1 to 8 of 8

Thread: having access to members and functions of a class from its subclass

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,540
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 284 Times in 279 Posts

    Default Re: having access to members and functions of a class from its subclass

    I think you only need two threads: main (with GUI) and worker. Worker process data, logs them to the file and sends data to GUI with signals and slots. Sending data to GUI is activated with QTimer::timeout signal with 10s period.

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

    QJak (2nd May 2018)

Similar Threads

  1. Why operator overloading functions can't be members of class
    By rawfool in forum General Programming
    Replies: 1
    Last Post: 31st October 2017, 16:53
  2. Replies: 2
    Last Post: 27th October 2013, 18:23
  3. Replies: 4
    Last Post: 17th January 2011, 14:05
  4. Replies: 1
    Last Post: 9th January 2011, 07:20
  5. Static functions and class members
    By Raistlin in forum General Programming
    Replies: 5
    Last Post: 22nd December 2006, 10:00

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.