Results 1 to 18 of 18

Thread: signal not getting communicated to slot

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    Join Date
    Apr 2006
    Posts
    122
    Thanks
    18
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: signal not getting communicated to slot

    there is a script which generated basic framework for my plugin code and i followed that and added functionality to it . There is no code in my knowledge which would do job of connecting clicked() signal of ok button with function pbnOK_clicked() (ya it is declared as function); In other plugins this is working well. There is no such connection code. Is it possible? or am i missing sth?
    currently in my code i had made pbnOK_clicked() as a public slot and connected it to clicked event in constructor of CockGUI class. I hope it will work

    Qt Code:
    1. CockGui::CockGui() : CockGuiBase()
    2. {
    3. setupUi(this);
    4. connect(pbnOK,SIGNAL(clicked()),this,SLOT(pbnOK_clicked()));
    5. }
    To copy to clipboard, switch view to plain text mode 
    Last edited by jacek; 1st June 2006 at 13:16. Reason: fixed code tags

Similar Threads

  1. Manually send signal to slot
    By donmorr in forum Qt Programming
    Replies: 1
    Last Post: 29th May 2006, 15:03
  2. Replies: 2
    Last Post: 17th May 2006, 21:01
  3. no such signal QListBox::currentChanged()
    By jopie bakker in forum Newbie
    Replies: 2
    Last Post: 2nd March 2006, 15:17
  4. signal slot conection using a string, not a SLOT
    By rianquinn in forum Qt Programming
    Replies: 6
    Last Post: 5th February 2006, 18:52
  5. No such signal...
    By chaimar in forum Qt Programming
    Replies: 12
    Last Post: 24th January 2006, 22:33

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.