Revision 626555
Go back to digest for 28th January 2007Other in KDE Base
Matthias Kretz committed changes in /branches/work/kinstance-redesign/kdelibs/kdecore:
- as long as the rest of KComponentData is not threadsafe there's IMHO no reason to use an atomic refcount
- add logic between KComponentData and KSharedConfigPtr to delete itself when both of their refcounts have reached 1
- reenable the KLocale hack
- KConfig keeps a KComponentData object and uses KStandardDirs from that object instead of KGlobal::dirs()
- added KSharedConfigPtr (inherits KSharedPtr<KSharedConfig>) for special refcount handling with KComponentData
- make KSharedPtr::d protected instead of private for KSharedConfigPtr
File Changes
Modified 12 files
- /branches/work/kinstance-redesign/kdelibs/kdecore
- /config/kconfig.cpp
- /config/kconfig.h
- /config/kconfigbackend.cpp
- /config/kconfigbase.cpp
- /config/kconfigbase.h
- /config/ksimpleconfig.cpp
- /kernel/kcomponentdata.cpp
- /kernel/kcomponentdata.h
- /kernel/kglobal.cpp
- /kernel/kglobal.h
- /localization/klocale.cpp
- /util/ksharedptr.h
12 files changed in total