I've got a problem with a program of mine because it always looks for
slots in the superclass (KDialogButtonBox) only and not also in the
derived class.

I've created my slot in my subclass, but when my program gets to this line:
connect(nextButton, SIGNAL(clicked()), this, SLOT(next()));

It complains during runtime:
Object::connect: No such slot KDialogButtonBox::next() in <snip -
source file path>

It should find next() in my class, not in KDialogButtonBox.
Odd thing is that when also using the addButton() function, the API
says that it will connect the clicked() signal to a Qt slot _only_
So, I thought I could connect a button manually with connect()
instead, but that doesn't work, so that's why I'm stuck. Any ideas?

-- 
Steven Sroka
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to