Results 1 to 3 of 3

Thread: Signal to specific object slot

  1. #1
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Signal to specific object slot

    Hello I've got a signal connected to several slots.

    I'd like that signal to be issued to one specific slot.
    Is this possible without disconnecting / reconnecting all ?

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Signal to specific object slot

    No, of course it is not possible.
    One way is to connect the signal to a single slot that in turn will call one or more of the other slots, depending on some conditions you set in your application.

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

    bunjee (27th December 2007)

  4. #3
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Re: Signal to specific object slot

    Will do,

    thanks.

Similar Threads

  1. Replies: 3
    Last Post: 15th April 2007, 19:16
  2. Signal Slot not working
    By munna in forum Qt Programming
    Replies: 8
    Last Post: 6th November 2006, 10:36
  3. Manually send signal to slot
    By donmorr in forum Qt Programming
    Replies: 1
    Last Post: 29th May 2006, 15:03
  4. Replies: 2
    Last Post: 17th May 2006, 21:01
  5. signal slot conection using a string, not a SLOT
    By rianquinn in forum Qt Programming
    Replies: 6
    Last Post: 5th February 2006, 18:52

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.