[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [patch] KConfig on windows/msvc, simplified
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2007-11-06 21:56:19
Message-ID: 4730E303.4080103 () iidea ! pl
[Download RAW message or body]


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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic