[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Help with KDialogButtonBox
From: Michael Pyne <mpyne () kde ! org>
Date: 2010-12-24 3:13:58
Message-ID: 201012232214.04619.mpyne () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Thursday, December 23, 2010 18:55:35 Steven Sroka wrote:
> On 23 December 2010 18:10, Michael Pyne <mpyne@kde.org> wrote:
> > On Thursday, December 23, 2010 18:02:36 Steven Sroka wrote:
> >> '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.
> >
> > Whatever KReminder member function you're in is declared to be const.
> > That changes the type of this from KReminder* to KReminder *const.
>
> I'm in setupObjects(), which is not declared as const. Only a slot and
> my d-pointer are declared const.
OK, if it's not that then the only things I could think of off-hand would be a
missing #include (or a misspelled one), but that should lead to many other
error messages than just that, or a possible syntax error earlier which gets
the C++ parser confused as to what's going on.
Having the exact error message would probably be useful as well.
Regards,
- Michael Pyne
["signature.asc" (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic