diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-07-04 16:46:19 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-07-04 16:46:19 -0500 |
commit | 998ebd2e683e45140493910f76e692e96887b5d2 (patch) | |
tree | 4d75be7d82ab9ba5ebd7c95c5b64a265971183d2 /buildtools | |
parent | 9ba3adb356665bc27c3416c0b916efa89b366bde (diff) | |
download | tdevelop-998ebd2e683e45140493910f76e692e96887b5d2.tar.gz tdevelop-998ebd2e683e45140493910f76e692e96887b5d2.zip |
Fix help files, kdevelop->tdevelop branding, fix startup.
Diffstat (limited to 'buildtools')
23 files changed, 43 insertions, 43 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();; } } diff --git a/buildtools/autotools/autodetailsview.cpp b/buildtools/autotools/autodetailsview.cpp index 9e1a6526..9c72999f 100644 --- a/buildtools/autotools/autodetailsview.cpp +++ b/buildtools/autotools/autodetailsview.cpp @@ -1,5 +1,5 @@ /* - KDevelop Autotools Support + TDevelop Autotools Support Copyright (c) 2002 by Victor Roeder <victor_roeder@gmx.de> Copyright (c) 2005 by Matt Rogers <mattr@kde.org> @@ -294,7 +294,7 @@ void AutoDetailsView::slotAddNewFile() if ( !titem ) return; - KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>("KDevelop/CreateFile"); + KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>("TDevelop/CreateFile"); if (createFileSupport) { KDevCreateFile::CreatedFile crFile = diff --git a/buildtools/autotools/autodetailsview.h b/buildtools/autotools/autodetailsview.h index d5017152..d1673cdd 100644 --- a/buildtools/autotools/autodetailsview.h +++ b/buildtools/autotools/autodetailsview.h @@ -1,5 +1,5 @@ /* - KDevelop Autotools Support + TDevelop Autotools Support Copyright (c) 2002 by Victor Roeder <victor_roeder@gmx.de> Copyright (c) 2005 by Matt Rogers <mattr@kde.org> diff --git a/buildtools/autotools/autoprojectwidget.cpp b/buildtools/autotools/autoprojectwidget.cpp index 79f0a1b2..7ffa0ef0 100644 --- a/buildtools/autotools/autoprojectwidget.cpp +++ b/buildtools/autotools/autoprojectwidget.cpp @@ -1,5 +1,5 @@ /* - KDevelop Autotools Support + TDevelop Autotools Support Copyright (c) 2001-2002 by Bernd Gehrmann <bernd@tdevelop.org> Copyright (c) 2002 by Victor Roeder <victor_roeder@gmx.de> Copyright (c) 2005 by Matt Rogers <mattr@kde.org> diff --git a/buildtools/autotools/autoprojectwidget.h b/buildtools/autotools/autoprojectwidget.h index f097ad16..7859f472 100644 --- a/buildtools/autotools/autoprojectwidget.h +++ b/buildtools/autotools/autoprojectwidget.h @@ -1,5 +1,5 @@ /* - KDevelop Autotools Support + TDevelop Autotools Support Copyright (c) 2001-2002 by Bernd Gehrmann <bernd@tdevelop.org> Copyright (c) 2002 by Victor Roeder <victor_roeder@gmx.de> Copyright (c) 2005 by Matt Rogers <mattr@kde.org> diff --git a/buildtools/autotools/autosubprojectview.cpp b/buildtools/autotools/autosubprojectview.cpp index 69408d00..71005417 100644 --- a/buildtools/autotools/autosubprojectview.cpp +++ b/buildtools/autotools/autosubprojectview.cpp @@ -1,5 +1,5 @@ /* - KDevelop Autotools Support + TDevelop Autotools Support Copyright (c) 2002 by Victor Roeder <victor_roeder@gmx.de> Copyright (c) 2005 by Matt Rogers <mattr@kde.org> diff --git a/buildtools/autotools/autosubprojectview.h b/buildtools/autotools/autosubprojectview.h index 40d8e730..cfeeb11c 100644 --- a/buildtools/autotools/autosubprojectview.h +++ b/buildtools/autotools/autosubprojectview.h @@ -1,5 +1,5 @@ /* - KDevelop Autotools Support + TDevelop Autotools Support Copyright (c) 2002 by Victor Roeder <victor_roeder@gmx.de> Copyright (c) 2005 by Matt Rogers <mattr@kde.org> diff --git a/buildtools/autotools/autotoolsaction.cpp b/buildtools/autotools/autotoolsaction.cpp index a1deae2c..a9404e69 100644 --- a/buildtools/autotools/autotoolsaction.cpp +++ b/buildtools/autotools/autotoolsaction.cpp @@ -1,5 +1,5 @@ /* - KDevelop Autotools Support + TDevelop Autotools Support Copyright (c) 2005 by Matt Rogers <mattr@kde.org> *************************************************************************** diff --git a/buildtools/autotools/autotoolsaction.h b/buildtools/autotools/autotoolsaction.h index 9315e53c..013bf006 100644 --- a/buildtools/autotools/autotoolsaction.h +++ b/buildtools/autotools/autotoolsaction.h @@ -1,5 +1,5 @@ /* - KDevelop Autotools Support + TDevelop Autotools Support Copyright (c) 2005 by Matt Rogers <mattr@kde.org> *************************************************************************** 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()); diff --git a/buildtools/autotools/makefilehandler.cpp b/buildtools/autotools/makefilehandler.cpp index db30508d..27f4512e 100644 --- a/buildtools/autotools/makefilehandler.cpp +++ b/buildtools/autotools/makefilehandler.cpp @@ -1,5 +1,5 @@ /* - KDevelop Autotools Support + TDevelop Autotools Support Copyright (c) 2005 by Matt Rogers <mattr@kde.org> *************************************************************************** diff --git a/buildtools/autotools/makefilehandler.h b/buildtools/autotools/makefilehandler.h index a104774c..0311500b 100644 --- a/buildtools/autotools/makefilehandler.h +++ b/buildtools/autotools/makefilehandler.h @@ -1,5 +1,5 @@ /* - KDevelop Autotools Support + TDevelop Autotools Support Copyright (c) 2005 by Matt Rogers <mattr@kde.org> *************************************************************************** diff --git a/buildtools/autotools/misc.cpp b/buildtools/autotools/misc.cpp index cbe4d24c..9f6e1cb5 100644 --- a/buildtools/autotools/misc.cpp +++ b/buildtools/autotools/misc.cpp @@ -43,7 +43,7 @@ static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec } TQStringList args; - TQVariant prop = service->property("X-KDevelop-Args"); + TQVariant prop = service->property("X-TDevelop-Args"); if (prop.isValid()) args = TQStringList::split(" ", prop.toString()); @@ -60,7 +60,7 @@ static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec /* 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/lib/base/kdevbuildtool.cpp b/buildtools/lib/base/kdevbuildtool.cpp index 29e2c96a..ccf43460 100644 --- a/buildtools/lib/base/kdevbuildtool.cpp +++ b/buildtools/lib/base/kdevbuildtool.cpp @@ -28,11 +28,11 @@ KDevBuildTool::KDevBuildTool(const KDevPluginInfo* info, TQObject* parent, const KDevMakeFrontend * KDevBuildTool::makeFrontend() { - return extension<KDevMakeFrontend>("KDevelop/MakeFrontend"); + return extension<KDevMakeFrontend>("TDevelop/MakeFrontend"); } KDevAppFrontend * KDevBuildTool::appFrontend() { - return extension<KDevAppFrontend>("KDevelop/AppFrontend"); + return extension<KDevAppFrontend>("TDevelop/AppFrontend"); } diff --git a/buildtools/pascal/pascalglobaloptionsdlg.cpp b/buildtools/pascal/pascalglobaloptionsdlg.cpp index a88e901c..79fe9167 100644 --- a/buildtools/pascal/pascalglobaloptionsdlg.cpp +++ b/buildtools/pascal/pascalglobaloptionsdlg.cpp @@ -40,7 +40,7 @@ PascalGlobalOptionsDlg::PascalGlobalOptionsDlg(PascalProjectPart *part, TQWidget delete defaultopts_button; - offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Pascal'"); + offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Pascal'"); ServiceComboBox::insertStringList(compiler_box, offers, &service_names, &service_execs); diff --git a/buildtools/pascal/pascalproject_part.cpp b/buildtools/pascal/pascalproject_part.cpp index 6ab3bd27..c0d53c89 100644 --- a/buildtools/pascal/pascalproject_part.cpp +++ b/buildtools/pascal/pascalproject_part.cpp @@ -417,10 +417,10 @@ void PascalProjectPart::loadProjectConfig( ) if (m_compilerExec.isEmpty()) { - KTrader::OfferList offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Pascal'"); + KTrader::OfferList offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Pascal'"); 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; } @@ -453,7 +453,7 @@ KDevCompilerOptions *PascalProjectPart::createCompilerOptions(const TQString &na } 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/pascal/pascalprojectoptionsdlg.cpp b/buildtools/pascal/pascalprojectoptionsdlg.cpp index 2b882466..33e3f88c 100644 --- a/buildtools/pascal/pascalprojectoptionsdlg.cpp +++ b/buildtools/pascal/pascalprojectoptionsdlg.cpp @@ -31,7 +31,7 @@ PascalProjectOptionsDlg::PascalProjectOptionsDlg(PascalProjectPart *part, TQWidg { config_combo->setValidator(new TQRegExpValidator(TQRegExp("^\\D.*"), TQT_TQOBJECT(this))); - offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Pascal'"); + offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Pascal'"); ServiceComboBox::insertStringList(compiler_box, offers, &service_names, &service_execs); @@ -108,10 +108,10 @@ void PascalProjectOptionsDlg::readConfig( TQString config ) if (compiler.isEmpty()) { - offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Pascal'"); + offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Pascal'"); 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/pascal/service.cpp b/buildtools/pascal/service.cpp index 0179fac8..15b607ff 100644 --- a/buildtools/pascal/service.cpp +++ b/buildtools/pascal/service.cpp @@ -66,10 +66,10 @@ int ServiceComboBox::itemForText(const TQString &str, const TQStringList &names) TQString ServiceComboBox::defaultCompiler() { - KTrader::OfferList offers = KTrader::self()->query("KDevelop/CompilerOptions", "[X-KDevelop-Language] == 'Pascal'"); + KTrader::OfferList offers = KTrader::self()->query("TDevelop/CompilerOptions", "[X-TDevelop-Language] == 'Pascal'"); 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();; } } diff --git a/buildtools/qmake/trollprojectwidget.cpp b/buildtools/qmake/trollprojectwidget.cpp index 7ae76d17..9d9745e3 100644 --- a/buildtools/qmake/trollprojectwidget.cpp +++ b/buildtools/qmake/trollprojectwidget.cpp @@ -1403,7 +1403,7 @@ void TrollProjectWidget::slotNewFile() return ; } } - KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>( "KDevelop/CreateFile" ); + KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>( "TDevelop/CreateFile" ); TQString fcext; if( gitem ) { @@ -1683,7 +1683,7 @@ void TrollProjectWidget::slotDetailsContextMenu( KListView *, TQListViewItem *it } else if ( r == idInsNewFile ) { - KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>( "KDevelop/CreateFile" ); + KDevCreateFile * createFileSupport = m_part->extension<KDevCreateFile>( "TDevelop/CreateFile" ); TQString fcext; switch ( titem->groupType ) { diff --git a/buildtools/script/scriptprojectpart.cpp b/buildtools/script/scriptprojectpart.cpp index fb457112..293a11c9 100644 --- a/buildtools/script/scriptprojectpart.cpp +++ b/buildtools/script/scriptprojectpart.cpp @@ -48,7 +48,7 @@ ScriptProjectPart::ScriptProjectPart(TQObject *parent, const char *name, const T setXMLFile("kdevscriptproject.rc"); // only create new file action if file creation part not available - if (!extension<KDevCreateFile>("KDevelop/CreateFile")) { + if (!extension<KDevCreateFile>("TDevelop/CreateFile")) { KAction *action; action = new KAction( i18n("New File..."), 0, this, TQT_SLOT(slotNewFile()), |