summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/configureoptionswidget.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-02 20:05:33 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /buildtools/autotools/configureoptionswidget.cpp
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'buildtools/autotools/configureoptionswidget.cpp')
-rw-r--r--buildtools/autotools/configureoptionswidget.cpp20
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;
}