summaryrefslogtreecommitdiffstats
path: root/buildtools/ada
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-07-04 16:46:19 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-07-04 16:46:19 -0500
commit998ebd2e683e45140493910f76e692e96887b5d2 (patch)
tree4d75be7d82ab9ba5ebd7c95c5b64a265971183d2 /buildtools/ada
parent9ba3adb356665bc27c3416c0b916efa89b366bde (diff)
downloadtdevelop-998ebd2e683e45140493910f76e692e96887b5d2.tar.gz
tdevelop-998ebd2e683e45140493910f76e692e96887b5d2.zip
Fix help files, kdevelop->tdevelop branding, fix startup.
Diffstat (limited to 'buildtools/ada')
-rw-r--r--buildtools/ada/adaglobaloptionsdlg.cpp2
-rw-r--r--buildtools/ada/adaproject_part.cpp6
-rw-r--r--buildtools/ada/adaprojectoptionsdlg.cpp6
-rw-r--r--buildtools/ada/service.cpp4
4 files changed, 9 insertions, 9 deletions
diff --git a/buildtools/ada/adaglobaloptionsdlg.cpp b/buildtools/ada/adaglobaloptionsdlg.cpp
index 2e788896..32d3f257 100644
--- a/buildtools/ada/adaglobaloptionsdlg.cpp
+++ b/buildtools/ada/adaglobaloptionsdlg.cpp
@@ -37,7 +37,7 @@ AdaGlobalOptionsDlg::AdaGlobalOptionsDlg(AdaProjectPart *part, TQWidget* parent,
delete mainSourceUrl;
delete defaultopts_button;
- offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Ada'");
+ offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Ada'");
ServiceComboBox::insertStringList(compiler_box, offers, &service_names, &service_execs);
diff --git a/buildtools/ada/adaproject_part.cpp b/buildtools/ada/adaproject_part.cpp
index 5d47b818..f487fcb0 100644
--- a/buildtools/ada/adaproject_part.cpp
+++ b/buildtools/ada/adaproject_part.cpp
@@ -389,10 +389,10 @@ void AdaProjectPart::loadProjectConfig( )
if (m_compilerExec.isEmpty())
{
- KTrader::OfferList offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Ada'");
+ KTrader::OfferList offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Ada'");
TQValueList<KService::Ptr>::ConstIterator it;
for (it = offers.begin(); it != offers.end(); ++it) {
- if ((*it)->property("X-KDevelop-Default").toBool()) {
+ if ((*it)->property("X-TDevelop-Default").toBool()) {
m_compilerExec = (*it)->exec();
break;
}
@@ -425,7 +425,7 @@ KDevCompilerOptions *AdaProjectPart::createCompilerOptions(const TQString &name)
}
TQStringList args;
- TQVariant prop = service->property("X-KDevelop-Args");
+ TQVariant prop = service->property("X-TDevelop-Args");
if (prop.isValid())
args = TQStringList::split(" ", prop.toString());
diff --git a/buildtools/ada/adaprojectoptionsdlg.cpp b/buildtools/ada/adaprojectoptionsdlg.cpp
index 15bb0498..14547cb7 100644
--- a/buildtools/ada/adaprojectoptionsdlg.cpp
+++ b/buildtools/ada/adaprojectoptionsdlg.cpp
@@ -29,7 +29,7 @@ AdaProjectOptionsDlg::AdaProjectOptionsDlg(AdaProjectPart *part, TQWidget* paren
{
config_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), TQT_TQOBJECT(this)));
- offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Ada'");
+ offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Ada'");
ServiceComboBox::insertStringList(compiler_box, offers, &service_names, &service_execs);
@@ -106,10 +106,10 @@ void AdaProjectOptionsDlg::readConfig( TQString config )
if (compiler.isEmpty())
{
- offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Ada'");
+ offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Ada'");
TQValueList<KService::Ptr>::ConstIterator it;
for (it = offers.begin(); it != offers.end(); ++it) {
- if ((*it)->property("X-KDevelop-Default").toBool()) {
+ if ((*it)->property("X-TDevelop-Default").toBool()) {
compiler = (*it)->name();
kdDebug() << "compiler is " << compiler << endl;
break;
diff --git a/buildtools/ada/service.cpp b/buildtools/ada/service.cpp
index 710b8f9c..9d113ce3 100644
--- a/buildtools/ada/service.cpp
+++ b/buildtools/ada/service.cpp
@@ -64,10 +64,10 @@ int ServiceComboBox::itemForText(const TQString &str, const TQStringList &names)
TQString ServiceComboBox::defaultCompiler()
{
- KTrader::OfferList offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Ada'");
+ KTrader::OfferList offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Ada'");
TQValueList<KService::Ptr>::ConstIterator it;
for (it = offers.begin(); it != offers.end(); ++it) {
- if ((*it)->property("X-KDevelop-Default").toBool()) {
+ if ((*it)->property("X-TDevelop-Default").toBool()) {
return (*it)->name();;
}
}