>On 24 December 2010 15:53, Michael Pyne <mp...@kde.org> wrote:
> On Friday, December 24, 2010 13:10:54 Steven Sroka wrote:
>> > Having the exact error message would probably be useful as well.
>>
>> -->In member function ‘void KReminder::setupObjects()’:
>> -->error: no matching function for call to
>> ‘KReminder::addButton(KGuiItem*&, QDialogButtonBox::ButtonRole,
> --------------------------------^
>>
>> -->candidates are:
>> <snip - (4 qt versions of the addButton function)>
>> KPushButton* KDialogButtonBox::addButton(const KGuiItem&,
> ---------------------------------------------------------^
>
> Is your issue that the first parameter is a pointer which must be
> dereferenced? If this doesn't help I'd say try compiling it under llvm/clang,
> I hear the error messages are much more understandable. ;)
>

No, it's that the third argument needs a QObject*, but I can only
offer a KReminder *const

I think you are right about the const causing the issue. I have no
idea where it is coming from though. I'll check the forums and see if
anyone can think of what is going on.


> Regards,
>  - Michael Pyne
>
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>
>



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

Reply via email to