I need some help with a KDE program I'm trying to write.
I have my main function calling a custom class, KReminder(), which is
sub-classed from KDialogButtonBox. Within the KReminder() I have:

KPushButton *nextButton = addButton(nextGuiItem, AcceptRole, this,
SLOT(next()));

'this' refers to KReminder(). The 'addButton' function expects the
third argument to be a QObject* and not a KReminder* const, so I'm
getting an error. I've tried the KDE forums, but I haven't found a fix
for this.

Any ideas?

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

Reply via email to