Results 1 to 10 of 10

Thread: connect slot signlas with class references?

Threaded View

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

    Default Re: connect slot signlas with class references?

    There are two solutions:

    1. Use QSignalMapper
    2. Use the sender() function

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

    dennis (30th June 2010)

Similar Threads

  1. connect a qpushbutton a slot
    By Lycus HackerEmo in forum Newbie
    Replies: 13
    Last Post: 29th March 2010, 10:14
  2. Class value members & references
    By agnus in forum General Programming
    Replies: 3
    Last Post: 6th December 2009, 15:18
  3. Replies: 12
    Last Post: 18th September 2008, 16:04
  4. Qt Designer & Qt4, connect to my own slot.
    By geitosten in forum Newbie
    Replies: 2
    Last Post: 17th February 2007, 20:22
  5. Signal/slot looking in base class, not derived class
    By georgie in forum Qt Programming
    Replies: 2
    Last Post: 12th May 2006, 08:36

Tags for this Thread

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.