private slots

Olivier Goffart ogoffart at kde.org
Wed Jan 3 15:51:16 GMT 2007


Le mercredi 3 janvier 2007 16:37, Rafael Fernández López a écrit :
> Hi,
>
> I have done another approach for this problem. You can check it out at
> http://websvn.kde.org/trunk/KDE/kdelibs/kutils/kpluginselector_p.h.
>
> As you can see, to let it have private SLOTS, I made the Private class
> inherit QObject, and as usually with the Q_OBJECT macro.

The problem is that QObject take some ressource. 
so Q_PRIVATE_SLOT is better here.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070103/ad15dec1/attachment.sig>


More information about the kde-core-devel mailing list