From kde-core-devel Wed Jan 03 15:23:42 2007 From: Thomas Zander Date: Wed, 03 Jan 2007 15:23:42 +0000 To: kde-core-devel Subject: Re: private slots Message-Id: <200701031623.43739.zander () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=116783778110254 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart146003954.jtnvDIX4dJ" --nextPart146003954.jtnvDIX4dJ Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 03 January 2007 16:05, Simon Hausmann wrote: > This slot is not intended for applications to call/use and it is connected > to the internal widgets. There's no need to have it in the public API and > exported. You can use the following instead: > > ... > private: > =A0 =A0 Q_PRIVATE_SLOT(d, void slotDateChanged()) > > =A0 =A0 KDateWidgetPrivate *d; > ... How is this better than the following? private slots: =A0 void slotDateChanged(); =2D-=20 Thomas Zander --nextPart146003954.jtnvDIX4dJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBFm8p/CojCW6H2z/QRAhD2AKDE1nmy5lPhRM90D1Bu+pSjimaHPQCeI6Qu AhO3sqUntNvjv5iYRZ2O9hU= =JVQy -----END PGP SIGNATURE----- --nextPart146003954.jtnvDIX4dJ--