remove DataEngine::icon()
This commit is contained in:
parent
16e69aafcd
commit
f42192fb9b
@ -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();
|
||||
|
@ -92,7 +92,6 @@ class DataEnginePrivate
|
||||
int minPollingInterval;
|
||||
QTime updateTimestamp;
|
||||
DataEngine::SourceDict sources;
|
||||
QString icon;
|
||||
bool valid;
|
||||
DataEngineScript *script;
|
||||
QString serviceName;
|
||||
|
@ -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) {
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user