Results 1 to 2 of 2

Thread: # of connections?

  1. #1
    Join Date
    Apr 2006
    Location
    San Francisco, CA
    Posts
    186
    Thanks
    55
    Thanked 12 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Thumbs down # of connections?

    Is there a function to tell how many slots have been connected to a particular widget's signals? For instance, I might want to grey out (disable) some menu actions if they have not yet been connected to a slot. I see some functions in the metaObject, but I think they only list static # of signals and slots, not the actual active connected signals/slots.

    Maybe this is a bad idea...?
    Software Engineer



  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: # of connections?

    J-P Nurmi

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

    gfunk (3rd August 2006)

Similar Threads

  1. Replies: 1
    Last Post: 5th July 2006, 15:12
  2. more network connections simultaneously
    By cmeliak in forum Qt Programming
    Replies: 9
    Last Post: 8th June 2006, 01:17
  3. Organizing multiple threads
    By vratojr in forum Qt Programming
    Replies: 3
    Last Post: 25th May 2006, 10:53
  4. Signal/slot connections of deleted items
    By Michiel in forum Newbie
    Replies: 2
    Last Post: 24th March 2006, 17:44
  5. Replies: 3
    Last Post: 21st March 2006, 17:48

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.