diff options
Diffstat (limited to 'krita/ui/kis_tool_registry.cc')
| -rw-r--r-- | krita/ui/kis_tool_registry.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/krita/ui/kis_tool_registry.cc b/krita/ui/kis_tool_registry.cc index 5e5e17d49..0878c106f 100644 --- a/krita/ui/kis_tool_registry.cc +++ b/krita/ui/kis_tool_registry.cc @@ -37,8 +37,8 @@ KisToolRegistry *KisToolRegistry::m_singleton = 0; KisToolRegistry::KisToolRegistry() { // Load all modules: color models, paintops, filters - KTrader::OfferList offers = KTrader::self()->query(QString::fromLatin1("Krita/Tool"), - QString::fromLatin1("(Type == 'Service') and " + KTrader::OfferList offers = KTrader::self()->query(TQString::tqfromLatin1("Krita/Tool"), + TQString::tqfromLatin1("(Type == 'Service') and " "([X-Krita-Version] == 2)")); KTrader::OfferList::ConstIterator iter; @@ -48,7 +48,7 @@ KisToolRegistry::KisToolRegistry() KService::Ptr service = *iter; int errCode = 0; KParts::Plugin* plugin = - KParts::ComponentFactory::createInstanceFromService<KParts::Plugin> ( service, this, 0, QStringList(), &errCode); + KParts::ComponentFactory::createInstanceFromService<KParts::Plugin> ( service, this, 0, TQStringList(), &errCode); if ( plugin ) kdDebug(DBG_AREA_PLUGINS) << "found plugin " << service->property("Name").toString() << "\n"; else { |
