[patch] KConfig on windows/msvc, simplified

Jaroslaw Staniek js at iidea.pl
Tue Nov 6 21:56:19 GMT 2007


Uff. It's cleaned version of the patch, without part related to cleaning up of 
identifiers.

1. kdecore:

http://rafb.net/p/8zOqZV70.html


This patch fixes compilation on msvc.net.
I have used the last working version (before r721704) and carefully compared 
against trunk.

QByteArray overloads removed; rarely used, some low-level function moved to 
char* versions, e.g. main body of readXdgListEntry()
  is readXdgListEntry(const char *key, const QStringList& defaultValue) const

QByteArray can be put back if really needed, but not having it makes the 
relevant api docs much smaller.

Other issue fixed (3 times in an internal code) realted to fact that 
specialization of readEntry() cannot be provided for msvc.net, eg. in

KAutostart::StartPhase readEntry(const KConfigGroup &group, const char* key, 
const KAutostart::StartPhase& aDefault)

and in kio/ and security/ (see below).

2. patches that are needed in very few places because QByteArray overloads are 
gone

- kdeui: http://rafb.net/p/mJjk9D63.html
- kparts: http://rafb.net/p/ZE5Ewo28.html
- kio: http://rafb.net/p/GKI2v574.html
- security: http://rafb.net/p/bQVYh328.html

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice: http://www.kexi.pl/en, http://www.koffice.org
  KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org




More information about the kde-core-devel mailing list