Results 1 to 5 of 5

Thread: QObject signal/slot not working

Threaded View

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

    Default Re: QObject signal/slot not working

    Quote Originally Posted by Msnforum View Post
    Qt Code:
    1. void A::buttonClicked()
    2. {
    3. B objectB;
    4. }
    To copy to clipboard, switch view to plain text mode 
    Notice that "objectB" goes out of scope according to normal C++ rules and gets destructed immediately after its constructor has been executed.
    J-P Nurmi

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

    Msnforum (24th January 2009)

Similar Threads

  1. QObject and copy Constructors
    By December in forum Qt Programming
    Replies: 5
    Last Post: 17th July 2008, 16:14

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.