Results 1 to 5 of 5

Thread: Question about "delete" on QMenuBar instance..

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Posts
    155
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanked 15 Times in 13 Posts

    Default Re: Question about "delete" on QMenuBar instance..

    Quote Originally Posted by tgreaves View Post
    Understood..

    Suppose you have a qaction with its "triggered" signal attached to a slot.. The qactions parent is a qmenu, the qmenus parent is a qmenubar.. If you delete the qmenubar, does the slot-signal attachment for the qaction go away or do you need to disconnect it before you delete qaction or its parent?
    You do not have to disconnect, the connection will be deleted automatically
    properly.

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

    johnmauer (19th January 2010)

  3. #2
    Join Date
    Jan 2009
    Posts
    45
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1

    Default Re: Question about "delete" on QMenuBar instance..

    Awesome.. Thanks for your help guys..

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.