diff options
Diffstat (limited to 'buildtools/autotools/configureoptionswidget.cpp')
-rw-r--r-- | buildtools/autotools/configureoptionswidget.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/buildtools/autotools/configureoptionswidget.cpp b/buildtools/autotools/configureoptionswidget.cpp index cc39aa07..c991d15d 100644 --- a/buildtools/autotools/configureoptionswidget.cpp +++ b/buildtools/autotools/configureoptionswidget.cpp @@ -29,7 +29,7 @@ #include <kservice.h> #include <ktrader.h> -#include "kdevcompileroptions.h" +#include "tdevcompileroptions.h" #include "autoprojectpart.h" #include "environmentvariableswidget.h" @@ -310,7 +310,7 @@ void ConfigureOptionsWidget::configRemoved() TQString config = config_combo->currentText(); TQDomDocument dom = *m_part->projectDom(); - TQDomNode node = dom.documentElement().namedItem("kdevautoproject").namedItem("configurations"); + TQDomNode node = dom.documentElement().namedItem("tdevautoproject").namedItem("configurations"); node.removeChild(node.namedItem(config)); allConfigs.remove(config); @@ -348,7 +348,7 @@ void ConfigureOptionsWidget::f77serviceChanged() void ConfigureOptionsWidget::cflagsClicked() { TQString name = ServiceComboBox::currentText(cservice_combo, cservice_names); - KDevCompilerOptions *plugin = createCompilerOptions(name); + TDevCompilerOptions *plugin = createCompilerOptions(name); if (plugin) { TQString flags = plugin->exec(this, cflags_edit->text()); @@ -361,7 +361,7 @@ void ConfigureOptionsWidget::cflagsClicked() void ConfigureOptionsWidget::cxxflagsClicked() { TQString name = ServiceComboBox::currentText(cxxservice_combo, cxxservice_names); - KDevCompilerOptions *plugin = createCompilerOptions(name); + TDevCompilerOptions *plugin = createCompilerOptions(name); if (plugin) { TQString flags = plugin->exec(this, cxxflags_edit->text()); @@ -374,7 +374,7 @@ void ConfigureOptionsWidget::cxxflagsClicked() void ConfigureOptionsWidget::f77flagsClicked() { TQString name = ServiceComboBox::currentText(f77service_combo, f77service_names); - KDevCompilerOptions *plugin = createCompilerOptions(name); + TDevCompilerOptions *plugin = createCompilerOptions(name); if (plugin) { TQString flags = plugin->exec(this, f77flags_edit->text()); @@ -384,7 +384,7 @@ void ConfigureOptionsWidget::f77flagsClicked() } -KDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQString &name) +TDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQString &name) { KService::Ptr service = KService::serviceByDesktopName(name); if (!service) { @@ -406,13 +406,13 @@ KDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQStrin args = TQStringList::split(" ", prop.toString()); TQObject *obj = factory->create(TQT_TQOBJECT(this), service->name().latin1(), - "KDevCompilerOptions", args); + "TDevCompilerOptions", args); - if (!obj->inherits("KDevCompilerOptions")) { - kdDebug(9020) << "Component does not inherit KDevCompilerOptions" << endl; + if (!obj->inherits("TDevCompilerOptions")) { + kdDebug(9020) << "Component does not inherit TDevCompilerOptions" << endl; return 0; } - KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj; + TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj; return dlg; } |