Results 1 to 5 of 5

Thread: slots questions that's probably really silly

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,327
    Thanks
    316
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: slots questions that's probably really silly

    Umm, do you know C++? Have you heard of member variables in C++ classes? Like maybe adding a "QString gender;" member variable and using that instead of local stack variables in each slot?
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

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

    seerofsorrow (29th September 2017)

Similar Threads

  1. Silly Question/A very silly question
    By seerofsorrow in forum Newbie
    Replies: 1
    Last Post: 21st September 2017, 23:24
  2. Questions about signals/slots and QObject lifetimes
    By themolecule in forum Qt Programming
    Replies: 11
    Last Post: 24th May 2014, 18:45
  3. Replies: 2
    Last Post: 4th July 2010, 21:44
  4. Signals and Slots questions
    By Janek in forum Qt Programming
    Replies: 3
    Last Post: 29th December 2009, 21:47
  5. silly array element counter..
    By ct in forum General Programming
    Replies: 4
    Last Post: 3rd March 2006, 15:50

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.