[PATCH] add dummy operator== and dummy qHash for win32 target

Olivier Goffart ogoffart at kde.org
Sun Nov 6 12:36:49 GMT 2005

Le Dimanche 6 Novembre 2005 10:33, Christian Ehrlicher a écrit :
> Hi,
> Here is an idea how to work around the problem that msvc needs a full
> instatiated template when exporting a class. It adds an dummy operator==
> (K_DUMMY_COMPARISON_OPERATOR) and a dummy qHash function
> (K_DUMMY_QHASH_OPERATOR). I've masked it with
> K_FULL_TEMPLATE_EXPORT_INSTANTIATION so gcc will not create any code for
> the dummy functions.
> Also this patch changes qtButtonStateToMod() (win32-only function) to
> work with Qt4.
> christian

Please also add Doxygen documentation of theses macro.

-------------- 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/20051106/43e75f1f/attachment.sig>

More information about the kde-core-devel mailing list