summaryrefslogtreecommitdiffstats
path: root/buildtools/ada/adaprojectoptionsdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/ada/adaprojectoptionsdlg.cpp')
-rw-r--r--buildtools/ada/adaprojectoptionsdlg.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/buildtools/ada/adaprojectoptionsdlg.cpp b/buildtools/ada/adaprojectoptionsdlg.cpp
index 28549efc..6cced020 100644
--- a/buildtools/ada/adaprojectoptionsdlg.cpp
+++ b/buildtools/ada/adaprojectoptionsdlg.cpp
@@ -18,7 +18,7 @@
#include <tqvalidator.h>
#include "domutil.h"
-#include "kdevcompileroptions.h"
+#include "tdevcompileroptions.h"
#include "service.h"
#include "adaproject_part.h"
@@ -43,7 +43,7 @@ AdaProjectOptionsDlg::AdaProjectOptionsDlg(AdaProjectPart *part, TQWidget* paren
TQDomDocument &dom = *(m_part->projectDom());
currentConfig = TQString();
- configChanged(DomUtil::readEntry(dom, "/kdevadaproject/general/useconfiguration", "default"));
+ configChanged(DomUtil::readEntry(dom, "/tdevadaproject/general/useconfiguration", "default"));
}
AdaProjectOptionsDlg::~AdaProjectOptionsDlg()
@@ -57,7 +57,7 @@ TQStringList AdaProjectOptionsDlg::allBuildConfigs()
TQStringList allConfigs;
allConfigs.append("default");
- TQDomNode node = dom.documentElement().namedItem("kdevadaproject").namedItem("configurations");
+ TQDomNode node = dom.documentElement().namedItem("tdevadaproject").namedItem("configurations");
TQDomElement childEl = node.firstChild().toElement();
while (!childEl.isNull()) {
TQString config = childEl.tagName();
@@ -72,7 +72,7 @@ TQStringList AdaProjectOptionsDlg::allBuildConfigs()
void AdaProjectOptionsDlg::accept()
{
- DomUtil::writeEntry(*m_part->projectDom(), "/kdevadaproject/general/useconfiguration", currentConfig);
+ DomUtil::writeEntry(*m_part->projectDom(), "/tdevadaproject/general/useconfiguration", currentConfig);
if (dirty)
{
saveConfig(currentConfig);
@@ -88,7 +88,7 @@ void AdaProjectOptionsDlg::compiler_box_activated( const TQString& /*s*/ )
void AdaProjectOptionsDlg::saveConfig( TQString config )
{
TQDomDocument dom = *m_part->projectDom();
- TQString prefix = "/kdevadaproject/configurations/" + config + "/";
+ TQString prefix = "/tdevadaproject/configurations/" + config + "/";
DomUtil::writeEntry(dom, prefix + "compiler",
ServiceComboBox::currentText(compiler_box, service_names));
@@ -100,7 +100,7 @@ void AdaProjectOptionsDlg::saveConfig( TQString config )
void AdaProjectOptionsDlg::readConfig( TQString config )
{
TQDomDocument dom = *m_part->projectDom();
- TQString prefix = "/kdevadaproject/configurations/" + config + "/";
+ TQString prefix = "/tdevadaproject/configurations/" + config + "/";
TQString compiler = DomUtil::readEntry(dom, prefix + "compiler", "");
@@ -171,7 +171,7 @@ void AdaProjectOptionsDlg::configRemoved()
TQString config = config_combo->currentText();
TQDomDocument dom = *m_part->projectDom();
- TQDomNode node = dom.documentElement().namedItem("kdevadaproject").namedItem("configurations");
+ TQDomNode node = dom.documentElement().namedItem("tdevadaproject").namedItem("configurations");
node.removeChild(node.namedItem(config));
allConfigs.remove(config);
@@ -185,7 +185,7 @@ void AdaProjectOptionsDlg::configRemoved()
void AdaProjectOptionsDlg::optionsButtonClicked( )
{
TQString name = ServiceComboBox::currentText(compiler_box, service_names);
- KDevCompilerOptions *plugin = m_part->createCompilerOptions(name);
+ TDevCompilerOptions *plugin = m_part->createCompilerOptions(name);
if (plugin) {
TQString flags = plugin->exec(this, options_edit->text());