diff --git a/src/plasma/dataengine.cpp b/src/plasma/dataengine.cpp index ebb3b4ebb..eaccd5f83 100644 --- a/src/plasma/dataengine.cpp +++ b/src/plasma/dataengine.cpp @@ -385,16 +385,6 @@ void DataEngine::forceImmediateUpdateOfAllVisualizations() } } -void DataEngine::setIcon(const QString &icon) -{ - d->icon = icon; -} - -QString DataEngine::icon() const -{ - return d->icon; -} - QString DataEngine::pluginName() const { if (!d->dataEngineDescription.isValid()) { @@ -453,7 +443,6 @@ DataEnginePrivate::DataEnginePrivate(DataEngine *e, const KPluginInfo &info) updateTimestamp.start(); e->setObjectName(info.name()); - icon = info.icon(); if (dataEngineDescription.isValid()) { QString api = dataEngineDescription.property("X-Plasma-API").toString(); diff --git a/src/plasma/private/dataengine_p.h b/src/plasma/private/dataengine_p.h index d7c358682..66b4036b0 100644 --- a/src/plasma/private/dataengine_p.h +++ b/src/plasma/private/dataengine_p.h @@ -92,7 +92,6 @@ class DataEnginePrivate int minPollingInterval; QTime updateTimestamp; DataEngine::SourceDict sources; - QString icon; bool valid; DataEngineScript *script; QString serviceName; diff --git a/src/plasma/scripting/dataenginescript.cpp b/src/plasma/scripting/dataenginescript.cpp index a127ce997..816af493c 100644 --- a/src/plasma/scripting/dataenginescript.cpp +++ b/src/plasma/scripting/dataenginescript.cpp @@ -174,13 +174,6 @@ DataEngine::SourceDict DataEngineScript::containerDict() const return DataEngine::SourceDict(); } -void DataEngineScript::setIcon(const QString &icon) -{ - if (d->dataEngine) { - d->dataEngine->setIcon(icon); - } -} - void DataEngineScript::scheduleSourcesUpdated() { if (d->dataEngine) { diff --git a/src/plasma/scripting/dataenginescript.h b/src/plasma/scripting/dataenginescript.h index bbb5eb024..8b49f76d6 100644 --- a/src/plasma/scripting/dataenginescript.h +++ b/src/plasma/scripting/dataenginescript.h @@ -135,7 +135,6 @@ protected: void removeAllSources(); void addSource(DataContainer *source); DataEngine::SourceDict containerDict() const; - void setIcon(const QString &icon); void scheduleSourcesUpdated(); void removeSource(const QString &source); void updateAllSources();