diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:52:50 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 10:52:50 -0600 |
commit | 0117fbed932653a04aeef16b2ed7edee858959ac (patch) | |
tree | 769ae82d3aec3a66184bd33b65843380b5265fbb /kbabel/kbabeldict | |
parent | 087f8d4521b0bc6614dc4b664b23674a7f5f5020 (diff) | |
download | tdesdk-0117fbed932653a04aeef16b2ed7edee858959ac.tar.gz tdesdk-0117fbed932653a04aeef16b2ed7edee858959ac.zip |
Rename KLock and KTrader to avoid conflicts with KDE4
Diffstat (limited to 'kbabel/kbabeldict')
-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() ); |