Results 1 to 2 of 2

Thread: How we can connect the signals and slot with different arguments?

  1. #1
    Join Date
    Aug 2011
    Location
    Bangalore, India
    Posts
    23
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows Symbian S60

    Default How we can connect the signals and slot with different arguments?

    QObject::connect: Incompatible sender/receiver arguments
    QLabel::linkActivated(QString) --> Button::call(int) is not possible but if we want to implement like this combination how we can do that?

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How we can connect the signals and slot with different arguments?

    Read about QSignalMapper

Similar Threads

  1. Replies: 12
    Last Post: 7th September 2010, 12:53
  2. Replies: 18
    Last Post: 25th January 2010, 11:23
  3. Can we connect QTimer::SingleShot with a slot taking arguments?
    By maverick_pol in forum Qt Programming
    Replies: 4
    Last Post: 17th September 2008, 18:02
  4. Replies: 6
    Last Post: 21st September 2007, 13:51

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.