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. --- languages/sql/CMakeLists.txt | 8 +- languages/sql/Makefile.am | 14 +-- .../sql/app_templates/sqlsimple/CMakeLists.txt | 6 +- languages/sql/app_templates/sqlsimple/Makefile.am | 4 +- languages/sql/app_templates/sqlsimple/app.tdevelop | 18 ++-- .../app_templates/sqlsimple/sqlsimple.kdevtemplate | 106 +++++++++++++++++++++ .../app_templates/sqlsimple/sqlsimple.tdevtemplate | 106 --------------------- languages/sql/doc/Makefile.am | 2 +- languages/sql/kdevsqlsupport.desktop | 85 +++++++++++++++++ languages/sql/kdevsqlsupport.rc | 14 +++ languages/sql/sqlactions.cpp | 4 +- languages/sql/sqlconfigwidget.ui.h | 6 +- languages/sql/sqlsupport_part.cpp | 28 +++--- languages/sql/sqlsupport_part.h | 10 +- languages/sql/tdevsqlsupport.desktop | 85 ----------------- languages/sql/tdevsqlsupport.rc | 14 --- 16 files changed, 255 insertions(+), 255 deletions(-) create mode 100644 languages/sql/app_templates/sqlsimple/sqlsimple.kdevtemplate delete mode 100644 languages/sql/app_templates/sqlsimple/sqlsimple.tdevtemplate create mode 100644 languages/sql/kdevsqlsupport.desktop create mode 100644 languages/sql/kdevsqlsupport.rc delete mode 100644 languages/sql/tdevsqlsupport.desktop delete mode 100644 languages/sql/tdevsqlsupport.rc (limited to 'languages/sql') diff --git a/languages/sql/CMakeLists.txt b/languages/sql/CMakeLists.txt index 67d5aef5..8e7d41cc 100644 --- a/languages/sql/CMakeLists.txt +++ b/languages/sql/CMakeLists.txt @@ -30,13 +30,13 @@ link_directories( ##### other data ################################ -install( FILES tdevsqlsupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES tdevsqlsupport.rc DESTINATION ${DATA_INSTALL_DIR}/tdevsqlsupport ) +install( FILES kdevsqlsupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevsqlsupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevsqlsupport ) -##### libtdevsqlsupport (module) ################ +##### libkdevsqlsupport (module) ################ -tde_add_kpart( libtdevsqlsupport AUTOMOC +tde_add_kpart( libkdevsqlsupport AUTOMOC SOURCES sqlconfigwidget.ui sqlsupport_part.cpp sqlactions.cpp sqloutputwidget.cpp diff --git a/languages/sql/Makefile.am b/languages/sql/Makefile.am index eb48a72f..ba410a98 100644 --- a/languages/sql/Makefile.am +++ b/languages/sql/Makefile.am @@ -5,16 +5,16 @@ INCLUDES = -I$(top_srcdir)/lib/compat -I$(top_srcdir)/lib/interfaces \ $(all_includes) SUBDIRS = app_templates doc -kde_module_LTLIBRARIES = libtdevsqlsupport.la -libtdevsqlsupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libtdevsqlsupport_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libkdevsqlsupport.la +libkdevsqlsupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libkdevsqlsupport_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libtdevsqlsupport_la_SOURCES = sqlconfigwidget.ui sqlsupport_part.cpp sqlactions.cpp sqloutputwidget.cpp +libkdevsqlsupport_la_SOURCES = sqlconfigwidget.ui sqlsupport_part.cpp sqlactions.cpp sqloutputwidget.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = tdevsqlsupport.desktop +service_DATA = kdevsqlsupport.desktop -rcdir = $(kde_datadir)/tdevsqlsupport -rc_DATA = tdevsqlsupport.rc +rcdir = $(kde_datadir)/kdevsqlsupport +rc_DATA = kdevsqlsupport.rc diff --git a/languages/sql/app_templates/sqlsimple/CMakeLists.txt b/languages/sql/app_templates/sqlsimple/CMakeLists.txt index 290dd962..05ddb17f 100644 --- a/languages/sql/app_templates/sqlsimple/CMakeLists.txt +++ b/languages/sql/app_templates/sqlsimple/CMakeLists.txt @@ -17,9 +17,9 @@ add_custom_target( sqlsimple.tar.gz ALL install( FILES ${CMAKE_CURRENT_BINARY_DIR}/sqlsimple.tar.gz sqlsimple.png - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) install( FILES - sqlsimple.tdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) + sqlsimple.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/sql/app_templates/sqlsimple/Makefile.am b/languages/sql/app_templates/sqlsimple/Makefile.am index 1b49cc21..6bfae1c4 100644 --- a/languages/sql/app_templates/sqlsimple/Makefile.am +++ b/languages/sql/app_templates/sqlsimple/Makefile.am @@ -2,10 +2,10 @@ templateName = sqlsimple dataFiles = app.sql app.tdevelop ### no need to change below: -template_DATA = $(templateName).tdevtemplate +template_DATA = $(templateName).kdevtemplate templatedir = ${appwizarddatadir}/templates -appwizarddatadir = ${kde_datadir}/tdevappwizard +appwizarddatadir = ${kde_datadir}/kdevappwizard $(templateName).tar.gz: ${dataFiles} $(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles} $(GZIP_COMMAND) -f9 $(templateName).tar diff --git a/languages/sql/app_templates/sqlsimple/app.tdevelop b/languages/sql/app_templates/sqlsimple/app.tdevelop index 6977b304..7fc4efc9 100644 --- a/languages/sql/app_templates/sqlsimple/app.tdevelop +++ b/languages/sql/app_templates/sqlsimple/app.tdevelop @@ -11,22 +11,22 @@ KDevdistpart - TDevDebugger + KDevDebugger - + src *.sql *~ - - + + - - + + ada ada_bugs_gcc @@ -75,10 +75,10 @@ KDE Libraries (Doxygen) - - + + - + diff --git a/languages/sql/app_templates/sqlsimple/sqlsimple.kdevtemplate b/languages/sql/app_templates/sqlsimple/sqlsimple.kdevtemplate new file mode 100644 index 00000000..5081e992 --- /dev/null +++ b/languages/sql/app_templates/sqlsimple/sqlsimple.kdevtemplate @@ -0,0 +1,106 @@ +# KDE Config File +[General] +Name=Simple SQL Project +Name[ca]=Simple projecte en SQL +Name[da]=Simpelt SQL-projekt +Name[de]=Einfaches SQL-Projekt +Name[el]=Απλό έργο SQL +Name[es]=Proyecto SQL sencillo +Name[et]=Lihtne SQL projekt +Name[eu]=SQL proiektu sinplea +Name[fa]=پروژۀ سادۀ SQL +Name[fr]=Projet SQL simple +Name[ga]=Tionscadal Simplí SQL +Name[gl]=Proxecto sinxelo en SQL +Name[hu]=Egyszerű SQL-projekt +Name[it]=Semplice progetto SQL +Name[ja]=簡単な SQL プロジェクト +Name[nds]=Eenfach SQL-Projekt +Name[ne]=साधारण SQL परियोजना +Name[nl]=Eenvoudig SQL-project +Name[pl]=Prosty projekt w SQL-u +Name[pt]=Projecto Simples em SQL +Name[pt_BR]=Projecto Simples em SQL +Name[ru]=Простой проект SQL +Name[sk]=Jednoduchý SQL projekt +Name[sr]=Једноставан SQL пројекат +Name[sr@Latn]=Jednostavan SQL projekat +Name[sv]=Enkelt SQL-projekt +Name[tr]=Basit SQL Projesi +Name[zh_CN]=简单的 SQL 工程 +Name[zh_TW]=簡單的 SQL 專案 +Category=Database +Comment=Generates a simple SQL project. +Comment[ca]=Genera un simple projecte en SQL. +Comment[da]=Genererer et simpelt SQL projekt. +Comment[de]=Erstellt ein einfaches SQL-Projekt. +Comment[el]=Δημιουργεί ένα απλό έργο SQL. +Comment[es]=Genera un sencillo proyecto SQL. +Comment[et]=Lihtsa SQL projekti loomine. +Comment[eu]=SQL proiektu sinple bat sortzen du. +Comment[fa]=یک پروژۀ سادۀ SQL تولید می‌کند. +Comment[fr]=Génère un projet SQL simple. +Comment[gl]=Xera un proxecto sinxelo en SQL. +Comment[hu]=Létrehoz egy egyszerű SQL-projektet. +Comment[it]=Genera un semplice progetto SQL. +Comment[ja]=簡単な SQL プロジェクトを作成します +Comment[nds]=Stellt en eenfach SQL-Projekt op. +Comment[ne]=साधारण SQL परियोजना उत्पन्न गर्दछ +Comment[nl]=Genereert een eenvoudig SQL-project. +Comment[pl]=Generuje prosty projekt w SQL-u. +Comment[pt]=Gera um projecto simples em SQL. +Comment[pt_BR]=Gera um projecto simples em SQL. +Comment[ru]=Простой проект SQL +Comment[sk]=Vygeneruje jednoduchý SQL projekt. +Comment[sr]=Прави једноставан SQL пројекат. +Comment[sr@Latn]=Pravi jednostavan SQL projekat. +Comment[sv]=Skapar ett enkelt SQL-projekt. +Comment[tr]=Basit bir SQL Projesi yaratır +Comment[zh_CN]=生成一个简单的 SQL 工程。 +Comment[zh_TW]=產生一個簡單的 SQL 專案 +FileTemplates=sql,AdaStyle +ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.sql +Archive=sqlsimple.tar.gz + +[FILE1] +Type=install +EscapeXML=true +Source=%{src}/app.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[FILE2] +Type=install +Source=%{src}/app.sql +Dest=%{dest}/%{APPNAMELC}.sql + +[MSG] +Type=install +Comment=A simple SQL project was created in %{dest} +Comment[ca]=Un simple projecte en SQL ha estat creat en %{dest} +Comment[da]=Et simpelt SQL projekt blev oprettet i %{dest} +Comment[de]=Ein einfaches SQL-Projekt wurde in %{dest} erstellt. +Comment[el]=Ένα απλό έργο SQL δημιουργήθηκε στο %{dest} +Comment[es]=Un sencillo proyecto SQL ha sido creado en %{dest} +Comment[et]=Lihtne SQL projekt loodi asukohta %{dest} +Comment[eu]=SQL proiektu sinple bat sortu da hemen: %{dest} +Comment[fa]=یک پروژۀ سادۀ SQL در %{dest} ایجاد شد +Comment[fr]=Un projet SQL simple a été créé dans %{dest} +Comment[ga]=Cruthaíodh tionscadal simplí SQL i %{dest} +Comment[gl]=Creouse un proxecto sinxelo en SQL en %{dest} +Comment[hu]=Létrejött egy egyszerű SQL-projekt itt: %{dest} +Comment[it]=È stato creato un semplice progetto SQL in %{dest} +Comment[ja]=簡単な SQL プロジェクトを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en eenfach SQL-Projekt opstellt. +Comment[ne]=साधारण SQL परियोजना %{dest} मा सिर्जना गरियो +Comment[nl]=Een eenvoudig SQL-project is aangemaakt in %{dest} +Comment[pl]=Prosty projekt w SQL-u został utworzony w %{dest} +Comment[pt]=Foi criado um projecto simples de SQL em %{dest} +Comment[pt_BR]=Foi criado um projecto simples de SQL em %{dest} +Comment[ru]=Простой проект SQL создан в %{dest} +Comment[sk]=Jednoduchý SQL projekt bol vytvorený v %{dest} +Comment[sr]=Једноставан SQL пројекат направљен је у %{dest} +Comment[sr@Latn]=Jednostavan SQL projekat napravljen je u %{dest} +Comment[sv]=Ett enkelt SQL-projekt skapades i %{dest} +Comment[tr]=Basit bir SQL projesi %{dest} içinde yaratıldı. +Comment[zh_CN]=在 %{dest} 中创建了简单的 SQL 工程 +Comment[zh_TW]=一個簡單的 SQL 專案已建立於 %{dest} diff --git a/languages/sql/app_templates/sqlsimple/sqlsimple.tdevtemplate b/languages/sql/app_templates/sqlsimple/sqlsimple.tdevtemplate deleted file mode 100644 index 5081e992..00000000 --- a/languages/sql/app_templates/sqlsimple/sqlsimple.tdevtemplate +++ /dev/null @@ -1,106 +0,0 @@ -# KDE Config File -[General] -Name=Simple SQL Project -Name[ca]=Simple projecte en SQL -Name[da]=Simpelt SQL-projekt -Name[de]=Einfaches SQL-Projekt -Name[el]=Απλό έργο SQL -Name[es]=Proyecto SQL sencillo -Name[et]=Lihtne SQL projekt -Name[eu]=SQL proiektu sinplea -Name[fa]=پروژۀ سادۀ SQL -Name[fr]=Projet SQL simple -Name[ga]=Tionscadal Simplí SQL -Name[gl]=Proxecto sinxelo en SQL -Name[hu]=Egyszerű SQL-projekt -Name[it]=Semplice progetto SQL -Name[ja]=簡単な SQL プロジェクト -Name[nds]=Eenfach SQL-Projekt -Name[ne]=साधारण SQL परियोजना -Name[nl]=Eenvoudig SQL-project -Name[pl]=Prosty projekt w SQL-u -Name[pt]=Projecto Simples em SQL -Name[pt_BR]=Projecto Simples em SQL -Name[ru]=Простой проект SQL -Name[sk]=Jednoduchý SQL projekt -Name[sr]=Једноставан SQL пројекат -Name[sr@Latn]=Jednostavan SQL projekat -Name[sv]=Enkelt SQL-projekt -Name[tr]=Basit SQL Projesi -Name[zh_CN]=简单的 SQL 工程 -Name[zh_TW]=簡單的 SQL 專案 -Category=Database -Comment=Generates a simple SQL project. -Comment[ca]=Genera un simple projecte en SQL. -Comment[da]=Genererer et simpelt SQL projekt. -Comment[de]=Erstellt ein einfaches SQL-Projekt. -Comment[el]=Δημιουργεί ένα απλό έργο SQL. -Comment[es]=Genera un sencillo proyecto SQL. -Comment[et]=Lihtsa SQL projekti loomine. -Comment[eu]=SQL proiektu sinple bat sortzen du. -Comment[fa]=یک پروژۀ سادۀ SQL تولید می‌کند. -Comment[fr]=Génère un projet SQL simple. -Comment[gl]=Xera un proxecto sinxelo en SQL. -Comment[hu]=Létrehoz egy egyszerű SQL-projektet. -Comment[it]=Genera un semplice progetto SQL. -Comment[ja]=簡単な SQL プロジェクトを作成します -Comment[nds]=Stellt en eenfach SQL-Projekt op. -Comment[ne]=साधारण SQL परियोजना उत्पन्न गर्दछ -Comment[nl]=Genereert een eenvoudig SQL-project. -Comment[pl]=Generuje prosty projekt w SQL-u. -Comment[pt]=Gera um projecto simples em SQL. -Comment[pt_BR]=Gera um projecto simples em SQL. -Comment[ru]=Простой проект SQL -Comment[sk]=Vygeneruje jednoduchý SQL projekt. -Comment[sr]=Прави једноставан SQL пројекат. -Comment[sr@Latn]=Pravi jednostavan SQL projekat. -Comment[sv]=Skapar ett enkelt SQL-projekt. -Comment[tr]=Basit bir SQL Projesi yaratır -Comment[zh_CN]=生成一个简单的 SQL 工程。 -Comment[zh_TW]=產生一個簡單的 SQL 專案 -FileTemplates=sql,AdaStyle -ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.sql -Archive=sqlsimple.tar.gz - -[FILE1] -Type=install -EscapeXML=true -Source=%{src}/app.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[FILE2] -Type=install -Source=%{src}/app.sql -Dest=%{dest}/%{APPNAMELC}.sql - -[MSG] -Type=install -Comment=A simple SQL project was created in %{dest} -Comment[ca]=Un simple projecte en SQL ha estat creat en %{dest} -Comment[da]=Et simpelt SQL projekt blev oprettet i %{dest} -Comment[de]=Ein einfaches SQL-Projekt wurde in %{dest} erstellt. -Comment[el]=Ένα απλό έργο SQL δημιουργήθηκε στο %{dest} -Comment[es]=Un sencillo proyecto SQL ha sido creado en %{dest} -Comment[et]=Lihtne SQL projekt loodi asukohta %{dest} -Comment[eu]=SQL proiektu sinple bat sortu da hemen: %{dest} -Comment[fa]=یک پروژۀ سادۀ SQL در %{dest} ایجاد شد -Comment[fr]=Un projet SQL simple a été créé dans %{dest} -Comment[ga]=Cruthaíodh tionscadal simplí SQL i %{dest} -Comment[gl]=Creouse un proxecto sinxelo en SQL en %{dest} -Comment[hu]=Létrejött egy egyszerű SQL-projekt itt: %{dest} -Comment[it]=È stato creato un semplice progetto SQL in %{dest} -Comment[ja]=簡単な SQL プロジェクトを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en eenfach SQL-Projekt opstellt. -Comment[ne]=साधारण SQL परियोजना %{dest} मा सिर्जना गरियो -Comment[nl]=Een eenvoudig SQL-project is aangemaakt in %{dest} -Comment[pl]=Prosty projekt w SQL-u został utworzony w %{dest} -Comment[pt]=Foi criado um projecto simples de SQL em %{dest} -Comment[pt_BR]=Foi criado um projecto simples de SQL em %{dest} -Comment[ru]=Простой проект SQL создан в %{dest} -Comment[sk]=Jednoduchý SQL projekt bol vytvorený v %{dest} -Comment[sr]=Једноставан SQL пројекат направљен је у %{dest} -Comment[sr@Latn]=Jednostavan SQL projekat napravljen je u %{dest} -Comment[sv]=Ett enkelt SQL-projekt skapades i %{dest} -Comment[tr]=Basit bir SQL projesi %{dest} içinde yaratıldı. -Comment[zh_CN]=在 %{dest} 中创建了简单的 SQL 工程 -Comment[zh_TW]=一個簡單的 SQL 專案已建立於 %{dest} diff --git a/languages/sql/doc/Makefile.am b/languages/sql/doc/Makefile.am index f6fd6d52..d42aec82 100644 --- a/languages/sql/doc/Makefile.am +++ b/languages/sql/doc/Makefile.am @@ -1,4 +1,4 @@ -#tocdir = ${kde_datadir}/tdevdoctreeview/tocs +#tocdir = ${kde_datadir}/kdevdoctreeview/tocs #toc_DATA = #indexdir = ${kde_datadir}/devdoctreeview/indices diff --git a/languages/sql/kdevsqlsupport.desktop b/languages/sql/kdevsqlsupport.desktop new file mode 100644 index 00000000..f5ee67ab --- /dev/null +++ b/languages/sql/kdevsqlsupport.desktop @@ -0,0 +1,85 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=SQL Support +Comment[ca]=Suport per a SQL +Comment[da]=SQL-understøttelse +Comment[de]=Unterstützung für SQL +Comment[el]=Υποστήριξη SQL +Comment[es]=Soporte para SQL +Comment[et]=SQL toetus +Comment[eu]=SQL euskarria +Comment[fa]=پشتیبانی SQL +Comment[fr]=Prise en charge du langage SQL +Comment[ga]=Tacaíocht SQL +Comment[gl]=Soporte para SQL +Comment[hi]=एसक्यूएल समर्थन +Comment[hu]=SQL-támogatás +Comment[is]=SQL stuðningur +Comment[it]=Supporto SQL +Comment[ja]=SQL サポート +Comment[nds]=SQL-Ünnerstütten +Comment[ne]=SQL समर्थन +Comment[nl]=Ondersteuning voor SQL +Comment[pl]=Obsługa SQL-a +Comment[pt]=Suporte a SQL +Comment[pt_BR]=Suporte ao SQL +Comment[ru]=Поддержка языка SQL +Comment[sk]=SQL podpora +Comment[sl]=Podpora za SQL +Comment[sr]=Подршка за SQL +Comment[sr@Latn]=Podrška za SQL +Comment[sv]=SQL-stöd +Comment[ta]=SQL ஆதரவு +Comment[tg]=Ёрӣ намудани забони SQL +Comment[tr]=SQL Desteği +Comment[zh_CN]=SQL 语言支持 +Comment[zh_TW]=SQL 支援 +Name=KDevSQLSupport +Name[da]=TDevelop SQL-understøttelse +Name[de]=Unterstützung für SQL (TDevelop) +Name[hi]=के-डेव-एसक्यूएल-समर्थन +Name[nds]=SQL-Ünnerstütten för TDevelop +Name[pl]=KDevObsługaSQL +Name[sk]=KDev SQL podpora +Name[sv]=TDevelop SQL-stöd +Name[ta]=கெடெவ் எஸ்கியேல் ஆதரவு +Name[zh_TW]=TDevelop SQL 支援 +GenericName=SQL Support +GenericName[ca]=Suport per a SQL +GenericName[da]=SQL-understøttelse +GenericName[de]=Unterstützung für SQL +GenericName[el]=Υποστήριξη SQL +GenericName[es]=Soporte para SQL +GenericName[et]=SQL toetus +GenericName[eu]=SQL euskarria +GenericName[fa]=پشتیبانی SQL +GenericName[fr]=Langage SQL +GenericName[ga]=Tacaíocht SQL +GenericName[gl]=Soporte para SQL +GenericName[hi]=एसक्यूएल समर्थन +GenericName[hu]=SQL-támogatás +GenericName[it]=Supporto SQL +GenericName[ja]=SQL サポート +GenericName[nds]=SQL-Ünnerstütten +GenericName[ne]=SQL समर्थन +GenericName[nl]=Ondersteuning voor SQL +GenericName[pl]=Obsługa SQL-a +GenericName[pt]=Suporte a SQL +GenericName[pt_BR]=Suporte ao SQL +GenericName[ru]=Поддержка языка SQL +GenericName[sk]=SQL podpora +GenericName[sl]=Podpora za SQL +GenericName[sr]=Подршка за SQL +GenericName[sr@Latn]=Podrška za SQL +GenericName[sv]=SQL-stöd +GenericName[ta]=SQL ஆதரவு +GenericName[tg]=Ёрӣ намудани забони SQL +GenericName[tr]=SQL Desteği +GenericName[zh_CN]=SQL 支持 +GenericName[zh_TW]=SQL 支援 +ServiceTypes=TDevelop/LanguageSupport +X-TDE-Library=libkdevsqlsupport +X-TDevelop-Version=5 +X-TDevelop-Language=SQL +X-TDevelop-Args=SQL diff --git a/languages/sql/kdevsqlsupport.rc b/languages/sql/kdevsqlsupport.rc new file mode 100644 index 00000000..36b91d7a --- /dev/null +++ b/languages/sql/kdevsqlsupport.rc @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/languages/sql/sqlactions.cpp b/languages/sql/sqlactions.cpp index f737b694..1d1a5b14 100644 --- a/languages/sql/sqlactions.cpp +++ b/languages/sql/sqlactions.cpp @@ -21,8 +21,8 @@ #include #include -#include "tdevplugin.h" -#include "tdevlanguagesupport.h" +#include "kdevplugin.h" +#include "kdevlanguagesupport.h" #include "sqlsupport_part.h" SqlListAction::SqlListAction(SQLSupportPart *part, const TQString &text, diff --git a/languages/sql/sqlconfigwidget.ui.h b/languages/sql/sqlconfigwidget.ui.h index e58930f9..c06413e7 100644 --- a/languages/sql/sqlconfigwidget.ui.h +++ b/languages/sql/sqlconfigwidget.ui.h @@ -195,7 +195,7 @@ void SqlConfigWidget::accept() { Q_ASSERT( doc ); - TQDomElement dbElem = DomUtil::createElementByPath( *doc, "/tdevsqlsupport/servers" ); + TQDomElement dbElem = DomUtil::createElementByPath( *doc, "/kdevsqlsupport/servers" ); DomUtil::makeEmpty( dbElem ); for ( int i = 0; i < dbTable->numRows() - 1; i++ ) { @@ -206,7 +206,7 @@ void SqlConfigWidget::accept() << SQLSupportPart::cryptStr( ((PasswordTableItem*)dbTable->item( i, 5 ))->password ); DomUtil::writeListEntry( *doc, - "/tdevsqlsupport/servers/server" + TQString::number( i ), + "/kdevsqlsupport/servers/server" + TQString::number( i ), "el", db ); } if ( changed ) @@ -227,7 +227,7 @@ void SqlConfigWidget::loadConfig() TQStringList db; int i = 0; while ( true ) { - TQStringList db = DomUtil::readListEntry( *doc, "tdevsqlsupport/servers/server" + TQString::number( i ), "el" ); + TQStringList db = DomUtil::readListEntry( *doc, "kdevsqlsupport/servers/server" + TQString::number( i ), "el" ); if ( db.isEmpty() ) return; diff --git a/languages/sql/sqlsupport_part.cpp b/languages/sql/sqlsupport_part.cpp index c4d0a235..2ecb2ec4 100644 --- a/languages/sql/sqlsupport_part.cpp +++ b/languages/sql/sqlsupport_part.cpp @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include #include @@ -16,28 +16,28 @@ #include #include -#include "tdevcore.h" -#include "tdevmainwindow.h" -#include "tdevlanguagesupport.h" -#include "tdevpartcontroller.h" -#include "tdevproject.h" +#include "kdevcore.h" +#include "kdevmainwindow.h" +#include "kdevlanguagesupport.h" +#include "kdevpartcontroller.h" +#include "kdevproject.h" #include "codemodel.h" -#include "tdevplugininfo.h" +#include "kdevplugininfo.h" #include "sqlconfigwidget.h" #include "sqlactions.h" #include "sqloutputwidget.h" #include "domutil.h" -typedef TDevGenericFactory SQLSupportFactory; -static const TDevPluginInfo data("tdevsqlsupport"); -K_EXPORT_COMPONENT_FACTORY( libtdevsqlsupport, SQLSupportFactory( data ) ) +typedef KDevGenericFactory SQLSupportFactory; +static const KDevPluginInfo data("kdevsqlsupport"); +K_EXPORT_COMPONENT_FACTORY( libkdevsqlsupport, SQLSupportFactory( data ) ) SQLSupportPart::SQLSupportPart( TQObject *parent, const char *name, const TQStringList& ) - : TDevLanguageSupport ( &data, parent, name ? name : "SQLSupportPart" ) + : KDevLanguageSupport ( &data, parent, name ? name : "SQLSupportPart" ) { setInstance( SQLSupportFactory::instance() ); - setXMLFile( "tdevsqlsupport.rc" ); + setXMLFile( "kdevsqlsupport.rc" ); TDEAction *action; action = new TDEAction( i18n( "&Run" ), "exec", Key_F9, this, TQT_SLOT( slotRun() ), actionCollection(), "build_execute" ); @@ -106,7 +106,7 @@ void SQLSupportPart::loadConfig() int i = 0; TQString conName; while ( true ) { - TQStringList sdb = DomUtil::readListEntry( *doc, "tdevsqlsupport/servers/server" + TQString::number( i ), "el" ); + TQStringList sdb = DomUtil::readListEntry( *doc, "kdevsqlsupport/servers/server" + TQString::number( i ), "el" ); if ( (int)sdb.size() < 6 ) break; @@ -267,7 +267,7 @@ void SQLSupportPart::savedFile( const KURL &fileName ) } } -TDevLanguageSupport::Features SQLSupportPart::features() +KDevLanguageSupport::Features SQLSupportPart::features() { return Features( Classes | Functions ); } diff --git a/languages/sql/sqlsupport_part.h b/languages/sql/sqlsupport_part.h index 4798d7fa..d5efca5b 100644 --- a/languages/sql/sqlsupport_part.h +++ b/languages/sql/sqlsupport_part.h @@ -1,5 +1,5 @@ -#ifndef __TDEVPART_SQLSUPPORT_H__ -#define __TDEVPART_SQLSUPPORT_H__ +#ifndef __KDEVPART_SQLSUPPORT_H__ +#define __KDEVPART_SQLSUPPORT_H__ #include #include @@ -7,14 +7,14 @@ #include #include -#include "tdevplugin.h" -#include "tdevlanguagesupport.h" +#include "kdevplugin.h" +#include "kdevlanguagesupport.h" class SqlListAction; class SqlOutputWidget; class CodeModel; -class SQLSupportPart : public TDevLanguageSupport +class SQLSupportPart : public KDevLanguageSupport { Q_OBJECT diff --git a/languages/sql/tdevsqlsupport.desktop b/languages/sql/tdevsqlsupport.desktop deleted file mode 100644 index 5357d127..00000000 --- a/languages/sql/tdevsqlsupport.desktop +++ /dev/null @@ -1,85 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=SQL Support -Comment[ca]=Suport per a SQL -Comment[da]=SQL-understøttelse -Comment[de]=Unterstützung für SQL -Comment[el]=Υποστήριξη SQL -Comment[es]=Soporte para SQL -Comment[et]=SQL toetus -Comment[eu]=SQL euskarria -Comment[fa]=پشتیبانی SQL -Comment[fr]=Prise en charge du langage SQL -Comment[ga]=Tacaíocht SQL -Comment[gl]=Soporte para SQL -Comment[hi]=एसक्यूएल समर्थन -Comment[hu]=SQL-támogatás -Comment[is]=SQL stuðningur -Comment[it]=Supporto SQL -Comment[ja]=SQL サポート -Comment[nds]=SQL-Ünnerstütten -Comment[ne]=SQL समर्थन -Comment[nl]=Ondersteuning voor SQL -Comment[pl]=Obsługa SQL-a -Comment[pt]=Suporte a SQL -Comment[pt_BR]=Suporte ao SQL -Comment[ru]=Поддержка языка SQL -Comment[sk]=SQL podpora -Comment[sl]=Podpora za SQL -Comment[sr]=Подршка за SQL -Comment[sr@Latn]=Podrška za SQL -Comment[sv]=SQL-stöd -Comment[ta]=SQL ஆதரவு -Comment[tg]=Ёрӣ намудани забони SQL -Comment[tr]=SQL Desteği -Comment[zh_CN]=SQL 语言支持 -Comment[zh_TW]=SQL 支援 -Name=KDevSQLSupport -Name[da]=TDevelop SQL-understøttelse -Name[de]=Unterstützung für SQL (TDevelop) -Name[hi]=के-डेव-एसक्यूएल-समर्थन -Name[nds]=SQL-Ünnerstütten för TDevelop -Name[pl]=KDevObsługaSQL -Name[sk]=KDev SQL podpora -Name[sv]=TDevelop SQL-stöd -Name[ta]=கெடெவ் எஸ்கியேல் ஆதரவு -Name[zh_TW]=TDevelop SQL 支援 -GenericName=SQL Support -GenericName[ca]=Suport per a SQL -GenericName[da]=SQL-understøttelse -GenericName[de]=Unterstützung für SQL -GenericName[el]=Υποστήριξη SQL -GenericName[es]=Soporte para SQL -GenericName[et]=SQL toetus -GenericName[eu]=SQL euskarria -GenericName[fa]=پشتیبانی SQL -GenericName[fr]=Langage SQL -GenericName[ga]=Tacaíocht SQL -GenericName[gl]=Soporte para SQL -GenericName[hi]=एसक्यूएल समर्थन -GenericName[hu]=SQL-támogatás -GenericName[it]=Supporto SQL -GenericName[ja]=SQL サポート -GenericName[nds]=SQL-Ünnerstütten -GenericName[ne]=SQL समर्थन -GenericName[nl]=Ondersteuning voor SQL -GenericName[pl]=Obsługa SQL-a -GenericName[pt]=Suporte a SQL -GenericName[pt_BR]=Suporte ao SQL -GenericName[ru]=Поддержка языка SQL -GenericName[sk]=SQL podpora -GenericName[sl]=Podpora za SQL -GenericName[sr]=Подршка за SQL -GenericName[sr@Latn]=Podrška za SQL -GenericName[sv]=SQL-stöd -GenericName[ta]=SQL ஆதரவு -GenericName[tg]=Ёрӣ намудани забони SQL -GenericName[tr]=SQL Desteği -GenericName[zh_CN]=SQL 支持 -GenericName[zh_TW]=SQL 支援 -ServiceTypes=TDevelop/LanguageSupport -X-TDE-Library=libtdevsqlsupport -X-TDevelop-Version=5 -X-TDevelop-Language=SQL -X-TDevelop-Args=SQL diff --git a/languages/sql/tdevsqlsupport.rc b/languages/sql/tdevsqlsupport.rc deleted file mode 100644 index 36b91d7a..00000000 --- a/languages/sql/tdevsqlsupport.rc +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - -- cgit v1.2.1