From 9fcf5d4980e1e5cd657376899ca263d909e295b2 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sat, 23 Oct 2010 17:02:49 +0000 Subject: [PATCH] * update the storage operations * add a special case in pluginloader for storage (don't think storage should be made a plugin) svn path=/trunk/KDE/kdelibs/; revision=1189000 --- data/operations/storage.operations | 7 +++++-- pluginloader.cpp | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/data/operations/storage.operations b/data/operations/storage.operations index d8c6beddf..6f22a7b32 100644 --- a/data/operations/storage.operations +++ b/data/operations/storage.operations @@ -3,7 +3,7 @@ "http://www.kde.org/standards/kcfg/1.0/kcfg.xsd"> - + @@ -20,8 +20,11 @@ - + + + + diff --git a/pluginloader.cpp b/pluginloader.cpp index 79c87cf06..678b9430c 100644 --- a/pluginloader.cpp +++ b/pluginloader.cpp @@ -34,6 +34,7 @@ #include "private/applet_p.h" #include "private/extenderapplet_p.h" #include "private/service_p.h" // for NullService +#include "private/storage_p.h" namespace Plasma { @@ -205,6 +206,8 @@ Service *PluginLoader::loadService(const QString &name, const QVariantList &args //TODO: scripting API support if (name.isEmpty()) { return new NullService(QString(), parent); + } else if (name == "org.kde.servicestorage") { + return new Storage(parent); } QString constraint = QString("[X-KDE-PluginInfo-Name] == '%1'").arg(name);