Revision 1588cce...
Go back to digest for 16th November 2014Other in KDE Base
Sebastian Kügler committed changes in [kcoreaddons] /:
Allow to read KPluginMetaData from .desktop files
Move the logic to create a KPluginMetaData object from desktoptojson
into KPluginMetaData.
This allows to load metadata from a .desktop file, making it possible to
load desktop files without going through KPluginInfo (and thus
KService). This is useful for conversion to json data, which will be
used to index packages in the KPackage framework for faster lookups,
similar to the index proof-of-concept for KPluginTrader.
REVIEW:121122
File Changes
Added 2 files
- autotests/data/fakeplugin.desktop
- src/lib/plugin/desktopfileparser.h
Modified 6 files
- autotests/kpluginmetadatatest.cpp
- src/desktoptojson/CMakeLists.txt
- src/desktoptojson/desktoptojson.cpp
- src/lib/CMakeLists.txt
- src/lib/plugin/kpluginmetadata.cpp
- src/lib/plugin/kpluginmetadata.h
8 files changed in total