[Kst] branches/work/kst/portto4/kst/src/libkstmath
Adam Treat
treat at kde.org
Fri Feb 16 23:06:59 CET 2007
SVN commit 634337 by treat:
* KService changes
M +2 -2 kstdataobject.cpp
--- branches/work/kst/portto4/kst/src/libkstmath/kstdataobject.cpp #634336:634337
@@ -132,7 +132,7 @@
pluginInfo.clear(); //FIXME?
- KService::List sl = KServiceType::offers("Kst Data Object");
+ KService::List sl = KServiceTypeTrader::self()->query("Kst Data Object");
for (KService::List::ConstIterator it = sl.begin(); it != sl.end(); ++it) {
if (KstDataObjectPtr object = createPlugin(*it)) {
pluginInfo.insert((*it)->name(), KstDataObjectPtr(object));
@@ -164,7 +164,7 @@
KstDataObjectPtr KstDataObject::createPlugin(const QString& name) {
- KService::List sl = KServiceType::offers("Kst Data Object");
+ KService::List sl = KServiceTypeTrader::self()->query("Kst Data Object");
for (KService::List::ConstIterator it = sl.begin(); it != sl.end(); ++it) {
if ((*it)->name() != name) {
continue;
More information about the Kst
mailing list