remove DataEngine::icon()

This commit is contained in:
Marco Martin 2013-04-03 20:48:55 +02:00
parent 16e69aafcd
commit f42192fb9b
4 changed files with 0 additions and 20 deletions

View File

@ -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();

View File

@ -92,7 +92,6 @@ class DataEnginePrivate
int minPollingInterval;
QTime updateTimestamp;
DataEngine::SourceDict sources;
QString icon;
bool valid;
DataEngineScript *script;
QString serviceName;

View File

@ -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) {

View File

@ -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();