summaryrefslogtreecommitdiffstats
path: root/parts/snippet/snippet_part.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 10:53:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 10:53:25 -0600
commitda1941ccadffe5ae70ee111c53f0ec2b3d990869 (patch)
treeee683f46b49e6abdbdef78ed45ca65b47538bc23 /parts/snippet/snippet_part.cpp
parent054f5901ab09f6ea6235bd12fbd167922fdf0f67 (diff)
downloadtdevelop-da1941ccadffe5ae70ee111c53f0ec2b3d990869.tar.gz
tdevelop-da1941ccadffe5ae70ee111c53f0ec2b3d990869.zip
Rename KLock and KTrader to avoid conflicts with KDE4
Diffstat (limited to 'parts/snippet/snippet_part.cpp')
-rw-r--r--parts/snippet/snippet_part.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/parts/snippet/snippet_part.cpp b/parts/snippet/snippet_part.cpp
index cd7da532..0d39038e 100644
--- a/parts/snippet/snippet_part.cpp
+++ b/parts/snippet/snippet_part.cpp
@@ -111,14 +111,14 @@ void SnippetPart::slotConfigWidget( KDialogBase *dlg )
TQStringList SnippetPart::getAllLanguages()
{
- KTrader::OfferList languageSupportOffers =
- KTrader::self()->query(TQString::fromLatin1("TDevelop/LanguageSupport"),
+ TDETrader::OfferList languageSupportOffers =
+ TDETrader::self()->query(TQString::fromLatin1("TDevelop/LanguageSupport"),
TQString::fromLatin1("[X-TDevelop-Version] == %1"
).arg( TDEVELOP_PLUGIN_VERSION ));
TQStringList languages;
- for (KTrader::OfferList::ConstIterator it = languageSupportOffers.begin(); it != languageSupportOffers.end(); ++it)
+ for (TDETrader::OfferList::ConstIterator it = languageSupportOffers.begin(); it != languageSupportOffers.end(); ++it)
{
TQString language = (*it)->property("X-TDevelop-Language").toString();
languages.append(language);