diff --git a/dataengine.cpp b/dataengine.cpp index e45c05218..ff8e06d7c 100644 --- a/dataengine.cpp +++ b/dataengine.cpp @@ -167,7 +167,7 @@ class DataEngine::Private /*kDebug() << "DataEngine " << engine->objectName() << ": could not find DataContainer " << sourceName << " will create on request" << endl;*/ - if (engine->sourceRequested(sourceName)) { + if (engine->sourceRequestEvent(sourceName)) { s = source(sourceName, false); if (s) { // now we have a source; since it was created on demand, assume @@ -322,7 +322,7 @@ void DataEngine::init() } } -bool DataEngine::sourceRequested(const QString &name) +bool DataEngine::sourceRequestEvent(const QString &name) { if (d->script) { return d->script->sourceRequested(name); diff --git a/dataengine.h b/dataengine.h index cf4b83752..c2e4a3aa9 100644 --- a/dataengine.h +++ b/dataengine.h @@ -229,7 +229,7 @@ class PLASMA_EXPORT DataEngine : public QObject * opportunity to create one. * * The name of the data source (e.g. the source parameter passed into - * setData) must be the same as the name passed to sourceRequested + * setData) must be the same as the name passed to sourceRequestEvent * otherwise the requesting visualization may not receive notice of a * data update. * @@ -243,7 +243,7 @@ class PLASMA_EXPORT DataEngine : public QObject * @param source the name of the source that has been requested * @return true if a DataContainer was set up, false otherwise */ - virtual bool sourceRequested(const QString &source); + virtual bool sourceRequestEvent(const QString &source); /** * Called by internal updating mechanisms to trigger the engine