A Dimarts, 28 de desembre de 2010, Steven Sroka va escriure: > 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()));
I understand that line is in your code, right? > > It complains during runtime: > Object::connect: No such slot KDialogButtonBox::next() in <snip - > source file path> Do you have a Q_OBJECT marker in your derived class? Albert >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<