summaryrefslogtreecommitdiffstats
path: root/src/languageselectwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/languageselectwidget.cpp')
-rw-r--r--src/languageselectwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/languageselectwidget.cpp b/src/languageselectwidget.cpp
index b3950615..51cb3901 100644
--- a/src/languageselectwidget.cpp
+++ b/src/languageselectwidget.cpp
@@ -106,9 +106,9 @@ LanguageSelectWidget::~LanguageSelectWidget()
void LanguageSelectWidget::readProjectConfig()
{
KTrader::OfferList languageSupportOffers =
- KTrader::self()->query(TQString::fromLatin1("KDevelop/LanguageSupport"),
- TQString::fromLatin1("[X-KDevelop-Version] == %1"
- ).arg( KDEVELOP_PLUGIN_VERSION ));
+ KTrader::self()->query(TQString::fromLatin1("TDevelop/LanguageSupport"),
+ TQString::fromLatin1("[X-TDevelop-Version] == %1"
+ ).arg( TDEVELOP_PLUGIN_VERSION ));
TQStringList languages = DomUtil::readListEntry(m_projectDom, "/general/secondaryLanguages", "language");
TQString language = DomUtil::readEntry(m_projectDom, "/general/primarylanguage");
@@ -116,10 +116,10 @@ void LanguageSelectWidget::readProjectConfig()
for (KTrader::OfferList::ConstIterator it = languageSupportOffers.begin(); it != languageSupportOffers.end(); ++it)
{
- TQString la = (*it)->property("X-KDevelop-Language").toString();
+ TQString la = (*it)->property("X-TDevelop-Language").toString();
if (la == language)
continue;
- LangPluginItem *item = new LangPluginItem( _pluginList, (*it)->property("X-KDevelop-Language").toString(), (*it)->genericName(), (*it)->comment() );
+ LangPluginItem *item = new LangPluginItem( _pluginList, (*it)->property("X-TDevelop-Language").toString(), (*it)->genericName(), (*it)->comment() );
item->setOn(languages.contains(la));
}