add DataEngine::pluginInfo()
This commit is contained in:
parent
20a4e6ca43
commit
afe7a925d4
@ -87,6 +87,11 @@ Service *DataEngine::serviceForSource(const QString &source)
|
||||
return new NullService(source, this);
|
||||
}
|
||||
|
||||
KPluginInfo DataEngine::pluginInfo() const
|
||||
{
|
||||
return d->dataEngineDescription;
|
||||
}
|
||||
|
||||
void DataEngine::connectSource(const QString &source, QObject *visualization,
|
||||
uint pollingInterval,
|
||||
Plasma::IntervalAlignment intervalAlignment) const
|
||||
|
@ -106,6 +106,11 @@ class PLASMA_EXPORT DataEngine : public QObject
|
||||
*/
|
||||
Q_INVOKABLE virtual Service *serviceForSource(const QString &source);
|
||||
|
||||
/**
|
||||
* @return description of the plugin that implements this DataEngine
|
||||
*/
|
||||
KPluginInfo pluginInfo() const;
|
||||
|
||||
/**
|
||||
* Returns the engine name for the DataEngine
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user