Diffstat (limited to 'microkde/kresources/factory.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kresources/factory.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/microkde/kresources/factory.h b/microkde/kresources/factory.h index f391bb3..ad67ab3 100644 --- a/microkde/kresources/factory.h +++ b/microkde/kresources/factory.h @@ -34,6 +34,15 @@ namespace KRES { +//US +struct PluginInfo +{ + QString library; + QString nameLabel; + QString descriptionLabel; +}; + + /** * Class for loading resource plugins. * Do not use this class directly. Use ResourceManager instead @@ -56,6 +65,7 @@ class Factory { public: + /** * Returns the global resource factory. */ @@ -106,7 +116,8 @@ class Factory QString mResourceFamily; //US QMap<QString, KService::Ptr> mTypeMap; - QMap<QString, PluginFactoryBase*> mTypeMap; +//US lets store the pluginfo struct as value instead of a KService + QMap<QString, PluginInfo*> mTypeMap; }; } |