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
|
QString DataEngine::pluginName() const
|
||||||
{
|
{
|
||||||
if (!d->dataEngineDescription.isValid()) {
|
if (!d->dataEngineDescription.isValid()) {
|
||||||
@ -453,7 +443,6 @@ DataEnginePrivate::DataEnginePrivate(DataEngine *e, const KPluginInfo &info)
|
|||||||
updateTimestamp.start();
|
updateTimestamp.start();
|
||||||
|
|
||||||
e->setObjectName(info.name());
|
e->setObjectName(info.name());
|
||||||
icon = info.icon();
|
|
||||||
|
|
||||||
if (dataEngineDescription.isValid()) {
|
if (dataEngineDescription.isValid()) {
|
||||||
QString api = dataEngineDescription.property("X-Plasma-API").toString();
|
QString api = dataEngineDescription.property("X-Plasma-API").toString();
|
||||||
|
@ -92,7 +92,6 @@ class DataEnginePrivate
|
|||||||
int minPollingInterval;
|
int minPollingInterval;
|
||||||
QTime updateTimestamp;
|
QTime updateTimestamp;
|
||||||
DataEngine::SourceDict sources;
|
DataEngine::SourceDict sources;
|
||||||
QString icon;
|
|
||||||
bool valid;
|
bool valid;
|
||||||
DataEngineScript *script;
|
DataEngineScript *script;
|
||||||
QString serviceName;
|
QString serviceName;
|
||||||
|
@ -174,13 +174,6 @@ DataEngine::SourceDict DataEngineScript::containerDict() const
|
|||||||
return DataEngine::SourceDict();
|
return DataEngine::SourceDict();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DataEngineScript::setIcon(const QString &icon)
|
|
||||||
{
|
|
||||||
if (d->dataEngine) {
|
|
||||||
d->dataEngine->setIcon(icon);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void DataEngineScript::scheduleSourcesUpdated()
|
void DataEngineScript::scheduleSourcesUpdated()
|
||||||
{
|
{
|
||||||
if (d->dataEngine) {
|
if (d->dataEngine) {
|
||||||
|
@ -135,7 +135,6 @@ protected:
|
|||||||
void removeAllSources();
|
void removeAllSources();
|
||||||
void addSource(DataContainer *source);
|
void addSource(DataContainer *source);
|
||||||
DataEngine::SourceDict containerDict() const;
|
DataEngine::SourceDict containerDict() const;
|
||||||
void setIcon(const QString &icon);
|
|
||||||
void scheduleSourcesUpdated();
|
void scheduleSourcesUpdated();
|
||||||
void removeSource(const QString &source);
|
void removeSource(const QString &source);
|
||||||
void updateAllSources();
|
void updateAllSources();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user