Results 1 to 13 of 13

Thread: No such signal...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Thumbs up No such signal... Solved

    Hello,
    I have a little problem with connecting a signal to a slot.


    I try doing this:
    QObject::connect(tbl,SIGNAL(clicked(int,int,int,co nst QPoint&)),this,SLOT(registerDblKlikket(int,int,int ,const QPoint&)));

    this is happening inside a slot, so this connection is only supposed to be active under certain circumstances. I don't get an compile-time error, but when the slot where this connection is, is activated I get the following messages in the debug window:
    QObject::connect: No such signal QWidget::clicked(int,int,int,const QPoint&)
    QObject::connect: (sender name: 'tbl')
    QObject::connect: (receiver name: 'MainForm')
    I can't see whats wrong, there is indeed a signal called clicked(...), but why is it complaining about QWidget::clicked(...). Is there something wrong
    with the sender, tbl
    It is a QTable.

    Can someone help me?
    Last edited by chaimar; 24th January 2006 at 21:12.

Similar Threads

  1. pthread instead QThread
    By brevleq in forum Qt Programming
    Replies: 8
    Last Post: 23rd December 2008, 07:16
  2. Connection of custon signals/slots
    By brevleq in forum Qt Programming
    Replies: 2
    Last Post: 23rd December 2008, 07:04
  3. Possible signal mapper problem
    By MarkoSan in forum Qt Programming
    Replies: 13
    Last Post: 25th January 2008, 13:11
  4. Replies: 2
    Last Post: 17th May 2006, 21:01

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.