From kde-devel Tue Jun 06 21:51:41 2006 From: Thiago Macieira Date: Tue, 06 Jun 2006 21:51:41 +0000 To: kde-devel Subject: Re: kconfigxt singleton problem? Message-Id: <200606062351.41864.thiago () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=114963074522178 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0353954004==" --===============0353954004== Content-Type: multipart/signed; boundary="nextPart3619587.i0mjV4QBdY"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3619587.i0mjV4QBdY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Robert Hogan wrote: > static > bool defaultMaxMinOptions() > { > return self()->mDefaultMaxMinOptions; > } > > >my.cpp: > >bool (MyKConfigxt::*pt2Member)() =3D NULL; >pt2Member =3D &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. =2D-=20 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 --nextPart3619587.i0mjV4QBdY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBEhfjtM/XwBW70U1gRAqQXAJ47HrskfkAcGU3147/74wD9BpegjgCgk8+J vgWw5poo8dH4B9ajQXz6rLk= =zLAR -----END PGP SIGNATURE----- --nextPart3619587.i0mjV4QBdY-- --===============0353954004== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0353954004==--