dataenginemanager api review: knownEngines()->listAllEngines()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800266
This commit is contained in:
parent
931d7b0d6c
commit
7d0f4af161
@ -159,7 +159,7 @@ void DataEngineManager::unload(const QString& name)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QStringList DataEngineManager::knownEngines()
|
QStringList DataEngineManager::listAllEngines()
|
||||||
{
|
{
|
||||||
QStringList engines;
|
QStringList engines;
|
||||||
KService::List offers = KServiceTypeTrader::self()->query("Plasma/DataEngine");
|
KService::List offers = KServiceTypeTrader::self()->query("Plasma/DataEngine");
|
||||||
|
@ -77,7 +77,7 @@ class PLASMA_EXPORT DataEngineManager: public QObject
|
|||||||
/**
|
/**
|
||||||
* Returns a listing of all known engines by name
|
* Returns a listing of all known engines by name
|
||||||
*/
|
*/
|
||||||
static QStringList knownEngines();
|
static QStringList listAllEngines();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
class Private;
|
class Private;
|
||||||
|
Loading…
Reference in New Issue
Block a user