[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: kconfigxt singleton problem?
From: Thiago Macieira <thiago () kde ! org>
Date: 2006-06-06 21:51:41
Message-ID: 200606062351.41864.thiago () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Robert Hogan wrote:
> static
> bool defaultMaxMinOptions()
> {
> return self()->mDefaultMaxMinOptions;
> }
>
>
>my.cpp:
>
>bool (MyKConfigxt::*pt2Member)() = NULL;
>pt2Member = &MyKConfigxt::defaultMaxMinOptions;
>
>
>gives
>
>error: cannot convert `bool (*)()' to `bool (MyKConfigxt::*)()' in
> assignment
>
>I've tried a number of different ways of referencing it but to no avail
> - and google doesn't seem to have anything to say on the matter. Any
> ideas anyone?
defaultMaxMinOptions is a static member function.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
thiago.macieira (AT) trolltech.com Trolltech AS
GPG: 0x6EF45358 | Sandakerveien 116,
E067 918B B660 DBD1 105C | NO-0402
966C 33F5 F005 6EF4 5358 | Oslo, Norway
[Attachment #5 (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