diff options
Diffstat (limited to 'buildtools/autotools/configureoptionswidget.cpp')
-rw-r--r-- | buildtools/autotools/configureoptionswidget.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/buildtools/autotools/configureoptionswidget.cpp b/buildtools/autotools/configureoptionswidget.cpp index 8ff8d36c..5ff3e67e 100644 --- a/buildtools/autotools/configureoptionswidget.cpp +++ b/buildtools/autotools/configureoptionswidget.cpp @@ -79,9 +79,9 @@ ConfigureOptionsWidget::ConfigureOptionsWidget(AutoProjectPart *part, TQWidget * TQDomDocument &dom = *part->projectDom(); m_environmentVariablesWidget = new EnvironmentVariablesWidget(dom, "/kdevautoproject/general/envvars", env_groupBox); - coffers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'C'"); - cxxoffers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'C++'"); - f77offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Fortran'"); + coffers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'C'"); + cxxoffers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'C++'"); + f77offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Fortran'"); ServiceComboBox::insertStringList(cservice_combo, coffers, &cservice_names, &cservice_execs); ServiceComboBox::insertStringList(cxxservice_combo, cxxoffers, &cxxservice_names, &cxxservice_execs); @@ -157,7 +157,7 @@ void ConfigureOptionsWidget::readSettings(const TQString &config) kdDebug(9020) << "No c compiler set" << endl; TQValueList<KService::Ptr>::ConstIterator it; for (it = coffers.begin(); it != coffers.end(); ++it) { - if ((*it)->property("X-KDevelop-Default").toBool()) { + if ((*it)->property("X-TDevelop-Default").toBool()) { kdDebug(9020) << "Found default " << (*it)->name() << endl; ccompiler = (*it)->name(); break; @@ -168,7 +168,7 @@ void ConfigureOptionsWidget::readSettings(const TQString &config) kdDebug(9020) << "No cxx compiler set" << endl; TQValueList<KService::Ptr>::ConstIterator it; for (it = cxxoffers.begin(); it != cxxoffers.end(); ++it) { - if ((*it)->property("X-KDevelop-Default").toBool()) { + if ((*it)->property("X-TDevelop-Default").toBool()) { kdDebug(9020) << "Found default " << (*it)->name() << endl; cxxcompiler = (*it)->name(); break; @@ -179,7 +179,7 @@ void ConfigureOptionsWidget::readSettings(const TQString &config) kdDebug(9020) << "No c compiler set" << endl; TQValueList<KService::Ptr>::ConstIterator it; for (it = f77offers.begin(); it != f77offers.end(); ++it) { - if ((*it)->property("X-KDevelop-Default").toBool()) { + if ((*it)->property("X-TDevelop-Default").toBool()) { kdDebug(9020) << "Found default " << (*it)->name() << endl; f77compiler = (*it)->name(); break; @@ -401,7 +401,7 @@ KDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQStrin } TQStringList args; - TQVariant prop = service->property("X-KDevelop-Args"); + TQVariant prop = service->property("X-TDevelop-Args"); if (prop.isValid()) args = TQStringList::split(" ", prop.toString()); |