[Patch] fix compile kdeui with msvc

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun Oct 30 19:17:28 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Ehrlicher schrieb:

> Hi,
> 
> And once more a patch for msvc support.
> 
> kcharselect.cpp
> khelpmenu.cpp
> klanguagebutton.cpp
> knuminput.cpp
> kruler.cpp
> kruler.h
> - masked 'warning' directive
> 
> SConscript
> - added -DMAKE_KDEUI_LIB to ccflags
> 
> kactivelabel.cpp
> - struct -> class for private data structure
> 
> kconfigdialogmanager.h
> - KDECORE_EXPORT -> KDEUI_EXPORT (wrong macro used)
> 
> khbox.cpp
> - removed '#undef QT3_SUPPORT' to prevent compiler error in qwidget.h
> 
> kled.cpp
> - removed superflous "QColor Qt::black=Qt::black" (same for Qt::white)
> 
> kshortcutdialog.cpp
> - used QKeyEvent::modifiers() instead QKeyEvent::state() for conversion
> to kde modifiers (QKeyEvent::modifiers() is new in Qt4)
> 
> ktabctl.h
> - use QVector instead of Q3MemArray according to Qt porting guide
> (Q3MemArray throws compiler errors with msvc)
> 
> ktabctl.cpp
> - unsigned int -> int because QVector::size() returns int (avoid
> compiler warnings)
> 
> And one small change for kdecore to use Qt::KeyboardModifiers instead of
> Qt::KeyboardModifier for qtButtonStateToMod()
Small update:
ktabctl.cpp
- - one more warning about signed <-> unsigned
ktoolbar.cpp
- - once more a semicolion to much (?)

Ok to commit?

Christian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDZRxHnNKwkgf+zVMRAhyCAJ0de0ye5S15nzk0/UKiWrgNnmangQCdEdAS
KWIAJ81BZucPPJAAE/X7m1M=
=yYay
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdeui.patch
Type: text/x-diff
Size: 10911 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051030/adaaa95a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdecore.patch
Type: text/x-diff
Size: 869 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051030/adaaa95a/attachment-0001.patch>


More information about the kde-core-devel mailing list