[PATCH] fix compile kutils

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Nov 18 14:11:25 GMT 2005

The patch is needed for proper compile kdelibs/kutils with msvc.

- ifdef out '#warning' for non gcc

ksettings/dialog.cpp & .h
- removed duplicated constructor which confused msvc

- add ksettings-sources to avoid convinience lib
- kutils_sources are compileable uder win32 too

A note to ksettings/dialog.cpp & .h: There you have two constructors:
Dialog( QWidget * parent = 0) and
Dialog( ContentInListView content = Static, QWidget * parent = 0 )
because all of them have standard arguments, msvc don't know which to
call in case of 'Dialog d = new Dialog()'. And because both are doing
the same, I've removed the first.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: kutils.patch
Type: text/x-diff
Size: 3878 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051118/f10dbb11/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051118/f10dbb11/attachment.sig>

More information about the kde-core-devel mailing list