< KDE Core Revision as of 20:54, 9 May 2011 (view source)Sebsauer (talk | contribs) (→KPluginLoader vs QPluginLoader)← Older edit Revision as of 20:56, 9 May 2011 (view source) Sebsauer (talk | contribs) (→KPluginLoader vs QPluginLoader)Newer edit → Line 32: Line 32: ===KPluginLoader vs QPluginLoader=== ===KPluginLoader vs QPluginLoader=== −* KPluginLoader enables dynamic plugin loading using desktop-files+* KPluginLoader enables dynamic plugin loading using desktop-files (e.g. deferred plugin loading on demand in Calligra). Revision as of 20:56, 9 May 2011 This pages details those KDE classes that are candidates to have some or all of their functionality merged upstream into Qt. Each section will detail what differences exist, why they exist, and what parts can realistically be merged into Qt, and if the changes can be made in Qt4.x or Qt5. Contents 1 kdelibs/kdecore 1.1 KConfig vs QSettings 1.2 KDateTime vs QDateTime 1.3 KLocalizedDate & KCalendarSystem vs QDate 1.4 KLocale vs QLocale 1.5 KIcon vs QIcon 1.6 KUrl vs QUrl 1.7 KPluginLoader vs QPluginLoader kdelibs/kdecore KConfig vs QSettings KConfig allows different backends. KConfig provides kiosk. KDateTime vs QDateTime KDateTime obtains the current system time zone from KSystemTimeZones::local(), which in turn requires the ktimezoned daemon to update it with any changes to the current system time zone. This would prevent KDateTime from being moved into Qt without modification to this mechanism. Additionally, Qt would need to support Mac OSX and any other operating systems - currently, KSystemTimeZones is only supported on Linux and Windows. Note that all the KTimeZone classes would need to be moved to Qt also in order for KDateTime to work. If KDateTime were merged into QDateTime, it would probably require source incompatible changes to create a nice API for the combined class. A better way of merging KDateTime into Qt4 would be to add a new class alongside QDateTime. QDateTime would be kept as a simple class without any time spec (source incompatible change), alongside the merged KDateTime to be used when any time spec was needed. It wouldn't be a good idea to keep QDateTime unchanged in this scenario, since the current QDateTime's time spec property wouldn't play along very nicely with the new KDateTime class's more sophisticated time spec property - having both would lead to unnecessary confusion. http://bugreports.qt.nokia.com/browse/QTBUG-10219 http://bugreports.qt.nokia.com/browse/QTBUG-71 http://bugreports.qt.nokia.com/browse/QTMOBILITY-1139 KLocalizedDate & KCalendarSystem vs QDate KLocale vs QLocale KIcon vs QIcon KIcon provides access to the installed icon theme. KUrl vs QUrl KPluginLoader vs QPluginLoader KPluginLoader enables dynamic plugin loading using desktop-files (e.g. deferred plugin loading on demand in Calligra). Retrieved from "https://community.kde.org/index.php?title=KDE_Core/QtMerge&oldid=12159" Content is available under Creative Commons License SA 4.0 unless otherwise noted.