Results 1 to 2 of 2

Thread: ? about QSignalMapper

  1. #1
    Join Date
    Sep 2007
    Location
    Rome, GA
    Posts
    199
    Thanks
    14
    Thanked 41 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default ? about QSignalMapper

    Is it able to pass on arguments already being sent by the signal? I want to pass on a unique ID through a signal mapper, but my signal is sending other data as well. How does this work? The Qt Assistant example only shows a clicked() with no other parameters.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ? about QSignalMapper

    Quote Originally Posted by JimDaniel View Post
    Is it able to pass on arguments already being sent by the signal?
    No, QSignalMapper can only change signals from multiple sources to signals with single parameter coming from a single source. But there's no magic inside, you should be able to craft your own custom signal mapper.

  3. The following user says thank you to jacek for this useful post:

    JimDaniel (13th January 2008)

Similar Threads

  1. QSignalMapper question: SIGNAL 2 int's
    By vonCZ in forum Newbie
    Replies: 5
    Last Post: 20th July 2007, 10:02

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.