diff options
Diffstat (limited to 'kbabel/kbabeldict/kbabeldictbox.cpp')
-rw-r--r-- | kbabel/kbabeldict/kbabeldictbox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kbabel/kbabeldict/kbabeldictbox.cpp b/kbabel/kbabeldict/kbabeldictbox.cpp index 4d0f4b2d..b56f38e3 100644 --- a/kbabel/kbabeldict/kbabeldictbox.cpp +++ b/kbabel/kbabeldict/kbabeldictbox.cpp @@ -409,11 +409,11 @@ KBabelDictBox::KBabelDictBox( TQWidget* parent, const char* name, WFlags fl ) kdDebug(KBABEL_SEARCH) << "Now using trader for " << TDEGlobal::instance()->instanceName() << endl; - // try to find installed modules by KTrader - KTrader::OfferList offers = KTrader::self()->query("KBabelDictModule", + // try to find installed modules by TDETrader + TDETrader::OfferList offers = TDETrader::self()->query("KBabelDictModule", "('"+TDEGlobal::instance()->instanceName()+"' in [Applications])"); - for(KTrader::OfferList::ConstIterator it = offers.begin(); it != offers.end(); ++it ) + for(TDETrader::OfferList::ConstIterator it = offers.begin(); it != offers.end(); ++it ) { KLibFactory *factory = KLibLoader::self()->factory( (*it)->library().local8Bit() ); @@ -438,10 +438,10 @@ KBabelDictBox::KBabelDictBox( TQWidget* parent, const char* name, WFlags fl ) kdDebug(KBABEL_SEARCH) << "Now for any application" << endl; - offers = KTrader::self()->query("KBabelDictModule", + offers = TDETrader::self()->query("KBabelDictModule", "not ( exist Applications)"); - for(KTrader::OfferList::ConstIterator it = offers.begin(); it != offers.end(); ++it ) + for(TDETrader::OfferList::ConstIterator it = offers.begin(); it != offers.end(); ++it ) { KLibFactory *factory = KLibLoader::self()->factory( (*it)->library().local8Bit() ); |