From 6392f5a9dfce2bf83617d49bb7f332181ec6004e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 May 2014 15:37:31 +0900 Subject: Revert "Finish renaming tdevelop components" This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73. --- buildtools/autotools/CMakeLists.txt | 10 +-- buildtools/autotools/Makefile.am | 20 ++--- buildtools/autotools/addfiledlg.cpp | 2 +- buildtools/autotools/addsubprojectdlg.cpp | 2 +- buildtools/autotools/autodetailsview.cpp | 20 ++--- buildtools/autotools/autoprojectpart.cpp | 30 ++++---- buildtools/autotools/autoprojectpart.h | 14 ++-- buildtools/autotools/autoprojectwidget.cpp | 2 +- buildtools/autotools/autosubprojectview.cpp | 8 +- buildtools/autotools/choosetargetdialog.cpp | 2 +- buildtools/autotools/configureoptionswidget.cpp | 20 ++--- buildtools/autotools/configureoptionswidget.h | 4 +- buildtools/autotools/fileselectorwidget.cpp | 4 +- buildtools/autotools/kdevautoproject.desktop | 97 +++++++++++++++++++++++++ buildtools/autotools/kdevautoproject.rc | 31 ++++++++ buildtools/autotools/kdevtdeautoproject.desktop | 92 +++++++++++++++++++++++ buildtools/autotools/misc.cpp | 16 ++-- buildtools/autotools/removefiledlg.cpp | 2 +- buildtools/autotools/tdevautoproject.desktop | 97 ------------------------- buildtools/autotools/tdevautoproject.rc | 31 -------- buildtools/autotools/tdevtdeautoproject.desktop | 92 ----------------------- 21 files changed, 298 insertions(+), 298 deletions(-) create mode 100644 buildtools/autotools/kdevautoproject.desktop create mode 100644 buildtools/autotools/kdevautoproject.rc create mode 100644 buildtools/autotools/kdevtdeautoproject.desktop delete mode 100644 buildtools/autotools/tdevautoproject.desktop delete mode 100644 buildtools/autotools/tdevautoproject.rc delete mode 100644 buildtools/autotools/tdevtdeautoproject.desktop (limited to 'buildtools/autotools') diff --git a/buildtools/autotools/CMakeLists.txt b/buildtools/autotools/CMakeLists.txt index e33d897c..f7af5bc6 100644 --- a/buildtools/autotools/CMakeLists.txt +++ b/buildtools/autotools/CMakeLists.txt @@ -32,13 +32,13 @@ link_directories( ##### other data ################################ -install( FILES tdevautoproject.desktop tdevtdeautoproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES tdevautoproject.rc DESTINATION ${DATA_INSTALL_DIR}/tdevautoproject ) +install( FILES kdevautoproject.desktop kdevtdeautoproject.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevautoproject.rc DESTINATION ${DATA_INSTALL_DIR}/kdevautoproject ) -##### libtdevautoproject (module) ############### +##### libkdevautoproject (module) ############### -tde_add_kpart( libtdevautoproject AUTOMOC +tde_add_kpart( libkdevautoproject AUTOMOC SOURCES autoprojectpart.cpp autoprojectwidget.cpp configureoptionswidget.cpp configureoptionswidgetbase.ui @@ -60,6 +60,6 @@ tde_add_kpart( libtdevautoproject AUTOMOC autolistviewitems.cpp managecustomcommandsbase.ui managecustomcommand.cpp autoprojectviewbase.ui autotoolsaction.cpp makefilehandler.cpp - LINK tdevautotoolsparser-static tdevbuildbase-shared tdevbuildtoolswidgets-shared + LINK kdevautotoolsparser-static kdevbuildbase-shared kdevbuildtoolswidgets-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/buildtools/autotools/Makefile.am b/buildtools/autotools/Makefile.am index a704eb29..98f3ad51 100644 --- a/buildtools/autotools/Makefile.am +++ b/buildtools/autotools/Makefile.am @@ -7,14 +7,14 @@ INCLUDES = -I$(top_srcdir)/buildtools/lib -I$(top_srcdir)/buildtools/lib/base \ -I$(top_builddir)/buildtools/lib/widgets -kde_module_LTLIBRARIES = libtdevautoproject.la -libtdevautoproject_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEPARTS) $(KDE_PLUGIN) -libtdevautoproject_la_LIBADD = \ - $(top_builddir)/buildtools/lib/base/libtdevbuildbase.la \ - $(top_builddir)/buildtools/lib/parsers/autotools/libtdevautotoolsparser.la $(top_builddir)/buildtools/lib/widgets/libtdevbuildtoolswidgets.la \ - $(top_builddir)/lib/interfaces/extras/libtdevextras.la $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libkdevautoproject.la +libkdevautoproject_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEPARTS) $(KDE_PLUGIN) +libkdevautoproject_la_LIBADD = \ + $(top_builddir)/buildtools/lib/base/libkdevbuildbase.la \ + $(top_builddir)/buildtools/lib/parsers/autotools/libkdevautotoolsparser.la $(top_builddir)/buildtools/lib/widgets/libkdevbuildtoolswidgets.la \ + $(top_builddir)/lib/interfaces/extras/libkdevextras.la $(top_builddir)/lib/libtdevelop.la -libtdevautoproject_la_SOURCES = autoprojectpart.cpp autoprojectwidget.cpp \ +libkdevautoproject_la_SOURCES = autoprojectpart.cpp autoprojectwidget.cpp \ configureoptionswidget.cpp configureoptionswidgetbase.ui subprojectoptionsdlg.cpp \ subprojectoptionsdlgbase.ui targetoptionsdlg.cpp targetoptionsdlgbase.ui addservicedlg.cpp \ addservicedlgbase.ui addapplicationdlg.cpp addapplicationdlgbase.ui addtargetdlg.cpp \ @@ -30,9 +30,9 @@ libtdevautoproject_la_SOURCES = autoprojectpart.cpp autoprojectwidget.cpp \ METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = tdevautoproject.desktop tdevtdeautoproject.desktop +service_DATA = kdevautoproject.desktop kdevtdeautoproject.desktop -rcdir = $(kde_datadir)/tdevautoproject -rc_DATA = tdevautoproject.rc +rcdir = $(kde_datadir)/kdevautoproject +rc_DATA = kdevautoproject.rc noinst_HEADERS = managecustomcommand.h autotoolsaction.h makefilehandler.h diff --git a/buildtools/autotools/addfiledlg.cpp b/buildtools/autotools/addfiledlg.cpp index 18bf87a8..d3f71637 100644 --- a/buildtools/autotools/addfiledlg.cpp +++ b/buildtools/autotools/addfiledlg.cpp @@ -36,7 +36,7 @@ #include "autoprojectpart.h" #include "autoprojectwidget.h" -#include "tdevpartcontroller.h" +#include "kdevpartcontroller.h" AddFileDialog::AddFileDialog(AutoProjectPart *part, AutoProjectWidget *widget, SubprojectItem *spitem, TargetItem *item, diff --git a/buildtools/autotools/addsubprojectdlg.cpp b/buildtools/autotools/addsubprojectdlg.cpp index fa64c506..59cebc53 100644 --- a/buildtools/autotools/addsubprojectdlg.cpp +++ b/buildtools/autotools/addsubprojectdlg.cpp @@ -25,7 +25,7 @@ #include "autolistviewitems.h" -#include "tdevmakefrontend.h" +#include "kdevmakefrontend.h" #include "misc.h" #include "autoprojectpart.h" #include "autosubprojectview.h" diff --git a/buildtools/autotools/autodetailsview.cpp b/buildtools/autotools/autodetailsview.cpp index 34060b61..91b6d75c 100644 --- a/buildtools/autotools/autodetailsview.cpp +++ b/buildtools/autotools/autodetailsview.cpp @@ -32,13 +32,13 @@ #include /** KDevelop */ -#include "tdevappfrontend.h" -#include "tdevcore.h" -#include "tdevmainwindow.h" -#include "tdevpartcontroller.h" -#include "tdevcreatefile.h" -#include "tdevlanguagesupport.h" -#include "tdevmakefrontend.h" +#include "kdevappfrontend.h" +#include "kdevcore.h" +#include "kdevmainwindow.h" +#include "kdevpartcontroller.h" +#include "kdevcreatefile.h" +#include "kdevlanguagesupport.h" +#include "kdevmakefrontend.h" #include "urlutil.h" #include "domutil.h" @@ -294,13 +294,13 @@ void AutoDetailsView::slotAddNewFile() if ( !titem ) return; - TDevCreateFile * createFileSupport = m_part->extension("TDevelop/CreateFile"); + KDevCreateFile * createFileSupport = m_part->extension("TDevelop/CreateFile"); if (createFileSupport) { - TDevCreateFile::CreatedFile crFile = + KDevCreateFile::CreatedFile crFile = createFileSupport->createNewFile(TQString(), m_widget->selectedSubproject()->path); -/* if (crFile.status == TDevCreateFile::CreatedFile::STATUS_OK) +/* if (crFile.status == KDevCreateFile::CreatedFile::STATUS_OK) { FileItem *fitem = m_widget->createFileItem(crFile.filename, m_widget->selectedSubproject()); titem->sources.append(fitem); diff --git a/buildtools/autotools/autoprojectpart.cpp b/buildtools/autotools/autoprojectpart.cpp index ae5453bc..6b408bd0 100644 --- a/buildtools/autotools/autoprojectpart.cpp +++ b/buildtools/autotools/autoprojectpart.cpp @@ -45,34 +45,34 @@ #include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include #include #include -#include +#include #include #define CONFIGURE_OPTIONS 1 #define RUN_OPTIONS 2 #define MAKE_OPTIONS 3 -static const TDevPluginInfo data("tdevautoproject"); +static const KDevPluginInfo data("kdevautoproject"); -K_EXPORT_COMPONENT_FACTORY( libtdevautoproject, AutoProjectFactory( data ) ) +K_EXPORT_COMPONENT_FACTORY( libkdevautoproject, AutoProjectFactory( data ) ) AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStringList &args) - : TDevBuildTool(&data, parent, name ? name : "AutoProjectPart") + : KDevBuildTool(&data, parent, name ? name : "AutoProjectPart") , m_lastCompilationFailed(false) { setInstance(AutoProjectFactory::instance()); - setXMLFile("tdevautoproject.rc"); + setXMLFile("kdevautoproject.rc"); m_executeAfterBuild = false; m_isKDE = (args[0] == "kde"); @@ -310,7 +310,7 @@ void AutoProjectPart::openProject(const TQString &dirName, const TQString &proje "Project -> Project Options -> Run Options"), i18n("No active target specified"), "tdevelop_open_project_no_active_target"); } - TDevProject::openProject( dirName, projectName ); + KDevProject::openProject( dirName, projectName ); } @@ -358,7 +358,7 @@ TQString AutoProjectPart::runDirectory() const TQString cwd; if( DomUtil::readBoolEntry(dom, "/kdevautoproject/run/useglobalprogram", false) || !m_widget->activeTarget() ) { - cwd = defaultRunDirectory("tdevautoproject"); + cwd = defaultRunDirectory("kdevautoproject"); }else { cwd = DomUtil::readEntry( dom, "/kdevautoproject/run/cwd/"+m_widget->activeTarget()->name ); @@ -585,7 +585,7 @@ TQStringList AutoProjectPart::allBuildConfigs() const TQStringList allConfigs; allConfigs.append("default"); - TQDomNode node = dom.documentElement().namedItem("tdevautoproject").namedItem("configurations"); + TQDomNode node = dom.documentElement().namedItem("kdevautoproject").namedItem("configurations"); TQDomElement childEl = node.firstChild().toElement(); while (!childEl.isNull()) { @@ -1075,7 +1075,7 @@ TQString AutoProjectPart::updateAdminDirectoryCommand() const // Find the admin tarball TDEStandardDirs dirs; - dirs.addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "tdevappwizard/template-common/"); + dirs.addResourceType("apptemplates", TDEStandardDirs::kde_default("data") + "kdevappwizard/template-common/"); source = dirs.findResource("apptemplates", "admin.tar.gz"); if (source != "") { TQString cmdline = "rm -rf admin && tar -xzvf "; @@ -1453,7 +1453,7 @@ bool AutoProjectPart::isKDE() const return m_isKDE; } -TDevProject::Options AutoProjectPart::options() const +KDevProject::Options AutoProjectPart::options() const { return UsesAutotoolsBuildSystem; } diff --git a/buildtools/autotools/autoprojectpart.h b/buildtools/autotools/autoprojectpart.h index 08d83719..83066c3c 100644 --- a/buildtools/autotools/autoprojectpart.h +++ b/buildtools/autotools/autoprojectpart.h @@ -20,8 +20,8 @@ #include #include #include -#include -#include "tdevbuildtool.h" +#include +#include "kdevbuildtool.h" class TQDomElement; class TQStringList; @@ -31,7 +31,7 @@ class TDESelectAction; class TargetItem; class ConfigWidgetProxy; -class AutoProjectPart : public TDevBuildTool +class AutoProjectPart : public KDevBuildTool { Q_OBJECT @@ -41,7 +41,7 @@ public: virtual ~AutoProjectPart(); /** - * Implementation of the TDevProject interface. + * Implementation of the KDevProject interface. */ virtual TQString projectDirectory() const; virtual TQString projectName() const; @@ -61,7 +61,7 @@ public: virtual Options options() const; /** - * Implementation of the TDevPlugin interface. + * Implementation of the KDevPlugin interface. */ virtual void restorePartialProjectSession ( const TQDomElement* el ); virtual void savePartialProjectSession ( TQDomElement* el ); @@ -85,7 +85,7 @@ public: protected: /** - * Reimplemented from TDevProject. These methods are only + * Reimplemented from KDevProject. These methods are only * for use by the application core. */ virtual void openProject( const TQString &dirName, const TQString &projectName ); @@ -151,7 +151,7 @@ private: bool queueInternalLibDependenciesBuild( TargetItem* titem, TQStringList& list ); }; -typedef TDevGenericFactory AutoProjectFactory; +typedef KDevGenericFactory AutoProjectFactory; #endif // kate: indent-mode csands; tab-width 4; diff --git a/buildtools/autotools/autoprojectwidget.cpp b/buildtools/autotools/autoprojectwidget.cpp index c41a60dc..a558a593 100644 --- a/buildtools/autotools/autoprojectwidget.cpp +++ b/buildtools/autotools/autoprojectwidget.cpp @@ -42,7 +42,7 @@ #include #include -#include "tdevcore.h" +#include "kdevcore.h" #include "domutil.h" #include "misc.h" #include "choosetargetdialog.h" diff --git a/buildtools/autotools/autosubprojectview.cpp b/buildtools/autotools/autosubprojectview.cpp index 0eecfe4b..8353e2ea 100644 --- a/buildtools/autotools/autosubprojectview.cpp +++ b/buildtools/autotools/autosubprojectview.cpp @@ -34,10 +34,10 @@ #include /** KDevelop */ -#include -#include -#include -#include +#include +#include +#include +#include #include /** AutoProject */ diff --git a/buildtools/autotools/choosetargetdialog.cpp b/buildtools/autotools/choosetargetdialog.cpp index fad399f3..8b59545f 100644 --- a/buildtools/autotools/choosetargetdialog.cpp +++ b/buildtools/autotools/choosetargetdialog.cpp @@ -43,7 +43,7 @@ #include "autoprojectwidget.h" #include "autoprojectpart.h" -#include "tdevpartcontroller.h" +#include "kdevpartcontroller.h" class ChooseTargetDialog::Private { diff --git a/buildtools/autotools/configureoptionswidget.cpp b/buildtools/autotools/configureoptionswidget.cpp index c991d15d..cc39aa07 100644 --- a/buildtools/autotools/configureoptionswidget.cpp +++ b/buildtools/autotools/configureoptionswidget.cpp @@ -29,7 +29,7 @@ #include #include -#include "tdevcompileroptions.h" +#include "kdevcompileroptions.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("tdevautoproject").namedItem("configurations"); + TQDomNode node = dom.documentElement().namedItem("kdevautoproject").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); - TDevCompilerOptions *plugin = createCompilerOptions(name); + KDevCompilerOptions *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); - TDevCompilerOptions *plugin = createCompilerOptions(name); + KDevCompilerOptions *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); - TDevCompilerOptions *plugin = createCompilerOptions(name); + KDevCompilerOptions *plugin = createCompilerOptions(name); if (plugin) { TQString flags = plugin->exec(this, f77flags_edit->text()); @@ -384,7 +384,7 @@ void ConfigureOptionsWidget::f77flagsClicked() } -TDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQString &name) +KDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQString &name) { KService::Ptr service = KService::serviceByDesktopName(name); if (!service) { @@ -406,13 +406,13 @@ TDevCompilerOptions *ConfigureOptionsWidget::createCompilerOptions(const TQStrin args = TQStringList::split(" ", prop.toString()); TQObject *obj = factory->create(TQT_TQOBJECT(this), service->name().latin1(), - "TDevCompilerOptions", args); + "KDevCompilerOptions", args); - if (!obj->inherits("TDevCompilerOptions")) { - kdDebug(9020) << "Component does not inherit TDevCompilerOptions" << endl; + if (!obj->inherits("KDevCompilerOptions")) { + kdDebug(9020) << "Component does not inherit KDevCompilerOptions" << endl; return 0; } - TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj; + KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj; return dlg; } diff --git a/buildtools/autotools/configureoptionswidget.h b/buildtools/autotools/configureoptionswidget.h index dfab95cc..e40874de 100644 --- a/buildtools/autotools/configureoptionswidget.h +++ b/buildtools/autotools/configureoptionswidget.h @@ -18,7 +18,7 @@ #include "domutil.h" -class TDevCompilerOptions; +class KDevCompilerOptions; class AutoProjectPart; class EnvironmentVariablesWidget; @@ -53,7 +53,7 @@ private: void readSettings( const TQString &config ); void saveSettings( const TQString &config ); - TDevCompilerOptions *createCompilerOptions( const TQString &lang ); + KDevCompilerOptions *createCompilerOptions( const TQString &lang ); TDETrader::OfferList coffers, cxxoffers, f77offers; TQStringList cservice_names, cservice_execs; TQStringList cxxservice_names, cxxservice_execs; diff --git a/buildtools/autotools/fileselectorwidget.cpp b/buildtools/autotools/fileselectorwidget.cpp index afd09d4b..c10db050 100644 --- a/buildtools/autotools/fileselectorwidget.cpp +++ b/buildtools/autotools/fileselectorwidget.cpp @@ -43,7 +43,7 @@ #include "autoprojectwidget.h" #include "autoprojectpart.h" -#include "tdevlanguagesupport.h" +#include "kdevlanguagesupport.h" #include "tdefilednddetailview.h" #include "tdefiledndiconview.h" @@ -140,7 +140,7 @@ FileSelectorWidget::FileSelectorWidget(AutoProjectPart* part, KFile::Mode mode, /* read the file patterns from the project DOM */ TQDomElement docEl = m_part->projectDom()->documentElement(); - TQDomElement fileviewEl = docEl.namedItem("tdevfileview").toElement(); + TQDomElement fileviewEl = docEl.namedItem("kdevfileview").toElement(); TQDomElement groupsEl = fileviewEl.namedItem("groups").toElement(); TQDomElement groupEl = groupsEl.firstChild().toElement(); diff --git a/buildtools/autotools/kdevautoproject.desktop b/buildtools/autotools/kdevautoproject.desktop new file mode 100644 index 00000000..a149c870 --- /dev/null +++ b/buildtools/autotools/kdevautoproject.desktop @@ -0,0 +1,97 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=Automake Project +Comment[br]=Raktres Automake +Comment[ca]=Projecte Automake +Comment[da]=Automake-projekt +Comment[de]=Automake-Projekt für TDevelop +Comment[el]=Έργο Automake +Comment[es]=Proyecto de Automake +Comment[et]=Automake'i project +Comment[eu]=Automake proiektua +Comment[fa]=پروژۀ Automake +Comment[fr]=Projet avec Automake +Comment[ga]=Comhad tionscadail Automake +Comment[gl]=Proxecto Automake +Comment[hi]=ऑटोमेक परियोजना +Comment[hu]=Automake-projekt +Comment[is]=Automake verkefni +Comment[it]=Progetto per automake +Comment[ja]=Automake プロジェクト +Comment[ms]=Projek Automake +Comment[nds]=Automake-Projekt +Comment[ne]=स्वत: निर्माण परियोजना +Comment[nl]=Automake-project +Comment[pa]=ਆਟੋਮੈਕ ਪ੍ਰੋਜੈਕਟ +Comment[pl]=Projekt: Automake +Comment[pt]=Projecto Automake +Comment[pt_BR]=Projeto Automake +Comment[ru]=Проект Automake +Comment[sk]=Automake projekt +Comment[sl]=Projekt automake +Comment[sr]=Automake пројекат +Comment[sr@Latn]=Automake projekat +Comment[sv]=Automake-projekt +Comment[ta]=ஆட்டோமேக் பிராஜக்ட் +Comment[tg]=Лоиҳаи Automake +Comment[tr]=Automake Projesi +Comment[uz]=Automake loyihasi +Comment[uz@cyrillic]=Automake лойиҳаси +Comment[zh_CN]=Automake 工程 +Comment[zh_TW]=Automake 專案 +Name=KDevAutoProject +Name[da]=TDevelop Automake-projekt +Name[de]=Automake-Projekt (TDevelop) +Name[hi]=के-डेव-ऑटो-परियोजना +Name[nds]=Automake-Projekt (TDevelop) +Name[ne]=केडीई विकास स्वत: परियोजना +Name[pl]=KDevProjektAuto +Name[pt_BR]=KDevAutoProjeto +Name[sk]=KDevAutoProjekt +Name[sv]=TDevelop autoprojekt +Name[ta]=கெடெவ்ஆட்டோ பிராஜக்ட் +Name[tg]=Лоиҳаи KDevAuto +Name[zh_TW]=TDevelop Automake 專案 +GenericName=Automake Project +GenericName[br]=Raktres Automake +GenericName[ca]=Projecte Automake +GenericName[da]=Automake-projekt +GenericName[de]=Automake-Projekt +GenericName[el]=Έργο Automake +GenericName[es]=Proyecto de Automake +GenericName[et]=Automake'i projekt +GenericName[eu]=Automake proiektua +GenericName[fa]=پروژۀ Automake +GenericName[fr]=Projet avec Automake +GenericName[ga]=Comhad tionscadail Automake +GenericName[gl]=Proxecto Automake +GenericName[hi]=ऑटोमेक परियोजना +GenericName[hu]=Automake-projekt +GenericName[it]=Progetto Automake +GenericName[ja]=Automake プロジェクト +GenericName[ms]=Projek Automake +GenericName[nds]=Automake-Projekt +GenericName[ne]=स्वत: निर्माण परियोजना +GenericName[nl]=Automake-project +GenericName[pl]=Projekt: Automake +GenericName[pt]=Projecto de Automake +GenericName[pt_BR]=Projeto Automake +GenericName[ru]=Проект Automake +GenericName[sk]=Automake projekt +GenericName[sl]=Projekt automake +GenericName[sr]=Automake пројекат +GenericName[sr@Latn]=Automake projekat +GenericName[sv]=Automake-projekt +GenericName[ta]=ஆட்டோமேக் பிராஜக்ட் +GenericName[tg]=Лоиҳаи Automake +GenericName[tr]=Automake Projesi +GenericName[uz]=Automake loyihasi +GenericName[uz@cyrillic]=Automake лойиҳаси +GenericName[zh_CN]=Automake 工程 +GenericName[zh_TW]=Automake 專案 +ServiceTypes=TDevelop/Project +Icon=make +X-TDE-Library=libkdevautoproject +X-TDevelop-Version=5 +X-TDevelop-Args= diff --git a/buildtools/autotools/kdevautoproject.rc b/buildtools/autotools/kdevautoproject.rc new file mode 100644 index 00000000..5d213e3e --- /dev/null +++ b/buildtools/autotools/kdevautoproject.rc @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/buildtools/autotools/kdevtdeautoproject.desktop b/buildtools/autotools/kdevtdeautoproject.desktop new file mode 100644 index 00000000..b9b6abd8 --- /dev/null +++ b/buildtools/autotools/kdevtdeautoproject.desktop @@ -0,0 +1,92 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=TDE Automake Project +Comment[br]=Raktres TDE Automake +Comment[ca]=Projecte Automake per al TDE +Comment[da]=TDE Automake-projekt +Comment[de]=TDE-Automake-Projekt für TDevelop +Comment[el]=Έργο TDE Automake +Comment[es]=Proyecto de Automake de TDE +Comment[et]=TDE automake'i projekt +Comment[eu]=TDE automake proiektua +Comment[fa]=پروژۀ TDE Automake +Comment[fr]=Projet Automake pour TDE +Comment[ga]=Tionscadal Automake TDE +Comment[gl]=Proxecto Automake de TDE +Comment[hi]=केडीई ऑटोमेक परियोजना +Comment[hu]=TDE Automake-projekt +Comment[is]=TDE Automake verkefni +Comment[it]=Progetto TDE per automake +Comment[ja]=TDE Automake プロジェクト +Comment[ms]=Projek Automake TDE +Comment[nds]=Automake-Projekt vun TDE +Comment[ne]=केडीई स्वत: निर्माण परियोजना +Comment[nl]=TDE Automake-project +Comment[pt]=Projecto Automake do TDE +Comment[pt_BR]=Projeto Automake do TDE +Comment[ru]=Проект TDE Automake +Comment[sk]=TDE Automake projekt +Comment[sl]=Projekt TDE Automake +Comment[sr]=TDE-ов Automake пројекат +Comment[sr@Latn]=TDE-ov Automake projekat +Comment[sv]=TDE Automake-projekt +Comment[ta]=TDE ஆட்டோமேக் பிராஜக்ட் +Comment[tg]=Лоиҳаи TDE Automake +Comment[tr]=TDE Automake Projesi +Comment[zh_CN]=TDE Automake 工程 +Comment[zh_TW]=TDE Automake 專案 +Name=KDevTDEAutoProject +Name[da]=TDevelop TDE Automake-projekt +Name[de]=TDE-Automake-Projekt (TDevelop) +Name[hi]=के-डेव-केडीई-ऑटो-परियोजना +Name[nds]=Automake-Projekt (TDE/TDevelop) +Name[ne]=केडीई विकास केडीई स्वत: परियोजना +Name[pl]=KDevProjektTDEAuto +Name[pt_BR]=KDevTDEAutoProjeto +Name[sk]=KDevAutoProjekt +Name[sv]=TDevelop TDE-autoprojekt +Name[ta]=கெடெவ்ஆட்டோ பிராஜக்ட் +Name[tg]=Лоиҳаи худкори KDevTDEAuto +Name[zh_TW]=TDevelop TDE Automake 專案 +GenericName=TDE Automake Project +GenericName[br]=Raktres TDE Automake +GenericName[ca]=Projecte Automake per al TDE +GenericName[cs]=TDE Automake projekt +GenericName[da]=TDE Automake-projekt +GenericName[de]=TDE-Automake-Projekt +GenericName[el]=Έργο TDE Automake +GenericName[es]=Proyecto de Automake de TDE +GenericName[et]=TDE automake'i projekt +GenericName[eu]=TDE automake proiektua +GenericName[fa]=پروژۀ TDE Automake +GenericName[fr]=Projet avec Automake pour TDE +GenericName[ga]=Tionscadal Automake TDE +GenericName[gl]=Proxecto Automake de TDE +GenericName[hi]=केडीई ऑटोमेक परियोजना +GenericName[hu]=TDE Automake-projekt +GenericName[it]=Progetto TDE Automake +GenericName[ja]=TDE Automake プロジェクト +GenericName[ms]=Projek Automake TDE +GenericName[nds]=Automake-Projekt vun TDE +GenericName[ne]=केडीई स्वत: निर्माण परियोजना +GenericName[nl]=TDE Automake-project +GenericName[pl]=Projekt: TDE Automake +GenericName[pt]=Projecto TDE com Automake +GenericName[pt_BR]=Projeto Automake do TDE +GenericName[ru]=Проект TDE Automake +GenericName[sk]=TDE Automake projekt +GenericName[sl]=Projekt TDE Automake +GenericName[sr]=TDE-ов Automake пројекат +GenericName[sr@Latn]=TDE-ov Automake projekat +GenericName[sv]=TDE Automake-projekt +GenericName[ta]=TDE ஆட்டோமேக் பிராஜக்ட் +GenericName[tg]=Лоиҳаи TDE Automake +GenericName[tr]=TDE Automake Projesi +GenericName[zh_CN]=TDE Automake 工程 +GenericName[zh_TW]=TDE Automake 專案 +ServiceTypes=TDevelop/Project +Icon=make +X-TDE-Library=libkdevautoproject +X-TDevelop-Version=5 +X-TDevelop-Args=kde diff --git a/buildtools/autotools/misc.cpp b/buildtools/autotools/misc.cpp index f1174b21..ec58b54c 100644 --- a/buildtools/autotools/misc.cpp +++ b/buildtools/autotools/misc.cpp @@ -21,10 +21,10 @@ #include "misc.h" -#include "tdevcompileroptions.h" +#include "kdevcompileroptions.h" -static TDevCompilerOptions *createCompilerOptions( const TQString &name, TQObject *parent ) +static KDevCompilerOptions *createCompilerOptions( const TQString &name, TQObject *parent ) { KService::Ptr service = KService::serviceByDesktopName( name ); if ( !service ) @@ -48,13 +48,13 @@ static TDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec args = TQStringList::split(" ", prop.toString()); TQObject *obj = factory->create(parent, service->name().latin1(), - "TDevCompilerOptions", args); + "KDevCompilerOptions", args); - if (!obj->inherits("TDevCompilerOptions")) { - kdDebug(9020) << "Component does not inherit TDevCompilerOptions" << endl; + if (!obj->inherits("KDevCompilerOptions")) { + kdDebug(9020) << "Component does not inherit KDevCompilerOptions" << endl; return 0; } - TDevCompilerOptions *dlg = (TDevCompilerOptions*) obj; + KDevCompilerOptions *dlg = (KDevCompilerOptions*) obj; return dlg; @@ -65,14 +65,14 @@ static TDevCompilerOptions *createCompilerOptions( const TQString &name, TQObjec args = TQStringList::split( " ", prop.toString() ); return KParts::ComponentFactory - ::createInstanceFromService( service, parent, + ::createInstanceFromService( service, parent, service->name().latin1(), args );*/ } TQString AutoProjectTool::execFlagsDialog( const TQString &compiler, const TQString &flags, TQWidget *parent ) { - TDevCompilerOptions * plugin = createCompilerOptions( compiler, TQT_TQOBJECT(parent) ); + KDevCompilerOptions * plugin = createCompilerOptions( compiler, TQT_TQOBJECT(parent) ); if ( plugin ) { diff --git a/buildtools/autotools/removefiledlg.cpp b/buildtools/autotools/removefiledlg.cpp index 6508d126..e265a969 100644 --- a/buildtools/autotools/removefiledlg.cpp +++ b/buildtools/autotools/removefiledlg.cpp @@ -155,7 +155,7 @@ void RemoveFileDialog::accept() TQDomDocument &dom = *(m_part->projectDom()); TQDomElement el = dom.documentElement(); - TQDomNode el2 = el.namedItem("tdevautoproject"); + TQDomNode el2 = el.namedItem("kdevautoproject"); TQDomNode el3 = el2.namedItem("subclassing"); TQDomNode n = el3.firstChild(); diff --git a/buildtools/autotools/tdevautoproject.desktop b/buildtools/autotools/tdevautoproject.desktop deleted file mode 100644 index ad164259..00000000 --- a/buildtools/autotools/tdevautoproject.desktop +++ /dev/null @@ -1,97 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=Automake Project -Comment[br]=Raktres Automake -Comment[ca]=Projecte Automake -Comment[da]=Automake-projekt -Comment[de]=Automake-Projekt für TDevelop -Comment[el]=Έργο Automake -Comment[es]=Proyecto de Automake -Comment[et]=Automake'i project -Comment[eu]=Automake proiektua -Comment[fa]=پروژۀ Automake -Comment[fr]=Projet avec Automake -Comment[ga]=Comhad tionscadail Automake -Comment[gl]=Proxecto Automake -Comment[hi]=ऑटोमेक परियोजना -Comment[hu]=Automake-projekt -Comment[is]=Automake verkefni -Comment[it]=Progetto per automake -Comment[ja]=Automake プロジェクト -Comment[ms]=Projek Automake -Comment[nds]=Automake-Projekt -Comment[ne]=स्वत: निर्माण परियोजना -Comment[nl]=Automake-project -Comment[pa]=ਆਟੋਮੈਕ ਪ੍ਰੋਜੈਕਟ -Comment[pl]=Projekt: Automake -Comment[pt]=Projecto Automake -Comment[pt_BR]=Projeto Automake -Comment[ru]=Проект Automake -Comment[sk]=Automake projekt -Comment[sl]=Projekt automake -Comment[sr]=Automake пројекат -Comment[sr@Latn]=Automake projekat -Comment[sv]=Automake-projekt -Comment[ta]=ஆட்டோமேக் பிராஜக்ட் -Comment[tg]=Лоиҳаи Automake -Comment[tr]=Automake Projesi -Comment[uz]=Automake loyihasi -Comment[uz@cyrillic]=Automake лойиҳаси -Comment[zh_CN]=Automake 工程 -Comment[zh_TW]=Automake 專案 -Name=KDevAutoProject -Name[da]=TDevelop Automake-projekt -Name[de]=Automake-Projekt (TDevelop) -Name[hi]=के-डेव-ऑटो-परियोजना -Name[nds]=Automake-Projekt (TDevelop) -Name[ne]=केडीई विकास स्वत: परियोजना -Name[pl]=KDevProjektAuto -Name[pt_BR]=KDevAutoProjeto -Name[sk]=KDevAutoProjekt -Name[sv]=TDevelop autoprojekt -Name[ta]=கெடெவ்ஆட்டோ பிராஜக்ட் -Name[tg]=Лоиҳаи KDevAuto -Name[zh_TW]=TDevelop Automake 專案 -GenericName=Automake Project -GenericName[br]=Raktres Automake -GenericName[ca]=Projecte Automake -GenericName[da]=Automake-projekt -GenericName[de]=Automake-Projekt -GenericName[el]=Έργο Automake -GenericName[es]=Proyecto de Automake -GenericName[et]=Automake'i projekt -GenericName[eu]=Automake proiektua -GenericName[fa]=پروژۀ Automake -GenericName[fr]=Projet avec Automake -GenericName[ga]=Comhad tionscadail Automake -GenericName[gl]=Proxecto Automake -GenericName[hi]=ऑटोमेक परियोजना -GenericName[hu]=Automake-projekt -GenericName[it]=Progetto Automake -GenericName[ja]=Automake プロジェクト -GenericName[ms]=Projek Automake -GenericName[nds]=Automake-Projekt -GenericName[ne]=स्वत: निर्माण परियोजना -GenericName[nl]=Automake-project -GenericName[pl]=Projekt: Automake -GenericName[pt]=Projecto de Automake -GenericName[pt_BR]=Projeto Automake -GenericName[ru]=Проект Automake -GenericName[sk]=Automake projekt -GenericName[sl]=Projekt automake -GenericName[sr]=Automake пројекат -GenericName[sr@Latn]=Automake projekat -GenericName[sv]=Automake-projekt -GenericName[ta]=ஆட்டோமேக் பிராஜக்ட் -GenericName[tg]=Лоиҳаи Automake -GenericName[tr]=Automake Projesi -GenericName[uz]=Automake loyihasi -GenericName[uz@cyrillic]=Automake лойиҳаси -GenericName[zh_CN]=Automake 工程 -GenericName[zh_TW]=Automake 專案 -ServiceTypes=TDevelop/Project -Icon=make -X-TDE-Library=libtdevautoproject -X-TDevelop-Version=5 -X-TDevelop-Args= diff --git a/buildtools/autotools/tdevautoproject.rc b/buildtools/autotools/tdevautoproject.rc deleted file mode 100644 index 5d213e3e..00000000 --- a/buildtools/autotools/tdevautoproject.rc +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/buildtools/autotools/tdevtdeautoproject.desktop b/buildtools/autotools/tdevtdeautoproject.desktop deleted file mode 100644 index 5ed348d1..00000000 --- a/buildtools/autotools/tdevtdeautoproject.desktop +++ /dev/null @@ -1,92 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=TDE Automake Project -Comment[br]=Raktres TDE Automake -Comment[ca]=Projecte Automake per al TDE -Comment[da]=TDE Automake-projekt -Comment[de]=TDE-Automake-Projekt für TDevelop -Comment[el]=Έργο TDE Automake -Comment[es]=Proyecto de Automake de TDE -Comment[et]=TDE automake'i projekt -Comment[eu]=TDE automake proiektua -Comment[fa]=پروژۀ TDE Automake -Comment[fr]=Projet Automake pour TDE -Comment[ga]=Tionscadal Automake TDE -Comment[gl]=Proxecto Automake de TDE -Comment[hi]=केडीई ऑटोमेक परियोजना -Comment[hu]=TDE Automake-projekt -Comment[is]=TDE Automake verkefni -Comment[it]=Progetto TDE per automake -Comment[ja]=TDE Automake プロジェクト -Comment[ms]=Projek Automake TDE -Comment[nds]=Automake-Projekt vun TDE -Comment[ne]=केडीई स्वत: निर्माण परियोजना -Comment[nl]=TDE Automake-project -Comment[pt]=Projecto Automake do TDE -Comment[pt_BR]=Projeto Automake do TDE -Comment[ru]=Проект TDE Automake -Comment[sk]=TDE Automake projekt -Comment[sl]=Projekt TDE Automake -Comment[sr]=TDE-ов Automake пројекат -Comment[sr@Latn]=TDE-ov Automake projekat -Comment[sv]=TDE Automake-projekt -Comment[ta]=TDE ஆட்டோமேக் பிராஜக்ட் -Comment[tg]=Лоиҳаи TDE Automake -Comment[tr]=TDE Automake Projesi -Comment[zh_CN]=TDE Automake 工程 -Comment[zh_TW]=TDE Automake 專案 -Name=KDevTDEAutoProject -Name[da]=TDevelop TDE Automake-projekt -Name[de]=TDE-Automake-Projekt (TDevelop) -Name[hi]=के-डेव-केडीई-ऑटो-परियोजना -Name[nds]=Automake-Projekt (TDE/TDevelop) -Name[ne]=केडीई विकास केडीई स्वत: परियोजना -Name[pl]=KDevProjektTDEAuto -Name[pt_BR]=KDevTDEAutoProjeto -Name[sk]=KDevAutoProjekt -Name[sv]=TDevelop TDE-autoprojekt -Name[ta]=கெடெவ்ஆட்டோ பிராஜக்ட் -Name[tg]=Лоиҳаи худкори KDevTDEAuto -Name[zh_TW]=TDevelop TDE Automake 專案 -GenericName=TDE Automake Project -GenericName[br]=Raktres TDE Automake -GenericName[ca]=Projecte Automake per al TDE -GenericName[cs]=TDE Automake projekt -GenericName[da]=TDE Automake-projekt -GenericName[de]=TDE-Automake-Projekt -GenericName[el]=Έργο TDE Automake -GenericName[es]=Proyecto de Automake de TDE -GenericName[et]=TDE automake'i projekt -GenericName[eu]=TDE automake proiektua -GenericName[fa]=پروژۀ TDE Automake -GenericName[fr]=Projet avec Automake pour TDE -GenericName[ga]=Tionscadal Automake TDE -GenericName[gl]=Proxecto Automake de TDE -GenericName[hi]=केडीई ऑटोमेक परियोजना -GenericName[hu]=TDE Automake-projekt -GenericName[it]=Progetto TDE Automake -GenericName[ja]=TDE Automake プロジェクト -GenericName[ms]=Projek Automake TDE -GenericName[nds]=Automake-Projekt vun TDE -GenericName[ne]=केडीई स्वत: निर्माण परियोजना -GenericName[nl]=TDE Automake-project -GenericName[pl]=Projekt: TDE Automake -GenericName[pt]=Projecto TDE com Automake -GenericName[pt_BR]=Projeto Automake do TDE -GenericName[ru]=Проект TDE Automake -GenericName[sk]=TDE Automake projekt -GenericName[sl]=Projekt TDE Automake -GenericName[sr]=TDE-ов Automake пројекат -GenericName[sr@Latn]=TDE-ov Automake projekat -GenericName[sv]=TDE Automake-projekt -GenericName[ta]=TDE ஆட்டோமேக் பிராஜக்ட் -GenericName[tg]=Лоиҳаи TDE Automake -GenericName[tr]=TDE Automake Projesi -GenericName[zh_CN]=TDE Automake 工程 -GenericName[zh_TW]=TDE Automake 專案 -ServiceTypes=TDevelop/Project -Icon=make -X-TDE-Library=libtdevautoproject -X-TDevelop-Version=5 -X-TDevelop-Args=kde -- cgit v1.2.3