Results 1 to 3 of 3

Thread: Qt Signal only emit once? (Signal & Slot problem)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Qt Signal only emit once? (Signal & Slot problem)

    Your code does not work because
    Qt Code:
    1. connect(item, SIGNAL(destroyed()),this,SLOT(ReCreate())
    To copy to clipboard, switch view to plain text mode 
    is at the wrong place. You have to put in inside the initPic method.

  2. #2
    Join Date
    May 2011
    Posts
    18
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Smile Re: Qt Signal only emit once? (Signal & Slot problem)

    Thanks a lot. It works now.

Similar Threads

  1. SIGNAL and SLOT Problem
    By RHMK in forum Qt Programming
    Replies: 5
    Last Post: 26th December 2010, 12:45
  2. emit signal from a slot?
    By ask8y@yahoo.com in forum Qt Programming
    Replies: 9
    Last Post: 11th June 2010, 20:18
  3. Signal and Slot Problem
    By waynew in forum Qt Programming
    Replies: 3
    Last Post: 5th June 2010, 10:49
  4. signal / slot problem
    By franco.amato in forum Newbie
    Replies: 13
    Last Post: 8th December 2009, 18:10
  5. problem with signal/slot
    By ihoss in forum Newbie
    Replies: 2
    Last Post: 24th August 2007, 22:59

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.