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/ruby/CMakeLists.txt | 12 +- languages/ruby/Makefile.am | 20 +- languages/ruby/app_templates/CMakeLists.txt | 2 +- languages/ruby/app_templates/Makefile.am | 2 +- .../ruby/app_templates/dcopservice/CMakeLists.txt | 6 +- .../ruby/app_templates/dcopservice/Makefile.am | 4 +- .../app_templates/dcopservice/dcopservice.tdevelop | 28 +-- .../dcopservice/dcopserviceruby.kdevtemplate | 199 ++++++++++++++++ .../dcopservice/dcopserviceruby.tdevtemplate | 199 ---------------- languages/ruby/app_templates/kapp/CMakeLists.txt | 27 +++ languages/ruby/app_templates/kapp/Makefile.am | 19 ++ languages/ruby/app_templates/kapp/README | 81 +++++++ languages/ruby/app_templates/kapp/app-Makefile.am | 1 + .../ruby/app_templates/kapp/app-configure.in.in | 45 ++++ languages/ruby/app_templates/kapp/app.cpp | 30 +++ languages/ruby/app_templates/kapp/app.desktop | 44 ++++ languages/ruby/app_templates/kapp/app.rb | 216 ++++++++++++++++++ languages/ruby/app_templates/kapp/app.tdevelop | 90 ++++++++ languages/ruby/app_templates/kapp/app_client.rb | 18 ++ languages/ruby/app_templates/kapp/appiface.rb | 14 ++ languages/ruby/app_templates/kapp/appui.rc | 8 + languages/ruby/app_templates/kapp/appview.rb | 103 +++++++++ .../ruby/app_templates/kapp/kappruby.kdevtemplate | 238 +++++++++++++++++++ languages/ruby/app_templates/kapp/kappruby.png | Bin 0 -> 5063 bytes languages/ruby/app_templates/kapp/main.rb | 40 ++++ languages/ruby/app_templates/kapp/pref.rb | 38 ++++ languages/ruby/app_templates/kapp/src-Makefile.am | 43 ++++ languages/ruby/app_templates/kapp/subdirs | 3 + languages/ruby/app_templates/kxt/CMakeLists.txt | 6 +- languages/ruby/app_templates/kxt/Makefile.am | 4 +- languages/ruby/app_templates/kxt/app.tdevelop | 22 +- .../ruby/app_templates/kxt/kxtruby.kdevtemplate | 251 +++++++++++++++++++++ .../ruby/app_templates/kxt/kxtruby.tdevtemplate | 251 --------------------- languages/ruby/app_templates/qtruby/CMakeLists.txt | 6 +- languages/ruby/app_templates/qtruby/Makefile.am | 4 +- languages/ruby/app_templates/qtruby/app.filelist | 2 +- languages/ruby/app_templates/qtruby/app.tdevelop | 24 +- .../ruby/app_templates/qtruby/qtruby.kdevtemplate | 114 ++++++++++ .../ruby/app_templates/qtruby/qtruby.tdevtemplate | 114 ---------- .../ruby/app_templates/qtruby4app/CMakeLists.txt | 6 +- .../ruby/app_templates/qtruby4app/Makefile.am | 4 +- .../ruby/app_templates/qtruby4app/app.filelist | 2 +- .../qtruby4app/qtruby4app.kdevtemplate | 166 ++++++++++++++ .../app_templates/qtruby4app/qtruby4app.tdevelop | 22 +- .../qtruby4app/qtruby4app.tdevtemplate | 166 -------------- .../ruby/app_templates/qtrubyapp/CMakeLists.txt | 6 +- languages/ruby/app_templates/qtrubyapp/Makefile.am | 4 +- .../ruby/app_templates/qtrubyapp/app.filelist | 2 +- .../app_templates/qtrubyapp/qtrubyapp.kdevtemplate | 140 ++++++++++++ .../app_templates/qtrubyapp/qtrubyapp.tdevelop | 22 +- .../app_templates/qtrubyapp/qtrubyapp.tdevtemplate | 140 ------------ languages/ruby/app_templates/rails/CMakeLists.txt | 6 +- languages/ruby/app_templates/rails/Makefile.am | 4 +- languages/ruby/app_templates/rails/app.tdevelop | 22 +- .../ruby/app_templates/rails/rails.kdevtemplate | 72 ++++++ .../ruby/app_templates/rails/rails.tdevtemplate | 72 ------ languages/ruby/app_templates/ruby.appwizard | 2 +- .../ruby/app_templates/rubyhello/CMakeLists.txt | 6 +- languages/ruby/app_templates/rubyhello/Makefile.am | 4 +- .../ruby/app_templates/rubyhello/app.tdevelop | 22 +- .../app_templates/rubyhello/rubyhello.kdevtemplate | 105 +++++++++ .../app_templates/rubyhello/rubyhello.tdevtemplate | 105 --------- languages/ruby/app_templates/tdeapp/CMakeLists.txt | 27 --- languages/ruby/app_templates/tdeapp/Makefile.am | 19 -- languages/ruby/app_templates/tdeapp/README | 81 ------- .../ruby/app_templates/tdeapp/app-Makefile.am | 1 - .../ruby/app_templates/tdeapp/app-configure.in.in | 45 ---- languages/ruby/app_templates/tdeapp/app.cpp | 30 --- languages/ruby/app_templates/tdeapp/app.desktop | 44 ---- languages/ruby/app_templates/tdeapp/app.rb | 216 ------------------ languages/ruby/app_templates/tdeapp/app.tdevelop | 90 -------- languages/ruby/app_templates/tdeapp/app_client.rb | 18 -- languages/ruby/app_templates/tdeapp/appiface.rb | 14 -- languages/ruby/app_templates/tdeapp/appui.rc | 8 - languages/ruby/app_templates/tdeapp/appview.rb | 103 --------- languages/ruby/app_templates/tdeapp/main.rb | 40 ---- languages/ruby/app_templates/tdeapp/pref.rb | 38 ---- .../ruby/app_templates/tdeapp/src-Makefile.am | 43 ---- languages/ruby/app_templates/tdeapp/subdirs | 3 - languages/ruby/app_templates/tdeapp/tdeappruby.png | Bin 5063 -> 0 bytes .../app_templates/tdeapp/tdeappruby.tdevtemplate | 238 ------------------- languages/ruby/debugger/CMakeLists.txt | 12 +- languages/ruby/debugger/Makefile.am | 16 +- languages/ruby/debugger/debuggerpart.cpp | 38 ++-- languages/ruby/debugger/debuggerpart.h | 18 +- languages/ruby/debugger/kdevrbdebugger.desktop | 73 ++++++ languages/ruby/debugger/kdevrbdebugger.rc | 68 ++++++ languages/ruby/debugger/tdevrbdebugger.desktop | 73 ------ languages/ruby/debugger/tdevrbdebugger.rc | 68 ------ languages/ruby/doc/CMakeLists.txt | 2 +- languages/ruby/doc/Makefile.am | 2 +- languages/ruby/file_templates/CMakeLists.txt | 2 +- languages/ruby/file_templates/Makefile.am | 2 +- languages/ruby/kdevrubysupport.desktop | 84 +++++++ languages/ruby/kdevrubysupport.rc | 20 ++ languages/ruby/qtdesignerrubyintegration.cpp | 8 +- languages/ruby/qtdesignerrubyintegration.h | 2 +- languages/ruby/rubyimplementationwidget.cpp | 6 +- languages/ruby/rubyimplementationwidget.h | 2 +- languages/ruby/rubysupport_part.cpp | 48 ++-- languages/ruby/rubysupport_part.h | 16 +- languages/ruby/tdevrubysupport.desktop | 84 ------- languages/ruby/tdevrubysupport.rc | 20 -- 103 files changed, 2575 insertions(+), 2575 deletions(-) create mode 100644 languages/ruby/app_templates/dcopservice/dcopserviceruby.kdevtemplate delete mode 100644 languages/ruby/app_templates/dcopservice/dcopserviceruby.tdevtemplate create mode 100644 languages/ruby/app_templates/kapp/CMakeLists.txt create mode 100644 languages/ruby/app_templates/kapp/Makefile.am create mode 100644 languages/ruby/app_templates/kapp/README create mode 100644 languages/ruby/app_templates/kapp/app-Makefile.am create mode 100644 languages/ruby/app_templates/kapp/app-configure.in.in create mode 100644 languages/ruby/app_templates/kapp/app.cpp create mode 100644 languages/ruby/app_templates/kapp/app.desktop create mode 100644 languages/ruby/app_templates/kapp/app.rb create mode 100644 languages/ruby/app_templates/kapp/app.tdevelop create mode 100644 languages/ruby/app_templates/kapp/app_client.rb create mode 100644 languages/ruby/app_templates/kapp/appiface.rb create mode 100644 languages/ruby/app_templates/kapp/appui.rc create mode 100644 languages/ruby/app_templates/kapp/appview.rb create mode 100644 languages/ruby/app_templates/kapp/kappruby.kdevtemplate create mode 100644 languages/ruby/app_templates/kapp/kappruby.png create mode 100644 languages/ruby/app_templates/kapp/main.rb create mode 100644 languages/ruby/app_templates/kapp/pref.rb create mode 100644 languages/ruby/app_templates/kapp/src-Makefile.am create mode 100644 languages/ruby/app_templates/kapp/subdirs create mode 100644 languages/ruby/app_templates/kxt/kxtruby.kdevtemplate delete mode 100644 languages/ruby/app_templates/kxt/kxtruby.tdevtemplate create mode 100644 languages/ruby/app_templates/qtruby/qtruby.kdevtemplate delete mode 100644 languages/ruby/app_templates/qtruby/qtruby.tdevtemplate create mode 100644 languages/ruby/app_templates/qtruby4app/qtruby4app.kdevtemplate delete mode 100644 languages/ruby/app_templates/qtruby4app/qtruby4app.tdevtemplate create mode 100644 languages/ruby/app_templates/qtrubyapp/qtrubyapp.kdevtemplate delete mode 100644 languages/ruby/app_templates/qtrubyapp/qtrubyapp.tdevtemplate create mode 100644 languages/ruby/app_templates/rails/rails.kdevtemplate delete mode 100644 languages/ruby/app_templates/rails/rails.tdevtemplate create mode 100644 languages/ruby/app_templates/rubyhello/rubyhello.kdevtemplate delete mode 100644 languages/ruby/app_templates/rubyhello/rubyhello.tdevtemplate delete mode 100644 languages/ruby/app_templates/tdeapp/CMakeLists.txt delete mode 100644 languages/ruby/app_templates/tdeapp/Makefile.am delete mode 100644 languages/ruby/app_templates/tdeapp/README delete mode 100644 languages/ruby/app_templates/tdeapp/app-Makefile.am delete mode 100644 languages/ruby/app_templates/tdeapp/app-configure.in.in delete mode 100644 languages/ruby/app_templates/tdeapp/app.cpp delete mode 100644 languages/ruby/app_templates/tdeapp/app.desktop delete mode 100644 languages/ruby/app_templates/tdeapp/app.rb delete mode 100644 languages/ruby/app_templates/tdeapp/app.tdevelop delete mode 100644 languages/ruby/app_templates/tdeapp/app_client.rb delete mode 100644 languages/ruby/app_templates/tdeapp/appiface.rb delete mode 100644 languages/ruby/app_templates/tdeapp/appui.rc delete mode 100644 languages/ruby/app_templates/tdeapp/appview.rb delete mode 100644 languages/ruby/app_templates/tdeapp/main.rb delete mode 100644 languages/ruby/app_templates/tdeapp/pref.rb delete mode 100644 languages/ruby/app_templates/tdeapp/src-Makefile.am delete mode 100644 languages/ruby/app_templates/tdeapp/subdirs delete mode 100644 languages/ruby/app_templates/tdeapp/tdeappruby.png delete mode 100644 languages/ruby/app_templates/tdeapp/tdeappruby.tdevtemplate create mode 100644 languages/ruby/debugger/kdevrbdebugger.desktop create mode 100644 languages/ruby/debugger/kdevrbdebugger.rc delete mode 100644 languages/ruby/debugger/tdevrbdebugger.desktop delete mode 100644 languages/ruby/debugger/tdevrbdebugger.rc create mode 100644 languages/ruby/kdevrubysupport.desktop create mode 100644 languages/ruby/kdevrubysupport.rc delete mode 100644 languages/ruby/tdevrubysupport.desktop delete mode 100644 languages/ruby/tdevrubysupport.rc (limited to 'languages/ruby') diff --git a/languages/ruby/CMakeLists.txt b/languages/ruby/CMakeLists.txt index 8418c5c9..2f1a231e 100644 --- a/languages/ruby/CMakeLists.txt +++ b/languages/ruby/CMakeLists.txt @@ -33,15 +33,15 @@ link_directories( ##### other data ################################ -install( FILES tdevrubysupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES rubytemplates DESTINATION ${DATA_INSTALL_DIR}/tdevabbrev/templates ) -install( FILES tdevrubysupport.rc DESTINATION ${DATA_INSTALL_DIR}/tdevrubysupport ) -install( FILES ruby_config.png ruby_run.png DESTINATION ${DATA_INSTALL_DIR}/tdevrubysupport/pics ) +install( FILES kdevrubysupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES rubytemplates DESTINATION ${DATA_INSTALL_DIR}/kdevabbrev/templates ) +install( FILES kdevrubysupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevrubysupport ) +install( FILES ruby_config.png ruby_run.png DESTINATION ${DATA_INSTALL_DIR}/kdevrubysupport/pics ) -##### libtdevrubysupport (module) ############### +##### libkdevrubysupport (module) ############### -tde_add_kpart( libtdevrubysupport AUTOMOC +tde_add_kpart( libkdevrubysupport AUTOMOC SOURCES rubysupport_part.cpp rubyconfigwidgetbase.ui rubyconfigwidget.cpp qtdesignerrubyintegration.cpp diff --git a/languages/ruby/Makefile.am b/languages/ruby/Makefile.am index 95a632cc..e0a3612b 100644 --- a/languages/ruby/Makefile.am +++ b/languages/ruby/Makefile.am @@ -7,25 +7,25 @@ INCLUDES = -I$(top_srcdir)/languages/lib/designer_integration \ SUBDIRS = app_templates file_templates doc debugger -kde_module_LTLIBRARIES = libtdevrubysupport.la -libtdevrubysupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libtdevrubysupport_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ - $(top_builddir)/languages/lib/designer_integration/libdesignerintegration.la $(top_builddir)/lib/util/libtdevutil.la +kde_module_LTLIBRARIES = libkdevrubysupport.la +libkdevrubysupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libkdevrubysupport_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ + $(top_builddir)/languages/lib/designer_integration/libdesignerintegration.la $(top_builddir)/lib/util/libkdevutil.la -libtdevrubysupport_la_SOURCES = rubysupport_part.cpp rubyconfigwidgetbase.ui \ +libkdevrubysupport_la_SOURCES = rubysupport_part.cpp rubyconfigwidgetbase.ui \ rubyconfigwidget.cpp qtdesignerrubyintegration.cpp rubyimplementationwidget.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = tdevrubysupport.desktop +service_DATA = kdevrubysupport.desktop -templatedir = ${kde_datadir}/tdevabbrev/templates +templatedir = ${kde_datadir}/kdevabbrev/templates template_DATA = rubytemplates -rcdir = $(kde_datadir)/tdevrubysupport -rc_DATA = tdevrubysupport.rc +rcdir = $(kde_datadir)/kdevrubysupport +rc_DATA = kdevrubysupport.rc -picsdirdir = $(kde_datadir)/tdevrubysupport/pics +picsdirdir = $(kde_datadir)/kdevrubysupport/pics picsdir_DATA = ruby_config.png ruby_run.png noinst_HEADERS = qtdesignerrubyintegration.h rubyimplementationwidget.h diff --git a/languages/ruby/app_templates/CMakeLists.txt b/languages/ruby/app_templates/CMakeLists.txt index 9e642f8e..1f8c054a 100644 --- a/languages/ruby/app_templates/CMakeLists.txt +++ b/languages/ruby/app_templates/CMakeLists.txt @@ -13,7 +13,7 @@ add_subdirectory( rubyhello ) add_subdirectory( qtruby ) add_subdirectory( qtrubyapp ) add_subdirectory( dcopservice ) -add_subdirectory( tdeapp ) +add_subdirectory( kapp ) add_subdirectory( kxt ) add_subdirectory( rails ) add_subdirectory( qtruby4app ) diff --git a/languages/ruby/app_templates/Makefile.am b/languages/ruby/app_templates/Makefile.am index 9e02a942..3150485b 100644 --- a/languages/ruby/app_templates/Makefile.am +++ b/languages/ruby/app_templates/Makefile.am @@ -1,3 +1,3 @@ -SUBDIRS = rubyhello qtruby qtrubyapp dcopservice tdeapp kxt rails qtruby4app +SUBDIRS = rubyhello qtruby qtrubyapp dcopservice kapp kxt rails qtruby4app profilesdir = $(kde_datadir)/tdevelop/profiles/IDE/ScriptingLanguageIDE/RubyIDE profiles_DATA = ruby.appwizard diff --git a/languages/ruby/app_templates/dcopservice/CMakeLists.txt b/languages/ruby/app_templates/dcopservice/CMakeLists.txt index c971b3cd..f673e72c 100644 --- a/languages/ruby/app_templates/dcopservice/CMakeLists.txt +++ b/languages/ruby/app_templates/dcopservice/CMakeLists.txt @@ -19,9 +19,9 @@ add_custom_target( dcopserviceruby.tar.gz ALL install( FILES ${CMAKE_CURRENT_BINARY_DIR}/dcopserviceruby.tar.gz dcopserviceruby.png - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) install( FILES - dcopserviceruby.tdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) + dcopserviceruby.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/dcopservice/Makefile.am b/languages/ruby/app_templates/dcopservice/Makefile.am index 3d7668ef..a7193d6a 100644 --- a/languages/ruby/app_templates/dcopservice/Makefile.am +++ b/languages/ruby/app_templates/dcopservice/Makefile.am @@ -4,10 +4,10 @@ dataFiles = dcopservice.desktop app.cpp app-configure.in.in \ templateName = dcopserviceruby ### 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/ruby/app_templates/dcopservice/dcopservice.tdevelop b/languages/ruby/app_templates/dcopservice/dcopservice.tdevelop index a1b10215..437aa315 100644 --- a/languages/ruby/app_templates/dcopservice/dcopservice.tdevelop +++ b/languages/ruby/app_templates/dcopservice/dcopservice.tdevelop @@ -13,22 +13,22 @@ KDE - + src/%{APPNAMELC} - - + + - - + + ada ada_bugs_gcc @@ -63,29 +63,29 @@ qmake User Guide - - + + libtool - - + + - - + + ruby false 3 src/main.rb - - + + Doxygen Documentation Collection %{APPNAMELC}.tag - + diff --git a/languages/ruby/app_templates/dcopservice/dcopserviceruby.kdevtemplate b/languages/ruby/app_templates/dcopservice/dcopserviceruby.kdevtemplate new file mode 100644 index 00000000..fbadd4e3 --- /dev/null +++ b/languages/ruby/app_templates/dcopservice/dcopserviceruby.kdevtemplate @@ -0,0 +1,199 @@ +# KDE Config File +[General] +Name=DCOP Service +Name[br]=Servij DCOP +Name[ca]=Servei DCOP +Name[de]=DCOP-Dienst +Name[el]=Υπηρεσία DCOP +Name[es]=Servicio DCOP +Name[et]=DCOP-teenus +Name[eu]=DCOP zerbitzua +Name[fa]=خدمت DCOP +Name[fr]=Service DCOP +Name[ga]=Seirbhís DCOP +Name[gl]=Servizo DCOP +Name[hu]=DCOP-szolgáltatás +Name[it]=Servizio DCOP +Name[ja]=DCOP サービス +Name[nds]=DCOP-Deenst +Name[ne]=DCOP सेवा +Name[nl]=DCOP-service +Name[pl]=Usługa DCOP +Name[pt]=Serviço de DCOP +Name[pt_BR]=Serviço DCOP +Name[ru]=Сервис DCOP +Name[sk]=DCOP služba +Name[sr]=DCOP сервис +Name[sr@Latn]=DCOP servis +Name[sv]=DCOP-tjänst +Name[tr]=DCOP Hizmeti +Name[zh_CN]=DCOP 服务 +Name[zh_TW]=DCOP 服務 +Icon=kdcop.png +Category=Ruby/KDE +Comment=Generates a framework for a KDE DCOP service and client access library. +Comment[ca]=Genera una infraestructura per a un servei DCOP de KDE i la biblioteca d'accés del client. +Comment[da]=Genererer et skelet for en KDE dcop-tjeneste og klientadgangsbibliotek. +Comment[de]=Erstellt das Grundgerüst für einen KDE-DCOP-Dienst und eine Bibliothek für den Client-Zugriff. +Comment[el]=Δημιουργεί ένα πλαίσιο για μια υπηρεσία KDE DCOP και μια βιβλιοθήκη πρόσβασης πελάτη. +Comment[es]=Genera una infraestructura para un servicio DCOP de KDE y una biblioteca de acceso cliente. +Comment[et]=KDE DCOP-teenuse raamistiku ja kliendi ligipääsu teegi loomine. +Comment[eu]=KDE-ren DCOP zerbitzu baterako lan-marko bat eta bezero liburutegi bat sortzen ditu. +Comment[fa]=چارچوبی برای خدمت KDE DCOP و کتابخانۀ دستیابی کارخواه تولید می‌کند. +Comment[fr]=Génère une infrastructure pour un service DCOP KDE et une bibliothèque d'accès client. +Comment[ga]=Cruthaigh creatlach do sheirbhís DCOP KDE agus leabharlann rochtana cliaint. +Comment[gl]=Xera un contorno de traballo para un servizo DCOP de KDE e unha biblioteca de acceso para clientes. +Comment[hu]=Létrehoz egy alap KDE DCOP-szolgáltatást és klienselérési programkönyvtárat. +Comment[it]=Genera l'infrastruttura per un servizio DCOP di KDE e una libreria per l'accesso da client. +Comment[ja]=KDE DCOP サービスとクライアントアクセスライブラリのためのフレームワークを作成します +Comment[nds]=Stellt en Rahmenwark för en KDE-DCOP-Deenst un en Clienttogriep-Bibliotheek op. +Comment[ne]=KDE DCOP सेवा र ग्राहक पहुँच लाइब्रेरीका लागि फ्रेमवर्क उत्पन्न गर्दछ । +Comment[nl]=Genereert een framework voor een KDE DCOP-service- en client-bibliotheek. +Comment[pl]=Generuje schemat dla usługi KDE DCOP i biblioteki dostępu użytkownika. +Comment[pt]=Gera a plataforma para um serviço de DCOP do KDE e a biblioteca de acesso dos clientes. +Comment[pt_BR]=Gera a plataforma para um serviço de DCOP do KDE e a biblioteca de acesso dos clientes. +Comment[ru]=Создание сервиса DCOP и библиотеки клиента. +Comment[sk]=Vygeneruje framework pre KDE DCOP službu a klientskú prístupovú knižnicu. +Comment[sr]=Прави једноставан радни оквир за KDE DCOP сервис и приступну библиотеку клијента. +Comment[sr@Latn]=Pravi jednostavan radni okvir za KDE DCOP servis i pristupnu biblioteku klijenta. +Comment[sv]=Skapar ett ramverk för en KDE DCOP-tjänst och klientåtkomstbibliotek. +Comment[tr]=Bir KDE DCOP hizmeti ve istemci erişim kütüphanesi için bir çatı yaratır. +Comment[zh_CN]=生成一个 KDE DCOP 服务和客户访问库的框架。 +Comment[zh_TW]=產生一個 KDE DCOP 服務的架構,以及客戶端存取的函式庫。 +FileTemplates=rb,ShellStyle +ShowFilesAfterGeneration=%{dest}/src/main.rb +Archive=dcopserviceruby.tar.gz + +[ADMIN] +Type=include +File=%{tdevelop}/template-common/admin.kdevtemplate + +[GNU] +Type=include +File=%{tdevelop}/template-common/gnu.kdevtemplate + +[MKDIR_DOCBOOK1] +Type=mkdir +Dir=%{dest}/doc + +[MKDIR_DOCBOOK2] +Type=mkdir +Dir=%{dest}/doc/en + +[FILE1] +Type=install +Source=%{tdevelop}/template-common/kde-doc-Makefile.am +Dest=%{dest}/doc/Makefile.am + +[FILE2] +Type=install +Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am +Dest=%{dest}/doc/en/Makefile.am + +[FILE3] +Type=install +EscapeXML=true +Source=%{tdevelop}/template-common/tde-index.docbook +Dest=%{dest}/doc/en/index.docbook + +[FILE4] +Type=install +EscapeXML=true +Source=%{src}/dcopservice.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[MkDir3] +Type=mkdir +Dir=%{dest}/src + +[FILE5] +Type=install +Source=%{tdevelop}/template-common/kde-app.lsm +Dest=%{dest}/src/%{APPNAMELC}.lsm + +[MkDir4] +Type=mkdir +Dir=%{dest}/po + +[FILE6] +Type=install +Source=%{tdevelop}/template-common/kde-po-Makefile.am +Dest=%{dest}/po/Makefile.am + +[FILE7] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.am +Dest=%{dest}/Makefile.am + +[FILE8] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.cvs +Dest=%{dest}/Makefile.cvs + +[FILE9] +Type=install +Source=%{src}/app-configure.in.in +Dest=%{dest}/configure.in.in + +[FILE10] +Type=install +Source=%{src}/subdirs +Dest=%{dest}/subdirs + +[FILE11] +Type=install +Source=%{src}/src-Makefile.am +Dest=%{dest}/src/Makefile.am + +[FILE12] +Type=install +Source=%{src}/dcopservice.rb +Dest=%{dest}/src/%{APPNAMELC}.rb + +[FILE13] +Type=install +Source=%{src}/dcopservice.desktop +Dest=%{dest}/src/%{APPNAMELC}.desktop + +[FILE14] +Type=install +Source=%{src}/main.rb +Dest=%{dest}/src/main.rb + +[FILE15] +Type=install +Source=%{src}/app.cpp +Dest=%{dest}/src/%{APPNAMELC}.cpp + +[MSG] +Type=message +Comment=A KDE DCOP Service was created in %{dest} +Comment[ca]=Un servei DCOP de KDE ha estat creada en %{dest} +Comment[da]=En KDE DCOP tjeneste blev oprettet i %{dest} +Comment[de]=Ein KDE-DCOP-Dienst wurde in %{dest} erstellt. +Comment[el]=Μια υπηρεσία KDE DCOP δημιουργήθηκε στο %{dest} +Comment[es]=Un servicio DCOP de KDE ha sido creado en %{dest} +Comment[et]=KDE DCOP-teenus loodi asukohta %{dest} +Comment[eu]=KDE-ren DCOP zerbitzu bat sortu da hemen: %{dest} +Comment[fa]=یک خدمت KDE DCOP در %{dest} ایجاد شد +Comment[fr]=Un service DCOP KDE a été créé dans %{dest} +Comment[ga]=Cruthaíodh Seirbhís DCOP KDE i %{dest} +Comment[gl]=Creouse un servizo DCOP de KDE en %{dest} +Comment[hu]=Létrejött egy KDE DCOP-szolgáltatás itt: %{dest} +Comment[it]=È stato creato un servizio DCOP di KDE in %{dest} +Comment[ja]=KDE DCOP サービスを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en KDE-DCOP-Deenst opstellt +Comment[ne]=KDE DCOP सेवा %{dest} मा सिर्जना गरियो +Comment[nl]=Een DCOP-service is aangemaakt in %{dest} +Comment[pl]=Usługa KDE DCOP została utworzona w %{dest} +Comment[pt]=Foi criado um serviço de DCOP do KDE em %{dest} +Comment[pt_BR]=Foi criado um serviço de DCOP do KDE em %{dest} +Comment[ru]=Сервис DCOP создан в %{dest} +Comment[sk]=KDE DCOP služba bola vytvorená v %{dest} +Comment[sl]=Storitev DCOP za KDE je bila ustvarjena v %{dest} +Comment[sr]=KDE DCOP сервис направљен је у %{dest} +Comment[sr@Latn]=KDE DCOP servis napravljen je u %{dest} +Comment[sv]=En KDE DCOP-tjänst skapades i %{dest} +Comment[tr]=Bir KDE DCOP Hizmeti %{dest} içinde yaratılmıştır. +Comment[zh_CN]=在 %{dest} 中创建了一个 KDE DCOP 服务 +Comment[zh_TW]=KDE DCOP 服務已建立於 %{dest} diff --git a/languages/ruby/app_templates/dcopservice/dcopserviceruby.tdevtemplate b/languages/ruby/app_templates/dcopservice/dcopserviceruby.tdevtemplate deleted file mode 100644 index 0bcb93cb..00000000 --- a/languages/ruby/app_templates/dcopservice/dcopserviceruby.tdevtemplate +++ /dev/null @@ -1,199 +0,0 @@ -# KDE Config File -[General] -Name=DCOP Service -Name[br]=Servij DCOP -Name[ca]=Servei DCOP -Name[de]=DCOP-Dienst -Name[el]=Υπηρεσία DCOP -Name[es]=Servicio DCOP -Name[et]=DCOP-teenus -Name[eu]=DCOP zerbitzua -Name[fa]=خدمت DCOP -Name[fr]=Service DCOP -Name[ga]=Seirbhís DCOP -Name[gl]=Servizo DCOP -Name[hu]=DCOP-szolgáltatás -Name[it]=Servizio DCOP -Name[ja]=DCOP サービス -Name[nds]=DCOP-Deenst -Name[ne]=DCOP सेवा -Name[nl]=DCOP-service -Name[pl]=Usługa DCOP -Name[pt]=Serviço de DCOP -Name[pt_BR]=Serviço DCOP -Name[ru]=Сервис DCOP -Name[sk]=DCOP služba -Name[sr]=DCOP сервис -Name[sr@Latn]=DCOP servis -Name[sv]=DCOP-tjänst -Name[tr]=DCOP Hizmeti -Name[zh_CN]=DCOP 服务 -Name[zh_TW]=DCOP 服務 -Icon=kdcop.png -Category=Ruby/KDE -Comment=Generates a framework for a KDE DCOP service and client access library. -Comment[ca]=Genera una infraestructura per a un servei DCOP de KDE i la biblioteca d'accés del client. -Comment[da]=Genererer et skelet for en KDE dcop-tjeneste og klientadgangsbibliotek. -Comment[de]=Erstellt das Grundgerüst für einen KDE-DCOP-Dienst und eine Bibliothek für den Client-Zugriff. -Comment[el]=Δημιουργεί ένα πλαίσιο για μια υπηρεσία KDE DCOP και μια βιβλιοθήκη πρόσβασης πελάτη. -Comment[es]=Genera una infraestructura para un servicio DCOP de KDE y una biblioteca de acceso cliente. -Comment[et]=KDE DCOP-teenuse raamistiku ja kliendi ligipääsu teegi loomine. -Comment[eu]=KDE-ren DCOP zerbitzu baterako lan-marko bat eta bezero liburutegi bat sortzen ditu. -Comment[fa]=چارچوبی برای خدمت KDE DCOP و کتابخانۀ دستیابی کارخواه تولید می‌کند. -Comment[fr]=Génère une infrastructure pour un service DCOP KDE et une bibliothèque d'accès client. -Comment[ga]=Cruthaigh creatlach do sheirbhís DCOP KDE agus leabharlann rochtana cliaint. -Comment[gl]=Xera un contorno de traballo para un servizo DCOP de KDE e unha biblioteca de acceso para clientes. -Comment[hu]=Létrehoz egy alap KDE DCOP-szolgáltatást és klienselérési programkönyvtárat. -Comment[it]=Genera l'infrastruttura per un servizio DCOP di KDE e una libreria per l'accesso da client. -Comment[ja]=KDE DCOP サービスとクライアントアクセスライブラリのためのフレームワークを作成します -Comment[nds]=Stellt en Rahmenwark för en KDE-DCOP-Deenst un en Clienttogriep-Bibliotheek op. -Comment[ne]=KDE DCOP सेवा र ग्राहक पहुँच लाइब्रेरीका लागि फ्रेमवर्क उत्पन्न गर्दछ । -Comment[nl]=Genereert een framework voor een KDE DCOP-service- en client-bibliotheek. -Comment[pl]=Generuje schemat dla usługi KDE DCOP i biblioteki dostępu użytkownika. -Comment[pt]=Gera a plataforma para um serviço de DCOP do KDE e a biblioteca de acesso dos clientes. -Comment[pt_BR]=Gera a plataforma para um serviço de DCOP do KDE e a biblioteca de acesso dos clientes. -Comment[ru]=Создание сервиса DCOP и библиотеки клиента. -Comment[sk]=Vygeneruje framework pre KDE DCOP službu a klientskú prístupovú knižnicu. -Comment[sr]=Прави једноставан радни оквир за KDE DCOP сервис и приступну библиотеку клијента. -Comment[sr@Latn]=Pravi jednostavan radni okvir za KDE DCOP servis i pristupnu biblioteku klijenta. -Comment[sv]=Skapar ett ramverk för en KDE DCOP-tjänst och klientåtkomstbibliotek. -Comment[tr]=Bir KDE DCOP hizmeti ve istemci erişim kütüphanesi için bir çatı yaratır. -Comment[zh_CN]=生成一个 KDE DCOP 服务和客户访问库的框架。 -Comment[zh_TW]=產生一個 KDE DCOP 服務的架構,以及客戶端存取的函式庫。 -FileTemplates=rb,ShellStyle -ShowFilesAfterGeneration=%{dest}/src/main.rb -Archive=dcopserviceruby.tar.gz - -[ADMIN] -Type=include -File=%{tdevelop}/template-common/admin.tdevtemplate - -[GNU] -Type=include -File=%{tdevelop}/template-common/gnu.tdevtemplate - -[MKDIR_DOCBOOK1] -Type=mkdir -Dir=%{dest}/doc - -[MKDIR_DOCBOOK2] -Type=mkdir -Dir=%{dest}/doc/en - -[FILE1] -Type=install -Source=%{tdevelop}/template-common/kde-doc-Makefile.am -Dest=%{dest}/doc/Makefile.am - -[FILE2] -Type=install -Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am -Dest=%{dest}/doc/en/Makefile.am - -[FILE3] -Type=install -EscapeXML=true -Source=%{tdevelop}/template-common/tde-index.docbook -Dest=%{dest}/doc/en/index.docbook - -[FILE4] -Type=install -EscapeXML=true -Source=%{src}/dcopservice.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[MkDir3] -Type=mkdir -Dir=%{dest}/src - -[FILE5] -Type=install -Source=%{tdevelop}/template-common/kde-app.lsm -Dest=%{dest}/src/%{APPNAMELC}.lsm - -[MkDir4] -Type=mkdir -Dir=%{dest}/po - -[FILE6] -Type=install -Source=%{tdevelop}/template-common/kde-po-Makefile.am -Dest=%{dest}/po/Makefile.am - -[FILE7] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.am -Dest=%{dest}/Makefile.am - -[FILE8] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.cvs -Dest=%{dest}/Makefile.cvs - -[FILE9] -Type=install -Source=%{src}/app-configure.in.in -Dest=%{dest}/configure.in.in - -[FILE10] -Type=install -Source=%{src}/subdirs -Dest=%{dest}/subdirs - -[FILE11] -Type=install -Source=%{src}/src-Makefile.am -Dest=%{dest}/src/Makefile.am - -[FILE12] -Type=install -Source=%{src}/dcopservice.rb -Dest=%{dest}/src/%{APPNAMELC}.rb - -[FILE13] -Type=install -Source=%{src}/dcopservice.desktop -Dest=%{dest}/src/%{APPNAMELC}.desktop - -[FILE14] -Type=install -Source=%{src}/main.rb -Dest=%{dest}/src/main.rb - -[FILE15] -Type=install -Source=%{src}/app.cpp -Dest=%{dest}/src/%{APPNAMELC}.cpp - -[MSG] -Type=message -Comment=A KDE DCOP Service was created in %{dest} -Comment[ca]=Un servei DCOP de KDE ha estat creada en %{dest} -Comment[da]=En KDE DCOP tjeneste blev oprettet i %{dest} -Comment[de]=Ein KDE-DCOP-Dienst wurde in %{dest} erstellt. -Comment[el]=Μια υπηρεσία KDE DCOP δημιουργήθηκε στο %{dest} -Comment[es]=Un servicio DCOP de KDE ha sido creado en %{dest} -Comment[et]=KDE DCOP-teenus loodi asukohta %{dest} -Comment[eu]=KDE-ren DCOP zerbitzu bat sortu da hemen: %{dest} -Comment[fa]=یک خدمت KDE DCOP در %{dest} ایجاد شد -Comment[fr]=Un service DCOP KDE a été créé dans %{dest} -Comment[ga]=Cruthaíodh Seirbhís DCOP KDE i %{dest} -Comment[gl]=Creouse un servizo DCOP de KDE en %{dest} -Comment[hu]=Létrejött egy KDE DCOP-szolgáltatás itt: %{dest} -Comment[it]=È stato creato un servizio DCOP di KDE in %{dest} -Comment[ja]=KDE DCOP サービスを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en KDE-DCOP-Deenst opstellt -Comment[ne]=KDE DCOP सेवा %{dest} मा सिर्जना गरियो -Comment[nl]=Een DCOP-service is aangemaakt in %{dest} -Comment[pl]=Usługa KDE DCOP została utworzona w %{dest} -Comment[pt]=Foi criado um serviço de DCOP do KDE em %{dest} -Comment[pt_BR]=Foi criado um serviço de DCOP do KDE em %{dest} -Comment[ru]=Сервис DCOP создан в %{dest} -Comment[sk]=KDE DCOP služba bola vytvorená v %{dest} -Comment[sl]=Storitev DCOP za KDE je bila ustvarjena v %{dest} -Comment[sr]=KDE DCOP сервис направљен је у %{dest} -Comment[sr@Latn]=KDE DCOP servis napravljen je u %{dest} -Comment[sv]=En KDE DCOP-tjänst skapades i %{dest} -Comment[tr]=Bir KDE DCOP Hizmeti %{dest} içinde yaratılmıştır. -Comment[zh_CN]=在 %{dest} 中创建了一个 KDE DCOP 服务 -Comment[zh_TW]=KDE DCOP 服務已建立於 %{dest} diff --git a/languages/ruby/app_templates/kapp/CMakeLists.txt b/languages/ruby/app_templates/kapp/CMakeLists.txt new file mode 100644 index 00000000..6817278b --- /dev/null +++ b/languages/ruby/app_templates/kapp/CMakeLists.txt @@ -0,0 +1,27 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_custom_target( kappruby.tar.gz ALL + COMMAND tar zcf kappruby.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app_client.rb appiface.rb app.rb appview.rb main.rb pref.rb + app.cpp appui.rc app.desktop app.tdevelop app-Makefile.am + app-configure.in.in src-Makefile.am subdirs README +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kappruby.tar.gz kappruby.png + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + + +install( FILES + kappruby.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/kapp/Makefile.am b/languages/ruby/app_templates/kapp/Makefile.am new file mode 100644 index 00000000..9dbc37b5 --- /dev/null +++ b/languages/ruby/app_templates/kapp/Makefile.am @@ -0,0 +1,19 @@ +dataFiles = app_client.rb appiface.rb app.rb appview.rb main.rb pref.rb app.cpp \ + appui.rc app.desktop app.tdevelop app-Makefile.am app-configure.in.in \ + src-Makefile.am subdirs README + +templateName = kappruby + +### no need to change below: +template_DATA = $(templateName).kdevtemplate +templatedir = ${appwizarddatadir}/templates + +appwizarddatadir = ${kde_datadir}/kdevappwizard +$(templateName).tar.gz: ${dataFiles} + $(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles} + $(GZIP_COMMAND) -f9 $(templateName).tar + +archivedir = ${appwizarddatadir} +archive_DATA = $(templateName).tar.gz ${templateName}.png + +CLEANFILES = *.tar.gz diff --git a/languages/ruby/app_templates/kapp/README b/languages/ruby/app_templates/kapp/README new file mode 100644 index 00000000..39de8b2f --- /dev/null +++ b/languages/ruby/app_templates/kapp/README @@ -0,0 +1,81 @@ +----------------------------------------------- +Kde application framework template quickstart +Author: Thomas Nagy +Date: 2004-03-22 +----------------------------------------------- + +This README file explains you basic things for starting with +this application template. + + +** Building and installing ** + +* Build the configure script by "make -f Makefile.cvs" + +* To clean, use "make clean", and to clean everything +(remove the makefiles, etc), use "make distclean" + +* To distribute your program, try "make dist". +This will make a compact tarball archive of your release with the +necessary scripts inside. + +* Modifying the auto-tools scripts +for automake scripts there is an excellent tutorial there : +http://developer.kde.org/documentation/other/makefile_am_howto.html + +* Simplify your life : install the project in your home directory for +testing purposes. +./configure --prefix=/home/user/dummyfolder/ +In the end when you finished the development you can +rm -rf /home/user/dummyfolder/ +without fear. + + +** Technologies ** + +* Build the menus of your application easily +kde applications now use an xml file (*ui.rc file) to build the menus. +This allow a great customization of the application. However, when +programming the menu is shown only after a "make install" + +For more details, consult : +http://devel-home.kde.org/~larrosa/tutorial/p9.html +http://developer.kde.org/documentation/tutorials/xmlui/preface.html + +* Use TDEConfig XT to create your configuration dialogs and make +them more maintainable. + +For more details, consult : +http://developer.kde.org/documentation/tutorials/tdeconfigxt/tdeconfigxt.html + +* With KParts, you can embed other kde components in your program, or make your program +embeddable in other apps. For example, the kmplayer kpart can be called to play videos +in your app. + +For more details, consult : +http://www-106.ibm.com/developerworks/library/l-tdeparts/ +http://developer.kde.org/documentation/tutorials/dot/writing-plugins.html +http://developer.kde.org/documentation/tutorials/developing-a-plugin-structure/index.html + +* With dcop, you can control your app from other applications +Make sure to include K_DCOP and a kdcop: section in your .h file +http://developer.kde.org/documentation/tutorials/dot/dcopiface/dcop-interface.html + + +** Documentation ** + +* For the translations : +1. Download a patched gettext which can be found at: + http://public.kde.planetmirror.com/pub/kde/devel/gettext-kde/ +2. Install that gettext in ~/bin/ +3. cd ~/yourproject, export PATH=~/bin:$PATH, export +TDEDIR=/where_your_KDE3_is +4. make -f admin/Makefile.common package-messages +5. make package-messages +6. Translate the po files (not the pot!!) with kbabel or xemacs + +* Do not forget to write the documentation for your kde app +edit the documentation template index.docbook in doc/ + + + diff --git a/languages/ruby/app_templates/kapp/app-Makefile.am b/languages/ruby/app_templates/kapp/app-Makefile.am new file mode 100644 index 00000000..bfe1c599 --- /dev/null +++ b/languages/ruby/app_templates/kapp/app-Makefile.am @@ -0,0 +1 @@ +SUBDIRS = $(TOPSUBDIRS) diff --git a/languages/ruby/app_templates/kapp/app-configure.in.in b/languages/ruby/app_templates/kapp/app-configure.in.in new file mode 100644 index 00000000..7d849466 --- /dev/null +++ b/languages/ruby/app_templates/kapp/app-configure.in.in @@ -0,0 +1,45 @@ +#MIN_CONFIG(3.0.0) + +AM_INIT_AUTOMAKE(%{APPNAMELC}, 0.1) +AC_C_BIGENDIAN +AC_CHECK_KDEMAXPATHLEN + +AC_PROG_MAKE_SET + +AC_CHECK_PROG(RUBY, ruby, ruby) + +if test -z "$RUBY"; then + DO_NOT_COMPILE="$DO_NOT_COMPILE qtruby" +else + AC_MSG_CHECKING(for ruby dirs) + RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'` + RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'` + RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'` + RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'` + RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'` + AC_MSG_RESULT([archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR, libdir $RUBY_LIBDIR, librubyarg $RUBY_LIBRUBYARG]) + AC_SUBST(RUBY_ARCHDIR) + AC_SUBST(RUBY_SITEARCHDIR) + AC_SUBST(RUBY_SITEDIR) + AC_SUBST(RUBY_LIBDIR) + AC_SUBST(RUBY_LIBRUBYARG) +fi + +# Korundum check +AC_MSG_CHECKING([whether Korundum is installed]) +korundum_present=no +cat >korundumtest.rb </dev/null 2>&1 && korundum_present=yes +AC_MSG_RESULT([$korundum_present]) + +# rbuic check +AC_PATH_PROG([RBUIC],[rbuic]) +if test -z "${RBUIC}" ; then + AC_MSG_ERROR([cannot find rbuic (part of the QtRuby package)]) +fi +AC_SUBST([RBUIC]) +AC_SUBST([RUBY]) + + diff --git a/languages/ruby/app_templates/kapp/app.cpp b/languages/ruby/app_templates/kapp/app.cpp new file mode 100644 index 00000000..04770335 --- /dev/null +++ b/languages/ruby/app_templates/kapp/app.cpp @@ -0,0 +1,30 @@ +#include + +#include +#include +#include +#include + +int main(int argc, char **argv) { + TDEInstance * instance = new TDEInstance("%{APPNAMELC}"); + TQString appdir = ::locate("data", "%{APPNAMELC}/main.rb", instance); + delete instance; + if (appdir.isNull()) { + tqFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); + } + TQFileInfo program(appdir); + + char ** rubyargs = (char **) calloc(argc+4, sizeof(char *)); + rubyargs[0] = strdup(argv[0]); + rubyargs[1] = strdup("-KU"); + rubyargs[2] = strdup(TQString("-C%1").arg(program.dirPath()).latin1()); + rubyargs[3] = strdup(TQString("-I%1").arg(program.dirPath()).latin1()); + rubyargs[4] = strdup(program.fileName().latin1()); + for (int i = 1; i < argc; i++) { + rubyargs[i+4] = argv[i]; + } + + ruby_init(); + ruby_options(argc+4, rubyargs); + ruby_run(); +} diff --git a/languages/ruby/app_templates/kapp/app.desktop b/languages/ruby/app_templates/kapp/app.desktop new file mode 100644 index 00000000..4587fd3c --- /dev/null +++ b/languages/ruby/app_templates/kapp/app.desktop @@ -0,0 +1,44 @@ +[Desktop Entry] +Name=%{APPNAME} +Exec=ruby %{APPNAMELC}/main.rb %i -caption "%c" +Icon=%{APPNAMELC} +Type=Application +DocPath=%{APPNAMELC}/%{APPNAMELC}.html +Comment=A TDE KPart Application +Comment[br]=Ur meziant Kpart evit TDE +Comment[ca]=Una aplicació KPart per al TDE +Comment[cy]=Cymhwysiad KPart TDE +Comment[da]=Et TDE KPart-program +Comment[de]=Eine auf der Komponententechnik KPart basierende TDE-Anwendung +Comment[el]=Μια εφαρμογή KPart του TDE +Comment[es]=Una aplicación KPart de TDE +Comment[et]=TDE KPart rakendus +Comment[eu]=TDE KPart aplikazio bat +Comment[fa]=یک کاربرد TDE KPart +Comment[fr]=Une application KPart pour TDE +Comment[ga]=Feidhmchlár KPart TDE +Comment[gl]=Unha aplicación KPart de TDE +Comment[hi]=एक केडीई के-पार्ट अनुप्रयोग +Comment[hu]=KPart-alapú TDE-alkalmazás +Comment[is]=TDE KPart forrit +Comment[it]=Applicazione KPart di TDE +Comment[ja]=TDE KPart アプリケーション +Comment[lt]=TDE KPart programa +Comment[nds]=En KPart-Deelprogramm för TDE +Comment[ne]=एउटा केडीई KPart अनुप्रयोग +Comment[nl]=Een TDE KPart-toepassing +Comment[pl]=Osadzalny element KPart TDE +Comment[pt]=Uma Aplicação KPart do TDE +Comment[pt_BR]=Um Aplicativo KPart do TDE +Comment[ru]=Приложение KPart для TDE +Comment[sk]=TDE KPart aplikácia +Comment[sl]=Program KPart za TDE +Comment[sr]=TDE KPart програм +Comment[sr@Latn]=TDE KPart program +Comment[sv]=Ett TDE Kpart-program +Comment[ta]=கெடி கெபார்ட் பயன்பாடு +Comment[tg]=Ба кор андохтани KPart барои TDE +Comment[tr]=Bir TDE KPart Uygulaması +Comment[zh_CN]=一个 TDE KPart 应用程序 +Comment[zh_TW]=TDE KPart 應用程式 +Terminal=false diff --git a/languages/ruby/app_templates/kapp/app.rb b/languages/ruby/app_templates/kapp/app.rb new file mode 100644 index 00000000..61531be2 --- /dev/null +++ b/languages/ruby/app_templates/kapp/app.rb @@ -0,0 +1,216 @@ +=begin + This class serves as the main window for %{APPNAME}. It handles the + menus, toolbars, and status bars. + + @short Main window class + @author %{AUTHOR} <%{EMAIL}> + @version %{VERSION} +=end + +class %{APPNAMESC} < KDE::MainWindow + + Q_SLOTS 'fileNew()', + 'fileOpen()', + 'fileSave()', + 'fileSaveAs()', + 'filePrint()', + 'optionsPreferences()', + 'changeStatusbar(const QString&)', + 'changeCaption(const QString&)' + + def initialize() + super( nil, "%{APPNAMESC}" ) + @view = %{APPNAMESC}View.new(self) + @printer = nil + # accept dnd + setAcceptDrops(true) + + # tell the KDE::MainWindow that this is indeed the main widget + setCentralWidget(@view) + + # then, setup our actions + setupActions() + + # and a status bar + statusBar().show() + + # Apply the create the main window and ask the mainwindow to + # automatically save settings if changed: window size, toolbar + # position, icon size, etc. Also to add actions for the statusbar + # toolbar, and keybindings if necessary. + setupGUI(); + + # allow the view to change the statusbar and caption + connect(@view, SIGNAL('signalChangeStatusbar(const QString&)'), + self, SLOT('changeStatusbar(const QString&)')) + connect(@view, SIGNAL('signalChangeCaption(const QString&)'), + self, SLOT('changeCaption(const QString&)')) + + end + + + def load(url) + target = "" + # the below code is what you should normally do. in this + # example when, we want the url to our own. you probably + # want to use this code instead for your app + + if false + # download the contents + if TDEIO::NetAccess.download(url, target, self) + # set our caption + setCaption(url.url) + + # load in the file (target is always local) + @view.openURL(KDE::URL.new(target)) + + # and remove the temp file + TDEIO::NetAccess.removeTempFile(target) + end + end + + setCaption(url.prettyURL()) + @view.openURL(url) + end + + def setupActions() + KDE::StdAction.openNew(self, SLOT('fileNew()'), actionCollection()) + KDE::StdAction.open(self, SLOT('fileOpen()'), actionCollection()) + KDE::StdAction.save(self, SLOT('fileSave()'), actionCollection()) + KDE::StdAction.saveAs(self, SLOT('fileSaveAs()'), actionCollection()) + KDE::StdAction.print(self, SLOT('filePrint()'), actionCollection()) + KDE::StdAction.quit($kapp, SLOT('quit()'), actionCollection()) + + KDE::StdAction.preferences(self, SLOT('optionsPreferences()'), actionCollection()) + + # this doesn't do anything useful. it's just here to illustrate + # how to insert a custom menu and menu item + custom = KDE::Action.new(i18n("Cus&tom Menuitem"), KDE::Shortcut.new(), + self, SLOT('optionsPreferences()'), + actionCollection(), "custom_action") + end + + def saveProperties(config) + # the 'config' object points to the session managed + # config file. anything you write here will be available + # later when this app is restored + + if !@view.currentURL().empty? + config.writeEntry("lastURL", @view.currentURL()) + end + end + + def readProperties(config) + # the 'config' object points to the session managed + # config file. This function is automatically called whenever + # the app is being restored. read in here whatever you wrote + # in 'saveProperties' + + url = config.readPathEntry("lastURL") + + if !url.empty? + @view.openURL(KDE::URL.new(url)) + end + end + + def dragEnterEvent(event) + # accept uri drops only + event.accept(KDE::URLDrag.canDecode(event)) + end + + def dropEvent(event) + # This is a very simplistic implementation of a drop event. we + # will only accept a dropped URL. the Qt dnd code can do *much* + # much more, so please read the docs there + urls = [] + + # see if we can decode a URI.. if not, just ignore it + if KDE::URLDrag.decode(event, urls) && !urls.empty? + # okay, we have a URI.. process it + url = urls.shift + + # load in the file + load(url) + end + end + + def fileNew() + # This slot is called whenever the File.New menu is selected, + # the New shortcut is pressed (usually CTRL+N) or the New toolbar + # button is clicked + + # create a new window + %{APPNAMESC}.new.show() + end + + def fileOpen() + # This slot is called whenever the File.Open menu is selected, + # the Open shortcut is pressed (usually CTRL+O) or the Open toolbar + # button is clicked + + # This brings up the generic open dialog + url = KDE::URLRequesterDlg.getURL(nil, self, i18n("Open Location") ) + + # standard filedialog + url = KDE::FileDialog.getOpenURL(nil, nil, self, i18n("Open Location")) + if !url.empty? + @view.openURL(url) + end + end + + def fileSave() + # This slot is called whenever the File.Save menu is selected, + # the Save shortcut is pressed (usually CTRL+S) or the Save toolbar + # button is clicked + + # save the current file + end + + def fileSaveAs() + # This slot is called whenever the File.Save As menu is selected, + file_url = KDE::FileDialog.getSaveURL() + if !file_url.empty? && file_url.valid? + # save your info, here + end + end + + def filePrint() + # This slot is called whenever the File.Print menu is selected, + # the Print shortcut is pressed (usually CTRL+P) or the Print toolbar + # button is clicked + if @printer.nil? then @printer = KDE::Printer.new end + if @printer.setup(self) + # setup the printer. with Qt, you always "print" to a + # Qt::Painter.. whether the output medium is a pixmap, a screen, + # or paper + p = Qt::Painter.new + p.begin(@printer) + + # we let our view do the actual printing + metrics = Qt::PaintDeviceMetrics.new(@printer) + @view.print(p, metrics.height(), metrics.width()) + + # and send the result to the printer + p.end() + end + end + + def optionsPreferences() + # popup some sort of preference dialog, here + dlg = %{APPNAMESC}Preferences.new + if dlg.exec() + # redo your settings + end + end + + def changeStatusbar(text) + # display the text on the statusbar + statusBar().message(text) + end + + def changeCaption(text) + # display the text on the caption + setCaption(text) + end + +end diff --git a/languages/ruby/app_templates/kapp/app.tdevelop b/languages/ruby/app_templates/kapp/app.tdevelop new file mode 100644 index 00000000..5c57b8fb --- /dev/null +++ b/languages/ruby/app_templates/kapp/app.tdevelop @@ -0,0 +1,90 @@ + + + + %{AUTHOR} + %{EMAIL} + %{VERSION} + KDevAutoProject + Ruby + + Ruby + Qt + KDE + + + KDevDoxygen + KDevdistpart + KDevVisualBoyAdvance + KDevDebugger + + + + + + + + src/%{APPNAMELC} + + + + + false + CVS,.svn + + + + + + + + + ada + ada_bugs_gcc + bash + bash_bugs + c++_bugs_gcc + clanlib + w3c-dom-level2-html + fortran_bugs_gcc + gnome1 + gnustep + gtk + gtk_bugs + haskell + haskell_bugs_ghc + java_bugs_gcc + java_bugs_sun + kde2book + libc + libstdc++ + opengl + pascal_bugs_fp + php + php_bugs + perl + perl_bugs + python + python_bugs + sdl + stl + w3c-svg + sw + w3c-uaag10 + wxwindows_bugs + + + + + + + + + + + ruby + false + 3 + src/main.rb + + + diff --git a/languages/ruby/app_templates/kapp/app_client.rb b/languages/ruby/app_templates/kapp/app_client.rb new file mode 100644 index 00000000..b08e9b21 --- /dev/null +++ b/languages/ruby/app_templates/kapp/app_client.rb @@ -0,0 +1,18 @@ +require 'Korundum' +include KDE + +about = AboutData.new("%{APPNAMELC}_client", "%{APPNAME} client", "0.1") +CmdLineArgs.init(ARGV, about) + +app = Application.new + +# get our DCOP client and attach so that we may use it +client = app.dcopClient +client.attach + +# do a 'send' for now +dcopRef = DCOPRef.new("%{APPNAMELC}", "%{APPNAMESC}Iface") +dcopRef.openURL("http://www.kde.org") + +app.exec + diff --git a/languages/ruby/app_templates/kapp/appiface.rb b/languages/ruby/app_templates/kapp/appiface.rb new file mode 100644 index 00000000..a8be16b5 --- /dev/null +++ b/languages/ruby/app_templates/kapp/appiface.rb @@ -0,0 +1,14 @@ +class %{APPNAMESC}Iface < KDE::DCOPObject + + k_dcop 'void openURL(QString)' + + def initialize(app) + super("%{APPNAMESC}Iface") + @app = app + end + + def openURL(url) + @app.openURL(url) + end +end + diff --git a/languages/ruby/app_templates/kapp/appui.rc b/languages/ruby/app_templates/kapp/appui.rc new file mode 100644 index 00000000..ceb4f14e --- /dev/null +++ b/languages/ruby/app_templates/kapp/appui.rc @@ -0,0 +1,8 @@ + + + + C&ustom + + + + diff --git a/languages/ruby/app_templates/kapp/appview.rb b/languages/ruby/app_templates/kapp/appview.rb new file mode 100644 index 00000000..e7aabe3c --- /dev/null +++ b/languages/ruby/app_templates/kapp/appview.rb @@ -0,0 +1,103 @@ + +=begin + This is the main view class for %{APPNAME}. Most of the non-menu, + non-toolbar, and non-statusbar (e.g., non frame) GUI code should go + here. + + This %{APPNAMELC} uses an HTML component as an example. + + @short Main view + @author %{AUTHOR} <%{EMAIL}> + @version %{VERSION} +=end +class %{APPNAMESC}View < Qt::Widget + + # + # Use this signal to change the content of the statusbar + # + Q_SIGNALS 'signalChangeStatusbar(const QString&)' + + # + # Use this signal to change the content of the caption + # + Q_SIGNALS 'signalChangeCaption(const QString&)' + + Q_SLOTS 'slotOnURL(const QString&)', + 'slotSetTitle(const QString&)' + + def initialize(parent) + super(parent) + + # keep a reference to the DCOP Interface so it doesn't get gc'd + @dcop = %{APPNAMESC}Iface.new(self) + + # setup our layout manager to automatically add our widgets + top_layout = Qt::HBoxLayout.new(self) + top_layout.setAutoAdd(true) + + # we want to look for all components that satisfy our needs. the + # trader will actually search through *all* registered KDE + # applications and components -- not just KParts. So we have to + # specify two things: a service type and a constraint + # + # the service type is like a mime type. we say that we want all + # applications and components that can handle HTML -- 'text/html' + # + # however, by itself, this will return such things as Netscape.. + # not what we wanted. so we constrain it by saying that the + # string 'KParts/ReadOnlyPart' must be found in the ServiceTypes + # field. with this, only components of the type we want will be + # returned. + offers = KDE::Trader.self().query("text/html", "'KParts/ReadOnlyPart' in ServiceTypes") + + factory = nil + # in theory, we only care about the first one.. but let's try all + # offers just in when the first can't be loaded for some reason + offers.each do |ptr| + # we now know that our offer can handle HTML and is a part. + # since it is a part, it must also have a library... let's try to + # load that now + factory = KDE::LibLoader.self().factory( ptr.library() ) + if ! factory.nil? + @html = factory.create(self, ptr.name(), "KParts::ReadOnlyPart") + break + end + end + + # if our factory is invalid, then we never found our component + # and we might as well just exit now + if factory.nil? + KDE::MessageBox.error(self, i18n("Could not find a suitable HTML component")) + return + end + + connect(@html, SIGNAL('setWindowCaption(const QString&)'), + self, SLOT('slotSetTitle(const QString&)')) + connect(@html, SIGNAL('setStatusBarText(const QString&)'), + self, SLOT('slotOnURL(const QString&)')) + + end + + + def print(p, height, width) + # do the actual printing, here + # p.drawText(etc..) + end + + def currentURL() + return @html.url().url() + end + + def openURL(url) + @html.openURL(KDE::URL.new(url)) + end + + def slotOnURL(url) + emit signalChangeStatusbar(url) + end + + def slotSetTitle(title) + emit signalChangeCaption(title) + end + +end diff --git a/languages/ruby/app_templates/kapp/kappruby.kdevtemplate b/languages/ruby/app_templates/kapp/kappruby.kdevtemplate new file mode 100644 index 00000000..368e0705 --- /dev/null +++ b/languages/ruby/app_templates/kapp/kappruby.kdevtemplate @@ -0,0 +1,238 @@ +# KDE Config File +[General] +Name=Application framework +Name[ca]=Infraestructura d'aplicacions +Name[da]=Programskelet +Name[de]=Anwendungsgrundgerüst +Name[el]=Πλαίσιο εφαρμογής +Name[es]=Infraestructura de aplicación +Name[et]=Rakenduse raamistik +Name[eu]=Aplikazioen lan-markoa +Name[fa]=چارچوب کاربرد +Name[fr]=Infrastructure d'application +Name[ga]=Creatlach feidhmchláir +Name[gl]=Entorno de traballo para aplicación +Name[hu]=Alkalmazás-keretrendszer +Name[it]=Infrastruttura applicativa +Name[ja]=アプリケーションフレームワーク +Name[nds]=Programmrahmenwark +Name[ne]=अनुप्रयोग फ्रेमवर्क +Name[nl]=Applicationframework +Name[pl]=Szablon programu +Name[pt]=Plataforma de aplicações +Name[pt_BR]=Plataforma de aplicações +Name[ru]=Приложение KDE +Name[sk]=Aplikačný framework +Name[sl]=Ogrodje programa +Name[sr]=Радни оквир програма +Name[sr@Latn]=Radni okvir programa +Name[sv]=Programramverk +Name[tr]=Uygulama Çatısı +Name[zh_CN]=应用程序框架 +Name[zh_TW]=應用程式框架 +Icon=kapp.png +Category=Ruby/KDE +Comment=Generates a simple Korundum application with one toplevel window, menus and toolbars. A DCOP interface is also provided, so that your application can provide a scripting interface +Comment[ca]=Genera una simple aplicació Korundum amb una finestra principal, menús i barres d'eines. També es proveeix la interfície DCOP, de manera que la vostra aplicació podrà proveir d'una interfície per a scripts +Comment[da]=Generere et simpelt Korundum program med et vindue på topniveau, menuer og værktøjslinjer. Der sørges også for en DCOP-grænseflade, så dit program kan give en script-grænseflade +Comment[de]=Erstellt eine einfache Korundum-Anwendung mit einem Toplevel-Fenster, Menüs und Werkzeugleisten. Dazu kommt eine DCOP-Schnittstelle, so dass Ihre Anwendung eine Schnittstelle für Skripte anbieten kann. +Comment[el]=Δημιουργεί μια απλή εφαρμογή Korundum με ένα ανώτερο παράθυρο, μενού και γραμμές εργαλείων. Προσφέρεται επίσης μια διασύνδεση DCOP, έτσι ώστε η εφαρμογή σας να προσφέρει ένα περιβάλλον γραφής σεναρίων +Comment[es]=Genera una sencilla aplicación Korundum con una ventana principal, menús y barras de herramientas. También se proporciona una interfaz DCOP para que su aplicación pueda proporcionar una interfaz para guiones de órdenes. +Comment[et]=Lihtsa Korundumi rakenduse loomine ühe tipptaseme akna, menüüde ja tööriistaribadega. Lisatakse ka DCOP-liides, mis võimaldab rakendusel pakkuda skriptikeelte toetust +Comment[eu]=Goi-mailako lehio bat, menuak eta tresna-barrak dituen Korundum aplikazio sinple bat sortzen du . DCOP interfazea ere sortzen du, eta beraz, zure aplikazioak script-interfaze bat eskainiko du +Comment[fa]=یک کاربرد سادۀ Korundum با یک پنجرۀ سطح بالا، گزینگان و میله ابزارها تولید می‌کند. همچنین یک واسط DCOP فراهم است. بنابراین، کاربرد شما یک واسط دست‌نوشته‌ای را می‌تواند فراهم کند +Comment[fr]=Génère une application Korundum simple comprenant une fenêtre de premier niveau, des menus et des barres d'outils. Une interface DCOP est également fournie, afin que votre application puisse offrir une interface de scriptage +Comment[gl]=Xera unha aplicación sinxela Korundum cunha fiestra, menús e barras de ferramentas. Proporciónase tamén unha interface DCOP de modo que a súa aplicación poida ofrecer unha interface de scripting. +Comment[hu]=Létrehoz egy egyszerű Korundum-alkalmazást egy főablakkal, menükkel és eszköztárakkal. DCOP-felület is tartozik az alkalmazáshoz, így könnyen kialakítható hozzá szkriptelési felület. +Comment[it]=Genera una semplice applicazione Korundum con una finestra toplevel, menu e barre degli strumenti. È anche fornita un'interfaccia DCOP, così che l'applicazione può fornire una interfaccia di scripting +Comment[nds]=Stellt en eenfach Korundum-Programm mit een böverst Finster, Menüs un Warktüüchbalkens op. Ok warrt noch en DCOP-Koppelsteed praatstellt, so dat Dien Programm en Skriptkoppelsteed anbeden kann. +Comment[ne]=एउटा उच्च तह सञ्झ्याल, मेनु र उपकरणपट्टीसँग साधारण Korundum अनुप्रयोग उत्पन्न गर्दछ । DCOP इन्टरफेस पनि प्रदान गरिन्छ, जसले गर्दा तपाईँको अनुप्रयोगले स्क्रिप्टिङ इन्टरफेस प्रदान गर्न सक्छ । +Comment[nl]=Dit genereert een eenvoudige Korundum-toepassing met één toplevel window, menu's en toolbars. Een DCOP-interface wordt ook aangeleverd, zodat uw toepassing een scripting interface kan aanleveren. +Comment[pl]=Generuje prosty program Korundum z jednym oknem, menu i paskami narzędzi. Dostępny jest także interfejs DCOP, więc Twój program może umożliwiać korzystanie ze skryptów +Comment[pt]=Gera uma aplicação Korundum simples com uma janela de topo, menus e barras de ferramentas. Também é fornecida uma interface de DCOP, para que a sua aplicação possa oferecer uma interface de programação +Comment[pt_BR]=Gera uma aplicação Korundum simples com uma janela de topo, menus e barras de ferramentas. Também é fornecida uma interface de DCOP, para que a sua aplicação possa oferecer uma interface de programação +Comment[ru]=Создание простого приложения Korundum с окном, меню, панелями инструментов и сервисом DCOP +Comment[sk]=Vygeneruje jednoduchú Korundum aplikáciu s jedným oknom, menu a panelom nástrojov. Taktiež bude poskytnuté DCOP rozhranie, takže aj aplikáciamôže poskytnúť skriptovacie rozhranie +Comment[sr]=Прави једноставан Korundum програм са једним прозором највишег нивоа, менијима и тракама са алатом. Дат је и DCOP интерфејс, тако да ваш програм може да омогући скриптовање +Comment[sr@Latn]=Pravi jednostavan Korundum program sa jednim prozorom najvišeg nivoa, menijima i trakama sa alatom. Dat je i DCOP interfejs, tako da vaš program može da omogući skriptovanje +Comment[sv]=Skapar ett enkelt Korundum-program med ett toppnivåfönster, menyer och verktygsrader. Ett DCOP-gränssnitt tillhandahålls också, så att programmet kan tillhandahålla ett skriptgränssnitt. +Comment[tr]=Bir üst seviye penceresi, menüleri ve araç çubukları olan basit bir Korundum uygulaması yaratır. Uygulamanızın bir betik arayüzü sağlayabilmesi için bir DCOP arayüzü de sağlanmıştır. +Comment[zh_TW]=產生一個簡單的 Korundum 應用程式,內含頂層視窗、選單與工具列。另外提供一個 DCOP 介面,讓您的應用程式可以使用文稿介面。 +FileTemplates=rb,ShellStyle +ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.rb +Archive=kappruby.tar.gz + +[ADMIN] +Type=include +File=%{tdevelop}/template-common/admin.kdevtemplate + +[GNU] +Type=include +File=%{tdevelop}/template-common/gnu.kdevtemplate + +[MKDIR_DOCBOOK1] +Type=mkdir +Dir=%{dest}/doc + +[MKDIR_DOCBOOK2] +Type=mkdir +Dir=%{dest}/doc/en + +[FILE1] +Type=install +Source=%{tdevelop}/template-common/kde-doc-Makefile.am +Dest=%{dest}/doc/Makefile.am + +[FILE2] +Type=install +Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am +Dest=%{dest}/doc/en/Makefile.am + +[FILE3] +Type=install +EscapeXML=true +Source=%{tdevelop}/template-common/tde-index.docbook +Dest=%{dest}/doc/en/index.docbook + +[FILE4] +Type=install +EscapeXML=true +Source=%{src}/app.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[FILE5] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.am +Dest=%{dest}/Makefile.am + +[FILE6] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.cvs +Dest=%{dest}/Makefile.cvs + +[FILE7] +Type=install +Source=%{src}/app-configure.in.in +Dest=%{dest}/configure.in.in + +[MkDir3] +Type=mkdir +Dir=%{dest}/src + +[FILE8] +Type=install +Source=%{tdevelop}/template-common/tde-app.desktop +Dest=%{dest}/src/%{APPNAMELC}.desktop + +[FILE9] +Type=install +Source=%{tdevelop}/template-common/kde-app.lsm +Dest=%{dest}/src/%{APPNAMELC}.lsm + +[FILE10] +Type=install +Source=%{tdevelop}/template-common/hi16-app-app.png +Dest=%{dest}/src/hi16-app-%{APPNAMELC}.png +Process=false + +[FILE11] +Type=install +Source=%{tdevelop}/template-common/hi32-app-app.png +Dest=%{dest}/src/hi32-app-%{APPNAMELC}.png +Process=false + +[MkDir4] +Type=mkdir +Dir=%{dest}/po + +[FILE12] +Type=install +Source=%{tdevelop}/template-common/kde-po-Makefile.am +Dest=%{dest}/po/Makefile.am + +[FILE13] +Type=install +Source=%{src}/subdirs +Dest=%{dest}/subdirs + +[FILE14] +Type=install +Source=%{src}/src-Makefile.am +Dest=%{dest}/src/Makefile.am + +[FILE15] +Type=install +Source=%{src}/app.cpp +Dest=%{dest}/src/%{APPNAMELC}.cpp + +[FILE16] +Type=install +Source=%{src}/app.rb +Dest=%{dest}/src/%{APPNAMELC}.rb + +[FILE17] +Type=install +Source=%{src}/appview.rb +Dest=%{dest}/src/%{APPNAMELC}view.rb + +[FILE18] +Type=install +Source=%{src}/appiface.rb +Dest=%{dest}/src/%{APPNAMELC}iface.rb + +[FILE19] +Type=install +Source=%{src}/app_client.rb +Dest=%{dest}/src/%{APPNAMELC}_client.rb + +[FILE20] +Type=install +Source=%{src}/pref.rb +Dest=%{dest}/src/pref.rb + +[FILE21] +Type=install +Source=%{src}/main.rb +Dest=%{dest}/src/main.rb + +[FILE22] +Type=install +EscapeXML=true +Source=%{src}/appui.rc +Dest=%{dest}/src/%{APPNAMELC}ui.rc + +[FILE23] +Type=install +Source=%{src}/README +Dest=%{dest}/src/README + +[MSG] +Type=message +Comment=A Korundum Application was created at %{dest} +Comment[ca]=Una aplicació Korundum ha estat creada a %{dest} +Comment[da]=Et Korundum program blev oprettet i %{dest} +Comment[de]=Eine Korundum-Anwendung wurde in %{dest} erstellt. +Comment[el]=Μια εφαρμογή Korundum δημιουργήθηκε στο %{dest} +Comment[es]=Una aplicación Korundum ha sido creada en %{dest} +Comment[et]=Korundumi rakendus loodi asukohta %{dest} +Comment[eu]=Korundum aplikazio bat sortu da hemen: %{dest} +Comment[fa]=یک کاربرد Korundum در %{dest} ایجاد شد +Comment[fr]=Une application Korundum a été créée dans %{dest} +Comment[ga]=Cruthaíodh Feidhmchlár Korundum ag %{dest} +Comment[gl]=Creouse unha aplicación Korundum en %{dest} +Comment[hu]=Létrejött egy Korundum-alapú alkalmazás itt: %{dest} +Comment[it]=È stata creata un'applicazione Korundum in %{dest} +Comment[ja]=Korundum アプリケーションを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en Korundum-Programm opstellt. +Comment[ne]=Korundum अनुप्रयोग %{dest} मा सिर्जना गरियो +Comment[nl]=Een Korundum-toepassing is aangemaakt in %{dest} +Comment[pl]=Program Korundum został utworzony w %{dest} +Comment[pt]=Foi criada uma aplicação Korundum em %{dest} +Comment[pt_BR]=Foi criada uma aplicação Korundum em %{dest} +Comment[ru]=Приложение Korundum создано в %{dest} +Comment[sk]=Korundum aplikácia bola vytvorená v %{dest} +Comment[sr]=Korundum програм је направљен у %{dest} +Comment[sr@Latn]=Korundum program je napravljen u %{dest} +Comment[sv]=Ett Korundum-program skapades i %{dest} +Comment[tr]=Bir Korundum Uygulaması %{dest} içinde yaratıldı. +Comment[zh_TW]=一個 Korundum 應用程式已建立於 %{dest} diff --git a/languages/ruby/app_templates/kapp/kappruby.png b/languages/ruby/app_templates/kapp/kappruby.png new file mode 100644 index 00000000..913ebb87 Binary files /dev/null and b/languages/ruby/app_templates/kapp/kappruby.png differ diff --git a/languages/ruby/app_templates/kapp/main.rb b/languages/ruby/app_templates/kapp/main.rb new file mode 100644 index 00000000..47235013 --- /dev/null +++ b/languages/ruby/app_templates/kapp/main.rb @@ -0,0 +1,40 @@ +#!/usr/bin/env ruby + +require 'Korundum' + +require '%{APPNAMELC}iface.rb' +require '%{APPNAMELC}.rb' +require '%{APPNAMELC}view.rb' +require 'pref.rb' + +description = I18N_NOOP("A TDE Application") +version = "%{VERSION}" +options = [ [ "+[URL]", I18N_NOOP( "Document to open" ), "" ] ] + +about = KDE::AboutData.new("%{APPNAMELC}", I18N_NOOP("%{APPNAME}"), version, description, + KDE::AboutData.License_%{LICENSE}, "(C) %{YEAR} %{AUTHOR}", nil, nil, "%{EMAIL}") +about.addAuthor( "%{AUTHOR}", nil, "%{EMAIL}" ) +KDE::CmdLineArgs.init(ARGV, about) +KDE::CmdLineArgs.addCmdLineOptions(options) +app = KDE::Application.new + +# see if we are starting with session management +if app.restored? + RESTORE(%{APPNAMESC}) +else + # no session.. just start up normally + args = KDE::CmdLineArgs.parsedArgs + if args.count == 0 + widget = %{APPNAMESC}.new + widget.show + else + for i in 0...args.count do + widget = %{APPNAMESC}.new + widget.show + widget.load(args.url(i)) + end + end +end + +app.exec + diff --git a/languages/ruby/app_templates/kapp/pref.rb b/languages/ruby/app_templates/kapp/pref.rb new file mode 100644 index 00000000..98669ad2 --- /dev/null +++ b/languages/ruby/app_templates/kapp/pref.rb @@ -0,0 +1,38 @@ + +class %{APPNAMESC}Preferences < KDE::DialogBase + + def initialize() + super(TreeList, i18n("%{APPNAMESC} Preferences"), + Help|Default|Ok|Apply|Cancel, Ok) + # this is the base class for your preferences dialog. it is now + # a Treelist dialog.. but there are a number of other + # possibilities (including Tab, Swallow, and just Plain) + frame = addPage(i18n("First Page"), i18n("Page One Options")) + @pageOne = %{APPNAMESC}PrefPageOne.new(frame) + + frame = addPage(i18n("Second Page"), i18n("Page Two Options")) + @pageTwo = %{APPNAMESC}PrefPageTwo.new(frame) + end +end + +class %{APPNAMESC}PrefPageOne < Qt::Frame + + def initialize(parent) + super(parent) + layout = Qt::HBoxLayout.new(self) + layout.setAutoAdd(true) + + Qt::Label.new(i18n("Add something here"), self) + end +end + +class %{APPNAMESC}PrefPageTwo < Qt::Frame + + def initialize(parent) + super(parent) + layout = Qt::HBoxLayout.new(self) + layout.setAutoAdd(true) + + Qt::Label.new(i18n("Add something here"), self) + end +end diff --git a/languages/ruby/app_templates/kapp/src-Makefile.am b/languages/ruby/app_templates/kapp/src-Makefile.am new file mode 100644 index 00000000..acb41899 --- /dev/null +++ b/languages/ruby/app_templates/kapp/src-Makefile.am @@ -0,0 +1,43 @@ +## Makefile.am for %{APPNAMELC} + +# this is the program that gets installed. it's name is used for all +# of the other Makefile.am variables +bin_PROGRAMS = %{APPNAMELC} + +# set the include path for X, qt and KDE +INCLUDES = $(all_includes) -I$(RUBY_ARCHDIR) + +# the library search path. +%{APPNAMELC}_LDFLAGS = $(all_libraries) $(KDE_RPATH) -L$(RUBY_LIBDIR) + +# the libraries to link against. +%{APPNAMELC}_LDADD = $(LIB_TDEFILE) $(LIB_TDEPRINT) $(RUBY_LIBRUBYARG) + +# which sources should be compiled for %{APPNAMELC} +%{APPNAMELC}_SOURCES = %{APPNAMELC}.cpp + +# let automoc handle all of the meta source files ((moc)) +METASOURCES = AUTO + +KDE_ICON = AUTO + +# this is where the kdelnk file will go +kdelnkdir = $(kde_appsdir)/Utilities +kdelnk_DATA = %{APPNAMELC}.desktop + +# this is where the XML-GUI resource file goes +rcdir = $(kde_datadir)/%{APPNAMELC} +rc_DATA = %{APPNAMELC}ui.rc + +rubysrc_DATA = main.rb %{APPNAMELC}.rb %{APPNAMELC}_client.rb %{APPNAMELC}iface.rb \ + %{APPNAMELC}view.rb pref.rb + +rubysrcdir = $(kde_datadir)/%{APPNAMELC} + +rubyui_DATA = + +rubyuidir = $(kde_datadir)/%{APPNAMELC} + +%.rb: %.ui + $(RBUIC) -tr ${UIC_TR} -kde $< -o $@ + diff --git a/languages/ruby/app_templates/kapp/subdirs b/languages/ruby/app_templates/kapp/subdirs new file mode 100644 index 00000000..0e678106 --- /dev/null +++ b/languages/ruby/app_templates/kapp/subdirs @@ -0,0 +1,3 @@ +doc +po +src diff --git a/languages/ruby/app_templates/kxt/CMakeLists.txt b/languages/ruby/app_templates/kxt/CMakeLists.txt index 482d5e24..539cfdb6 100644 --- a/languages/ruby/app_templates/kxt/CMakeLists.txt +++ b/languages/ruby/app_templates/kxt/CMakeLists.txt @@ -20,9 +20,9 @@ add_custom_target( kxtruby.tar.gz ALL install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kxtruby.tar.gz kxtruby.png - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) install( FILES - kxtruby.tdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) + kxtruby.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/kxt/Makefile.am b/languages/ruby/app_templates/kxt/Makefile.am index 66b2b259..2ea8cf5b 100644 --- a/languages/ruby/app_templates/kxt/Makefile.am +++ b/languages/ruby/app_templates/kxt/Makefile.am @@ -6,10 +6,10 @@ dataFiles = app.rb main.rb prefs.rb app.cpp appview.rb appview_base.ui prefs-bas templateName = kxtruby ### 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/ruby/app_templates/kxt/app.tdevelop b/languages/ruby/app_templates/kxt/app.tdevelop index d416fcdb..5c57b8fb 100644 --- a/languages/ruby/app_templates/kxt/app.tdevelop +++ b/languages/ruby/app_templates/kxt/app.tdevelop @@ -15,18 +15,18 @@ KDevDoxygen KDevdistpart KDevVisualBoyAdvance - TDevDebugger + KDevDebugger - + src/%{APPNAMELC} - - + + false CVS,.svn @@ -35,8 +35,8 @@ - - + + ada ada_bugs_gcc @@ -72,19 +72,19 @@ w3c-uaag10 wxwindows_bugs - - + + - - + + ruby false 3 src/main.rb - + diff --git a/languages/ruby/app_templates/kxt/kxtruby.kdevtemplate b/languages/ruby/app_templates/kxt/kxtruby.kdevtemplate new file mode 100644 index 00000000..e4756e1d --- /dev/null +++ b/languages/ruby/app_templates/kxt/kxtruby.kdevtemplate @@ -0,0 +1,251 @@ +# KDE Config File +[General] + +Name=TDEConfig XT application +Name[ca]=Aplicació TDEConfig XT +Name[da]=TDEConfig XT program +Name[de]=TDEConfigXT-Anwendung +Name[el]=Εφαρμογή TDEConfig XT +Name[es]=Aplicación TDEConfig XT +Name[et]=TDEConfig XT rakendus +Name[eu]=TDEConfig XT aplikazioa +Name[fa]=کاربرد TDEConfig XT +Name[fr]=Application TDEConfig XT +Name[ga]=Feidhmchlár XT TDEConfig +Name[gl]=Aplicación TDEConfig XT +Name[hu]=TDEConfig XT-alapú alkalmazás +Name[it]=Applicazione TDEConfig XT +Name[ja]=TDEConfig XT アプリケーション +Name[nds]=TDEConfig-XT-Programm +Name[ne]=TDEConfig XT अनुप्रयोग +Name[nl]=TDEConfig XT-toepassing +Name[pl]=Program TDEConfig XT +Name[pt]=Aplicação do TDEConfig XT +Name[pt_BR]=Aplicação do TDEConfig XT +Name[ru]=Приложение KDE с TDEConfig XT +Name[sk]=TDEConfig XT aplikácia +Name[sr]=TDEConfig XT програм +Name[sr@Latn]=TDEConfig XT program +Name[sv]=TDEConfig XT-program +Name[tr]=TDEConfig XT uygulaması +Name[zh_CN]=TDEConfig XT 应用程序 +Name[zh_TW]=TDEConfig XT 應用程式 +Category=Ruby/KDE +Icon=kxtruby.png +Comment=Generates a simple KDE application with one widget and a configuration dialog +Comment[ca]=Genera una simple aplicació per al KDE amb un estri i un diàleg de configuració +Comment[da]=Genererer et simpelt KDE-program med en kontrol og en indstillingsdialog +Comment[de]=Erstellt eine einfache KDE-Anwendung mit einem Widget und einem Einstellungsdialog. +Comment[el]=Δημιουργεί μια απλή εφαρμογή KDE με ένα γραφικό συστατικό, ένα διάλογο ρύθμισης +Comment[en_GB]=Generates a simple KDE application with one widget and a configuration dialogue +Comment[es]=Genera una sencilla aplicación para KDE con una ventana y un diálogo de configuración +Comment[et]=Lihtsa KDE rakenduse loomine ühe vidina ja seadistustedialoogiga. +Comment[eu]=Trepeta bat eta konfigurazio elkarrizketa-koadro bat duen KDE aplikazio sinple bat sortzen du +Comment[fa]=یک کاربرد سادۀ KDE، با یک عنصر و یک محاورۀ پیکربندی تولید می‌کند +Comment[fr]=Génère une application KDE simple comprenant un seul élément graphique (widget) et une boîte de dialogue de configuration +Comment[ga]=Cruthaíonn sé seo feidhmchlár simplí KDE le giuirléid amháin agus dialóg chumraíochta +Comment[gl]=Xera unha aplicación KDE sinxela cunha compoñente e un diálogo de configuración +Comment[hu]=Létrehoz egy egyszerű KDE-alkalmazást egy grafikus elemmel és egy beállítóablakkal +Comment[it]=Genera una semplice applicazione KDE con un elemento grafico e una finestra di configurazione +Comment[ja]=一つのウィジェットと設定ダイアログを含む簡単な KDE アプリケーションを作成します +Comment[nds]=Stellt en eenfach KDE-Programm mit een Element un en Instelldialoog op +Comment[ne]=एउटा विगेट र कन्फिगरेसन संवादसँग साधारण केडीई अनुप्रयोग उत्पन्न गर्दछ +Comment[nl]=Genereert een eenvoudige KDE-toepassing met één widget en een configuratiedialoog +Comment[pl]=Generuje prosty program KDE z jednym widgetem i oknem konfiguracyjnym +Comment[pt]=Gera uma aplicação simples do KDE com uma janela principal e outra para configuração +Comment[pt_BR]=Gera uma aplicação simples do KDE com uma janela principal e outra para configuração +Comment[ru]=Создание приложения KDE с окном конфигурации +Comment[sk]=Vygeneruje jednoduchú KDE aplikáciu s jedným oknom a konfiguračným dialógom +Comment[sr]=Прави једноставан KDE програм са једном контролом и дијалогом за подешавање +Comment[sr@Latn]=Pravi jednostavan KDE program sa jednom kontrolom i dijalogom za podešavanje +Comment[sv]=Skapar ett enkelt KDE-program med en grafisk komponent och en inställningsdialogruta +Comment[tr]=Bir parçacığı ve ayar penceresi olan basit bir KDE uygulaması yaratır. +Comment[zh_CN]=生成带一个部件和一个配置对话框的简单 KDE 应用程序 +Comment[zh_TW]=產生一個簡單的 KDE 應用程式,內含一個元件與一個設定對話框。 +ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.rb,%{dest}/src/README +Archive=kxtruby.tar.gz + +[ADMIN] +Type=include +File=%{tdevelop}/template-common/admin.kdevtemplate + +[GNU] +Type=include +File=%{tdevelop}/template-common/gnu.kdevtemplate + +[MKDIR_DOCBOOK1] +Type=mkdir +Dir=%{dest}/doc + +[MKDIR_DOCBOOK2] +Type=mkdir +Dir=%{dest}/doc/en + +[FILE1] +Type=install +Source=%{tdevelop}/template-common/kde-doc-Makefile.am +Dest=%{dest}/doc/Makefile.am + +[FILE2] +Type=install +Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am +Dest=%{dest}/doc/en/Makefile.am + +[FILE3] +Type=install +EscapeXML=true +Source=%{tdevelop}/template-common/tde-index.docbook +Dest=%{dest}/doc/en/index.docbook + +[FILE4] +Type=install +EscapeXML=true +Source=%{src}/app.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[FILE5] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.am +Dest=%{dest}/Makefile.am + +[FILE6] +Type=install +Source=%{tdevelop}/template-common/kde-Makefile.cvs +Dest=%{dest}/Makefile.cvs + +[FILE7] +Type=install +Source=%{src}/app-configure.in.in +Dest=%{dest}/configure.in.in + +[MkDir3] +Type=mkdir +Dir=%{dest}/src + +[FILE8] +Type=install +Source=%{tdevelop}/template-common/tde-app.desktop +Dest=%{dest}/src/%{APPNAMELC}.desktop + +[FILE9] +Type=install +Source=%{tdevelop}/template-common/kde-app.lsm +Dest=%{dest}/src/%{APPNAMELC}.lsm + +[FILE10] +Type=install +Source=%{tdevelop}/template-common/hi16-app-app.png +Dest=%{dest}/src/hi16-app-%{APPNAMELC}.png +Process=false + +[FILE11] +Type=install +Source=%{tdevelop}/template-common/hi32-app-app.png +Dest=%{dest}/src/hi32-app-%{APPNAMELC}.png +Process=false + +[MkDir4] +Type=mkdir +Dir=%{dest}/po + +[FILE12] +Type=install +Source=%{tdevelop}/template-common/kde-po-Makefile.am +Dest=%{dest}/po/Makefile.am + +[FILE13] +Type=install +Source=%{src}/subdirs +Dest=%{dest}/subdirs + +[FILE14] +Type=install +Source=%{src}/src-Makefile.am +Dest=%{dest}/src/Makefile.am + +[FILE15] +Type=install +Source=%{src}/app.cpp +Dest=%{dest}/src/%{APPNAMELC}.cpp + +[FILE16] +Type=install +Source=%{src}/app.rb +Dest=%{dest}/src/%{APPNAMELC}.rb + +[FILE17] +Type=install +Source=%{src}/appview.rb +Dest=%{dest}/src/%{APPNAMELC}view.rb + +[FILE18] +Type=install +Source=%{src}/appview_base.ui +Dest=%{dest}/src/appview_base.ui + +[FILE19] +Type=install +Source=%{src}/prefs-base.ui +Dest=%{dest}/src/prefs-base.ui + +[FILE20] +Type=install +Source=%{src}/prefs.rb +Dest=%{dest}/src/prefs.rb + +[FILE21] +Type=install +Source=%{src}/main.rb +Dest=%{dest}/src/main.rb + +[FILE22] +Type=install +EscapeXML=true +Source=%{src}/appui.rc +Dest=%{dest}/src/%{APPNAMELC}ui.rc + +[FILE23] +Type=install +Source=%{src}/README +Dest=%{dest}/src/README + +[FILE24] +Type=install +Source=%{src}/app.kcfg +Dest=%{dest}/src/%{APPNAMELC}.kcfg + +[FILE25] +Type=install +Source=%{src}/settings.kcfgc +Dest=%{dest}/src/settings.kcfgc + +[MSG] +Type=message +Comment=A Korundum TDEConfig XT Application was created at %{dest} +Comment[ca]=Una aplicació Korundum amb TDEConfig XT ha estat creada a %{dest} +Comment[da]=Et Korundum TDEConfig XT program blev oprettet i %{dest} +Comment[de]=Eine Korundum-TDEConfig-XT-Anwendung wurde in %{dest} erstellt. +Comment[el]=Μια εφαρμογή Korundum TDEConfig XT δημιουργήθηκε στο %{dest} +Comment[es]=Una aplicación Korundum con TDEConfig XT ha sido creada en %{dest} +Comment[et]=Korundumi TDEConfig XT rakendus loodi asukohta %{dest} +Comment[eu]=Korundum TDEConfig XT aplikazio bat sortu da hemen: %{dest} +Comment[fa]=یک کاربرد Korundum TDEConfig XT در %{dest} ایجاد شد +Comment[fr]=Une application TDEConfig XT Korundum a été créée dans %{dest} +Comment[ga]=Cruthaíodh Feidhmchlár Korundum TDEConfig XT ag %{dest} +Comment[gl]=Creouse unha aplicación TDEConfig XT con Korundum en %{dest} +Comment[hu]=Létrejött egy Korundum-alapú TDEConfig XT-s alkalmazás itt: %{dest} +Comment[it]=È stata creata un'applicazione Korundum TDEConfig XT in %{dest} +Comment[ja]=Korundum TDEConfig XT アプリケーションを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en Korundum/TDEConfig-XT-Programm opstellt. +Comment[ne]=Korundum TDEConfig XT अनुप्रयोग %{dest} मा सिर्जना गरियो +Comment[nl]=Een Korundum TDEConfig XT-toepassing is aangemaakt in %{dest} +Comment[pl]=Program Korundum TDEConfig XT został utworzony w %{dest} +Comment[pt]=Foi criada uma aplicação Korundum com TDEConfig XT em %{dest} +Comment[pt_BR]=Foi criada uma aplicação Korundum com TDEConfig XT em %{dest} +Comment[ru]=Приложение Korundum с TDEConfig XT создано в %{dest} +Comment[sk]=Korundim TDEConfig XT aplikácia bola vytvorená v %{dest} +Comment[sr]=Korundum TDEConfig XT програм направљен је у %{dest} +Comment[sr@Latn]=Korundum TDEConfig XT program napravljen je u %{dest} +Comment[sv]=Ett Korundum TDEConfig XT-program skapades i %{dest} +Comment[tr]=Bir Korundum TDEConfig XT uygulaması %{dest} içinde yaratıldı. +Comment[zh_TW]=一個 Korundum TDEConfig XT 應用程式已建立於 %{dest} diff --git a/languages/ruby/app_templates/kxt/kxtruby.tdevtemplate b/languages/ruby/app_templates/kxt/kxtruby.tdevtemplate deleted file mode 100644 index f17db17b..00000000 --- a/languages/ruby/app_templates/kxt/kxtruby.tdevtemplate +++ /dev/null @@ -1,251 +0,0 @@ -# KDE Config File -[General] - -Name=TDEConfig XT application -Name[ca]=Aplicació TDEConfig XT -Name[da]=TDEConfig XT program -Name[de]=TDEConfigXT-Anwendung -Name[el]=Εφαρμογή TDEConfig XT -Name[es]=Aplicación TDEConfig XT -Name[et]=TDEConfig XT rakendus -Name[eu]=TDEConfig XT aplikazioa -Name[fa]=کاربرد TDEConfig XT -Name[fr]=Application TDEConfig XT -Name[ga]=Feidhmchlár XT TDEConfig -Name[gl]=Aplicación TDEConfig XT -Name[hu]=TDEConfig XT-alapú alkalmazás -Name[it]=Applicazione TDEConfig XT -Name[ja]=TDEConfig XT アプリケーション -Name[nds]=TDEConfig-XT-Programm -Name[ne]=TDEConfig XT अनुप्रयोग -Name[nl]=TDEConfig XT-toepassing -Name[pl]=Program TDEConfig XT -Name[pt]=Aplicação do TDEConfig XT -Name[pt_BR]=Aplicação do TDEConfig XT -Name[ru]=Приложение KDE с TDEConfig XT -Name[sk]=TDEConfig XT aplikácia -Name[sr]=TDEConfig XT програм -Name[sr@Latn]=TDEConfig XT program -Name[sv]=TDEConfig XT-program -Name[tr]=TDEConfig XT uygulaması -Name[zh_CN]=TDEConfig XT 应用程序 -Name[zh_TW]=TDEConfig XT 應用程式 -Category=Ruby/KDE -Icon=kxtruby.png -Comment=Generates a simple KDE application with one widget and a configuration dialog -Comment[ca]=Genera una simple aplicació per al KDE amb un estri i un diàleg de configuració -Comment[da]=Genererer et simpelt KDE-program med en kontrol og en indstillingsdialog -Comment[de]=Erstellt eine einfache KDE-Anwendung mit einem Widget und einem Einstellungsdialog. -Comment[el]=Δημιουργεί μια απλή εφαρμογή KDE με ένα γραφικό συστατικό, ένα διάλογο ρύθμισης -Comment[en_GB]=Generates a simple KDE application with one widget and a configuration dialogue -Comment[es]=Genera una sencilla aplicación para KDE con una ventana y un diálogo de configuración -Comment[et]=Lihtsa KDE rakenduse loomine ühe vidina ja seadistustedialoogiga. -Comment[eu]=Trepeta bat eta konfigurazio elkarrizketa-koadro bat duen KDE aplikazio sinple bat sortzen du -Comment[fa]=یک کاربرد سادۀ KDE، با یک عنصر و یک محاورۀ پیکربندی تولید می‌کند -Comment[fr]=Génère une application KDE simple comprenant un seul élément graphique (widget) et une boîte de dialogue de configuration -Comment[ga]=Cruthaíonn sé seo feidhmchlár simplí KDE le giuirléid amháin agus dialóg chumraíochta -Comment[gl]=Xera unha aplicación KDE sinxela cunha compoñente e un diálogo de configuración -Comment[hu]=Létrehoz egy egyszerű KDE-alkalmazást egy grafikus elemmel és egy beállítóablakkal -Comment[it]=Genera una semplice applicazione KDE con un elemento grafico e una finestra di configurazione -Comment[ja]=一つのウィジェットと設定ダイアログを含む簡単な KDE アプリケーションを作成します -Comment[nds]=Stellt en eenfach KDE-Programm mit een Element un en Instelldialoog op -Comment[ne]=एउटा विगेट र कन्फिगरेसन संवादसँग साधारण केडीई अनुप्रयोग उत्पन्न गर्दछ -Comment[nl]=Genereert een eenvoudige KDE-toepassing met één widget en een configuratiedialoog -Comment[pl]=Generuje prosty program KDE z jednym widgetem i oknem konfiguracyjnym -Comment[pt]=Gera uma aplicação simples do KDE com uma janela principal e outra para configuração -Comment[pt_BR]=Gera uma aplicação simples do KDE com uma janela principal e outra para configuração -Comment[ru]=Создание приложения KDE с окном конфигурации -Comment[sk]=Vygeneruje jednoduchú KDE aplikáciu s jedným oknom a konfiguračným dialógom -Comment[sr]=Прави једноставан KDE програм са једном контролом и дијалогом за подешавање -Comment[sr@Latn]=Pravi jednostavan KDE program sa jednom kontrolom i dijalogom za podešavanje -Comment[sv]=Skapar ett enkelt KDE-program med en grafisk komponent och en inställningsdialogruta -Comment[tr]=Bir parçacığı ve ayar penceresi olan basit bir KDE uygulaması yaratır. -Comment[zh_CN]=生成带一个部件和一个配置对话框的简单 KDE 应用程序 -Comment[zh_TW]=產生一個簡單的 KDE 應用程式,內含一個元件與一個設定對話框。 -ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.rb,%{dest}/src/README -Archive=kxtruby.tar.gz - -[ADMIN] -Type=include -File=%{tdevelop}/template-common/admin.tdevtemplate - -[GNU] -Type=include -File=%{tdevelop}/template-common/gnu.tdevtemplate - -[MKDIR_DOCBOOK1] -Type=mkdir -Dir=%{dest}/doc - -[MKDIR_DOCBOOK2] -Type=mkdir -Dir=%{dest}/doc/en - -[FILE1] -Type=install -Source=%{tdevelop}/template-common/kde-doc-Makefile.am -Dest=%{dest}/doc/Makefile.am - -[FILE2] -Type=install -Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am -Dest=%{dest}/doc/en/Makefile.am - -[FILE3] -Type=install -EscapeXML=true -Source=%{tdevelop}/template-common/tde-index.docbook -Dest=%{dest}/doc/en/index.docbook - -[FILE4] -Type=install -EscapeXML=true -Source=%{src}/app.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[FILE5] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.am -Dest=%{dest}/Makefile.am - -[FILE6] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.cvs -Dest=%{dest}/Makefile.cvs - -[FILE7] -Type=install -Source=%{src}/app-configure.in.in -Dest=%{dest}/configure.in.in - -[MkDir3] -Type=mkdir -Dir=%{dest}/src - -[FILE8] -Type=install -Source=%{tdevelop}/template-common/tde-app.desktop -Dest=%{dest}/src/%{APPNAMELC}.desktop - -[FILE9] -Type=install -Source=%{tdevelop}/template-common/kde-app.lsm -Dest=%{dest}/src/%{APPNAMELC}.lsm - -[FILE10] -Type=install -Source=%{tdevelop}/template-common/hi16-app-app.png -Dest=%{dest}/src/hi16-app-%{APPNAMELC}.png -Process=false - -[FILE11] -Type=install -Source=%{tdevelop}/template-common/hi32-app-app.png -Dest=%{dest}/src/hi32-app-%{APPNAMELC}.png -Process=false - -[MkDir4] -Type=mkdir -Dir=%{dest}/po - -[FILE12] -Type=install -Source=%{tdevelop}/template-common/kde-po-Makefile.am -Dest=%{dest}/po/Makefile.am - -[FILE13] -Type=install -Source=%{src}/subdirs -Dest=%{dest}/subdirs - -[FILE14] -Type=install -Source=%{src}/src-Makefile.am -Dest=%{dest}/src/Makefile.am - -[FILE15] -Type=install -Source=%{src}/app.cpp -Dest=%{dest}/src/%{APPNAMELC}.cpp - -[FILE16] -Type=install -Source=%{src}/app.rb -Dest=%{dest}/src/%{APPNAMELC}.rb - -[FILE17] -Type=install -Source=%{src}/appview.rb -Dest=%{dest}/src/%{APPNAMELC}view.rb - -[FILE18] -Type=install -Source=%{src}/appview_base.ui -Dest=%{dest}/src/appview_base.ui - -[FILE19] -Type=install -Source=%{src}/prefs-base.ui -Dest=%{dest}/src/prefs-base.ui - -[FILE20] -Type=install -Source=%{src}/prefs.rb -Dest=%{dest}/src/prefs.rb - -[FILE21] -Type=install -Source=%{src}/main.rb -Dest=%{dest}/src/main.rb - -[FILE22] -Type=install -EscapeXML=true -Source=%{src}/appui.rc -Dest=%{dest}/src/%{APPNAMELC}ui.rc - -[FILE23] -Type=install -Source=%{src}/README -Dest=%{dest}/src/README - -[FILE24] -Type=install -Source=%{src}/app.kcfg -Dest=%{dest}/src/%{APPNAMELC}.kcfg - -[FILE25] -Type=install -Source=%{src}/settings.kcfgc -Dest=%{dest}/src/settings.kcfgc - -[MSG] -Type=message -Comment=A Korundum TDEConfig XT Application was created at %{dest} -Comment[ca]=Una aplicació Korundum amb TDEConfig XT ha estat creada a %{dest} -Comment[da]=Et Korundum TDEConfig XT program blev oprettet i %{dest} -Comment[de]=Eine Korundum-TDEConfig-XT-Anwendung wurde in %{dest} erstellt. -Comment[el]=Μια εφαρμογή Korundum TDEConfig XT δημιουργήθηκε στο %{dest} -Comment[es]=Una aplicación Korundum con TDEConfig XT ha sido creada en %{dest} -Comment[et]=Korundumi TDEConfig XT rakendus loodi asukohta %{dest} -Comment[eu]=Korundum TDEConfig XT aplikazio bat sortu da hemen: %{dest} -Comment[fa]=یک کاربرد Korundum TDEConfig XT در %{dest} ایجاد شد -Comment[fr]=Une application TDEConfig XT Korundum a été créée dans %{dest} -Comment[ga]=Cruthaíodh Feidhmchlár Korundum TDEConfig XT ag %{dest} -Comment[gl]=Creouse unha aplicación TDEConfig XT con Korundum en %{dest} -Comment[hu]=Létrejött egy Korundum-alapú TDEConfig XT-s alkalmazás itt: %{dest} -Comment[it]=È stata creata un'applicazione Korundum TDEConfig XT in %{dest} -Comment[ja]=Korundum TDEConfig XT アプリケーションを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en Korundum/TDEConfig-XT-Programm opstellt. -Comment[ne]=Korundum TDEConfig XT अनुप्रयोग %{dest} मा सिर्जना गरियो -Comment[nl]=Een Korundum TDEConfig XT-toepassing is aangemaakt in %{dest} -Comment[pl]=Program Korundum TDEConfig XT został utworzony w %{dest} -Comment[pt]=Foi criada uma aplicação Korundum com TDEConfig XT em %{dest} -Comment[pt_BR]=Foi criada uma aplicação Korundum com TDEConfig XT em %{dest} -Comment[ru]=Приложение Korundum с TDEConfig XT создано в %{dest} -Comment[sk]=Korundim TDEConfig XT aplikácia bola vytvorená v %{dest} -Comment[sr]=Korundum TDEConfig XT програм направљен је у %{dest} -Comment[sr@Latn]=Korundum TDEConfig XT program napravljen je u %{dest} -Comment[sv]=Ett Korundum TDEConfig XT-program skapades i %{dest} -Comment[tr]=Bir Korundum TDEConfig XT uygulaması %{dest} içinde yaratıldı. -Comment[zh_TW]=一個 Korundum TDEConfig XT 應用程式已建立於 %{dest} diff --git a/languages/ruby/app_templates/qtruby/CMakeLists.txt b/languages/ruby/app_templates/qtruby/CMakeLists.txt index edbe6376..beac7f1f 100644 --- a/languages/ruby/app_templates/qtruby/CMakeLists.txt +++ b/languages/ruby/app_templates/qtruby/CMakeLists.txt @@ -17,9 +17,9 @@ add_custom_target( qtruby.tar.gz ALL install( FILES ${CMAKE_CURRENT_BINARY_DIR}/qtruby.tar.gz qtruby.png - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) install( FILES - qtruby.tdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) + qtruby.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/qtruby/Makefile.am b/languages/ruby/app_templates/qtruby/Makefile.am index a822765c..919a69f5 100644 --- a/languages/ruby/app_templates/qtruby/Makefile.am +++ b/languages/ruby/app_templates/qtruby/Makefile.am @@ -2,10 +2,10 @@ dataFiles = app.rb app.tdevelop app-Makefile app.filelist README templateName = qtruby ### 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/ruby/app_templates/qtruby/app.filelist b/languages/ruby/app_templates/qtruby/app.filelist index 2458459f..202beb22 100644 --- a/languages/ruby/app_templates/qtruby/app.filelist +++ b/languages/ruby/app_templates/qtruby/app.filelist @@ -1,2 +1,2 @@ -# TDevelop Custom Project File List +# KDevelop Custom Project File List %{APPNAMELC}.rb diff --git a/languages/ruby/app_templates/qtruby/app.tdevelop b/languages/ruby/app_templates/qtruby/app.tdevelop index ad09b42c..3b59130c 100644 --- a/languages/ruby/app_templates/qtruby/app.tdevelop +++ b/languages/ruby/app_templates/qtruby/app.tdevelop @@ -4,7 +4,7 @@ %{AUTHOR} %{EMAIL} %{VERSION} - TDevCustomProject + KDevCustomProject Ruby Ruby @@ -14,15 +14,15 @@ KDevDoxygen KDevdistpart KDevVisualBoyAdvance - TDevDebugger + KDevDebugger - + - - + + false CVS,.svn @@ -31,8 +31,8 @@ - - + + ada ada_bugs_gcc @@ -68,18 +68,18 @@ w3c-uaag10 wxwindows_bugs - - + + - - + + ./%{APPNAMELC}.rb ruby false - + diff --git a/languages/ruby/app_templates/qtruby/qtruby.kdevtemplate b/languages/ruby/app_templates/qtruby/qtruby.kdevtemplate new file mode 100644 index 00000000..da8500dc --- /dev/null +++ b/languages/ruby/app_templates/qtruby/qtruby.kdevtemplate @@ -0,0 +1,114 @@ +# KDE Config File +[General] +Name=QtRuby Hello World +Name[ca]=Hello World en QtRuby +Name[da]=QtRuby Goddag verden +Name[de]=QtRuby-"Hello World"-Programm +Name[el]=Γεια σου κόσμε QtRuby +Name[es]=«Hola mundo» en QtRuby +Name[et]=QtRuby "Tere, maailm" +Name[eu]=QtRuby "Kaixo mundua" programa +Name[fr]=« Bonjour monde » en QtRuby +Name[gl]=Ola mundo en QtRuby +Name[hu]=QtRuby-alapú Hello world program +Name[it]="Hello World" con QtRuby +Name[nds]=QtRuby-"Moin Welt" +Name[ne]=QtRuby हेल्लो वोल्ड +Name[pl]="Witaj świecie" w QtRuby +Name[pt]=Olá Mundo em QtRuby +Name[pt_BR]=Olá Mundo em QtRuby +Name[ru]=Hello World на QtRuby +Name[sk]=QtRuby Ahoj svet +Name[sr]=„Здраво свете“ у QtRuby-ју +Name[sr@Latn]=„Zdravo svete“ u QtRuby-ju +Name[tr]=QtRuby Merhaba Dünya +Category=Ruby/Qt +Comment=This generates a simple QtRuby Hello World application +Comment[ca]=Genera una simple aplicació de Hello World en QtRuby +Comment[da]=Dette generere et simpelt QtRuby Goddag verden program +Comment[de]=Erstellt eine einfache auf QtRuby basierende "Hello World"-Anwendung +Comment[el]=Αυτό δημιουργεί μια απλή εφαρμογή Γεια σου κόσμε σε QtRuby +Comment[es]=Genera una sencilla aplicación «Hola mundo» en QtRuby +Comment[et]=Lihtsa QtRuby "Tere, maailm" rakenduse loomine +Comment[eu]=Honek QtRuby "Kaixo mundua" aplikazio sinple bat sortzen du +Comment[fa]=یک کاربرد سادۀ QtRuby Hello World تولید می‌کند +Comment[fr]=Génère un programme « Bonjour monde » simple en QtRuby +Comment[gl]=Isto xera unha aplicación sinxela Ola mundo QtRuby +Comment[hu]=Létrehoz egy egyszerű QtRuby-alapú Hello world programot +Comment[it]=Genera una semplice applicazione di "Hello World" con QtRuby +Comment[ja]=簡単な QtRuby Hello World アプリケーションを作成します +Comment[nds]=Dit stellt en eenfach "Moin Welt"-Programm mit QtRuby op. +Comment[ne]=यसले साधारण QtRuby हेल्लो वोल्ड अनुप्रयोग उत्पन्न गर्दछ +Comment[nl]=Dit genereert een eenvoudige QtRuby Hello World-toepassing +Comment[pl]=Generuje prosty program "Witaj świecie" w QtRuby +Comment[pt]=Isto gera uma aplicação Olá Mundo simples em QtRuby +Comment[pt_BR]=Isto gera uma aplicação Olá Mundo simples em QtRuby +Comment[ru]=Создание простого приложения Hello World на QtRuby +Comment[sk]=Vygeneruje jednoduchú QtRuby Ahoj svet aplikáciu +Comment[sr]=Ово прави једноставан „Здраво свете“ у QtRuby-ју +Comment[sr@Latn]=Ovo pravi jednostavan „Zdravo svete“ u QtRuby-ju +Comment[sv]=Detta skapar ett enkelt Hello World-program i QtRuby +Comment[tr]=Bu basit bir QtRuby Merhaba Dünya uygulaması yaratır. +Comment[zh_TW]=產生一個簡單的 QtRuby Hello World 應用程式 +FileTemplates=rb,ShellStyle +ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.rb,%{dest}/README +Icon=qtruby.png +Archive=qtruby.tar.gz + +[FILE1] +Type=install +EscapeXML=true +Source=%{src}/app.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[FILE2] +Type=install +Source=%{src}/app.rb +Dest=%{dest}/%{APPNAMELC}.rb + +[FILE3] +Type=install +Source=%{src}/app-Makefile +Dest=%{dest}/Makefile + +[FILE4] +Type=install +Source=%{src}/app.filelist +Dest=%{dest}/%{APPNAMELC}.tdevelop.filelist + +[FILE5] +Type=install +Source=%{src}/README +Dest=%{dest}/README + +[MSG] +Type=message +Comment=A simple QtRuby application was created in %{dest} +Comment[ca]=Una simple aplicació en QtRuby ha estat creada en %{dest} +Comment[da]=Et simpelt QtRuby program blev oprettet i %{dest} +Comment[de]=Eine einfache QtRuby-Anwendung wurde in %{dest} erstellt. +Comment[el]=Μια απλή εφαρμογή QtRuby δημιουργήθηκε στο %{dest} +Comment[es]=Una sencilla aplicación en QtRuby ha sido creada en %{dest} +Comment[et]=Lihtne KQtRuby rakendus loodi asukohta %{dest} +Comment[eu]=QtRuby aplikazio sinple bat sortu da hemen: %{dest} +Comment[fa]=یک کاربرد سادۀ QtRuby در %{dest} ایجاد شد +Comment[fr]=Une application QtRuby simple a été créée dans %{dest} +Comment[ga]=Cruthaíodh feidhmchlár simplí QtRuby i %{dest} +Comment[gl]=Creouse unha aplicación sinxela QtRuby en %{dest} +Comment[hu]=Létrejött egy egyszerű QtRuby-alapú alkalmazás itt: %{dest} +Comment[it]=È stata creata una semplice applicazione QtRuby in %{dest} +Comment[ja]=簡単な QtRuby アプリケーションを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en eenfach QtRuby-Programm opstellt. +Comment[ne]=साधारण QtRuby अनुप्रयोग %{dest} मा सिर्जना गरियो +Comment[nl]=Een eenvoudige QtRuby-toepassing is aangemaakt in %{dest} +Comment[pl]=Prosty program w QtRuby został utworzony w %{dest} +Comment[pt]=Foi criada uma aplicação simples de QtRuby em %{dest} +Comment[pt_BR]=Foi criada uma aplicação simples de QtRuby em %{dest} +Comment[ru]=Простое приложение QtRuby создано в %{dest} +Comment[sk]=Jednoduchá QtRuby aplikácia bola vytvorená v %{dest} +Comment[sr]=Једноставан QtRuby програм направљен је у %{dest} +Comment[sr@Latn]=Jednostavan QtRuby program napravljen je u %{dest} +Comment[sv]=Ett enkelt QtRuby-program skapades i %{dest} +Comment[tr]=Basit bir QtRuby uygulaması %{dest} içinde yaratıldı. +Comment[zh_CN]=在 %{dest} 创建了一个简单的 QtRuby 应用程序 +Comment[zh_TW]=一個簡單的 QtRuby 應用程式框架已建立於 %{dest} diff --git a/languages/ruby/app_templates/qtruby/qtruby.tdevtemplate b/languages/ruby/app_templates/qtruby/qtruby.tdevtemplate deleted file mode 100644 index da8500dc..00000000 --- a/languages/ruby/app_templates/qtruby/qtruby.tdevtemplate +++ /dev/null @@ -1,114 +0,0 @@ -# KDE Config File -[General] -Name=QtRuby Hello World -Name[ca]=Hello World en QtRuby -Name[da]=QtRuby Goddag verden -Name[de]=QtRuby-"Hello World"-Programm -Name[el]=Γεια σου κόσμε QtRuby -Name[es]=«Hola mundo» en QtRuby -Name[et]=QtRuby "Tere, maailm" -Name[eu]=QtRuby "Kaixo mundua" programa -Name[fr]=« Bonjour monde » en QtRuby -Name[gl]=Ola mundo en QtRuby -Name[hu]=QtRuby-alapú Hello world program -Name[it]="Hello World" con QtRuby -Name[nds]=QtRuby-"Moin Welt" -Name[ne]=QtRuby हेल्लो वोल्ड -Name[pl]="Witaj świecie" w QtRuby -Name[pt]=Olá Mundo em QtRuby -Name[pt_BR]=Olá Mundo em QtRuby -Name[ru]=Hello World на QtRuby -Name[sk]=QtRuby Ahoj svet -Name[sr]=„Здраво свете“ у QtRuby-ју -Name[sr@Latn]=„Zdravo svete“ u QtRuby-ju -Name[tr]=QtRuby Merhaba Dünya -Category=Ruby/Qt -Comment=This generates a simple QtRuby Hello World application -Comment[ca]=Genera una simple aplicació de Hello World en QtRuby -Comment[da]=Dette generere et simpelt QtRuby Goddag verden program -Comment[de]=Erstellt eine einfache auf QtRuby basierende "Hello World"-Anwendung -Comment[el]=Αυτό δημιουργεί μια απλή εφαρμογή Γεια σου κόσμε σε QtRuby -Comment[es]=Genera una sencilla aplicación «Hola mundo» en QtRuby -Comment[et]=Lihtsa QtRuby "Tere, maailm" rakenduse loomine -Comment[eu]=Honek QtRuby "Kaixo mundua" aplikazio sinple bat sortzen du -Comment[fa]=یک کاربرد سادۀ QtRuby Hello World تولید می‌کند -Comment[fr]=Génère un programme « Bonjour monde » simple en QtRuby -Comment[gl]=Isto xera unha aplicación sinxela Ola mundo QtRuby -Comment[hu]=Létrehoz egy egyszerű QtRuby-alapú Hello world programot -Comment[it]=Genera una semplice applicazione di "Hello World" con QtRuby -Comment[ja]=簡単な QtRuby Hello World アプリケーションを作成します -Comment[nds]=Dit stellt en eenfach "Moin Welt"-Programm mit QtRuby op. -Comment[ne]=यसले साधारण QtRuby हेल्लो वोल्ड अनुप्रयोग उत्पन्न गर्दछ -Comment[nl]=Dit genereert een eenvoudige QtRuby Hello World-toepassing -Comment[pl]=Generuje prosty program "Witaj świecie" w QtRuby -Comment[pt]=Isto gera uma aplicação Olá Mundo simples em QtRuby -Comment[pt_BR]=Isto gera uma aplicação Olá Mundo simples em QtRuby -Comment[ru]=Создание простого приложения Hello World на QtRuby -Comment[sk]=Vygeneruje jednoduchú QtRuby Ahoj svet aplikáciu -Comment[sr]=Ово прави једноставан „Здраво свете“ у QtRuby-ју -Comment[sr@Latn]=Ovo pravi jednostavan „Zdravo svete“ u QtRuby-ju -Comment[sv]=Detta skapar ett enkelt Hello World-program i QtRuby -Comment[tr]=Bu basit bir QtRuby Merhaba Dünya uygulaması yaratır. -Comment[zh_TW]=產生一個簡單的 QtRuby Hello World 應用程式 -FileTemplates=rb,ShellStyle -ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.rb,%{dest}/README -Icon=qtruby.png -Archive=qtruby.tar.gz - -[FILE1] -Type=install -EscapeXML=true -Source=%{src}/app.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[FILE2] -Type=install -Source=%{src}/app.rb -Dest=%{dest}/%{APPNAMELC}.rb - -[FILE3] -Type=install -Source=%{src}/app-Makefile -Dest=%{dest}/Makefile - -[FILE4] -Type=install -Source=%{src}/app.filelist -Dest=%{dest}/%{APPNAMELC}.tdevelop.filelist - -[FILE5] -Type=install -Source=%{src}/README -Dest=%{dest}/README - -[MSG] -Type=message -Comment=A simple QtRuby application was created in %{dest} -Comment[ca]=Una simple aplicació en QtRuby ha estat creada en %{dest} -Comment[da]=Et simpelt QtRuby program blev oprettet i %{dest} -Comment[de]=Eine einfache QtRuby-Anwendung wurde in %{dest} erstellt. -Comment[el]=Μια απλή εφαρμογή QtRuby δημιουργήθηκε στο %{dest} -Comment[es]=Una sencilla aplicación en QtRuby ha sido creada en %{dest} -Comment[et]=Lihtne KQtRuby rakendus loodi asukohta %{dest} -Comment[eu]=QtRuby aplikazio sinple bat sortu da hemen: %{dest} -Comment[fa]=یک کاربرد سادۀ QtRuby در %{dest} ایجاد شد -Comment[fr]=Une application QtRuby simple a été créée dans %{dest} -Comment[ga]=Cruthaíodh feidhmchlár simplí QtRuby i %{dest} -Comment[gl]=Creouse unha aplicación sinxela QtRuby en %{dest} -Comment[hu]=Létrejött egy egyszerű QtRuby-alapú alkalmazás itt: %{dest} -Comment[it]=È stata creata una semplice applicazione QtRuby in %{dest} -Comment[ja]=簡単な QtRuby アプリケーションを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en eenfach QtRuby-Programm opstellt. -Comment[ne]=साधारण QtRuby अनुप्रयोग %{dest} मा सिर्जना गरियो -Comment[nl]=Een eenvoudige QtRuby-toepassing is aangemaakt in %{dest} -Comment[pl]=Prosty program w QtRuby został utworzony w %{dest} -Comment[pt]=Foi criada uma aplicação simples de QtRuby em %{dest} -Comment[pt_BR]=Foi criada uma aplicação simples de QtRuby em %{dest} -Comment[ru]=Простое приложение QtRuby создано в %{dest} -Comment[sk]=Jednoduchá QtRuby aplikácia bola vytvorená v %{dest} -Comment[sr]=Једноставан QtRuby програм направљен је у %{dest} -Comment[sr@Latn]=Jednostavan QtRuby program napravljen je u %{dest} -Comment[sv]=Ett enkelt QtRuby-program skapades i %{dest} -Comment[tr]=Basit bir QtRuby uygulaması %{dest} içinde yaratıldı. -Comment[zh_CN]=在 %{dest} 创建了一个简单的 QtRuby 应用程序 -Comment[zh_TW]=一個簡單的 QtRuby 應用程式框架已建立於 %{dest} diff --git a/languages/ruby/app_templates/qtruby4app/CMakeLists.txt b/languages/ruby/app_templates/qtruby4app/CMakeLists.txt index 9bf5e3b6..e5045380 100644 --- a/languages/ruby/app_templates/qtruby4app/CMakeLists.txt +++ b/languages/ruby/app_templates/qtruby4app/CMakeLists.txt @@ -20,9 +20,9 @@ add_custom_target( qtruby4app.tar.gz ALL install( FILES ${CMAKE_CURRENT_BINARY_DIR}/qtruby4app.tar.gz qtruby4app.png - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) install( FILES - qtruby4app.tdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) + qtruby4app.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/qtruby4app/Makefile.am b/languages/ruby/app_templates/qtruby4app/Makefile.am index 09709aed..8f4adecd 100644 --- a/languages/ruby/app_templates/qtruby4app/Makefile.am +++ b/languages/ruby/app_templates/qtruby4app/Makefile.am @@ -5,10 +5,10 @@ dataFiles = main.rb qtruby4app.rb qtruby4app.png qtruby4app.tdevelop \ templateName = qtruby4app ### 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/ruby/app_templates/qtruby4app/app.filelist b/languages/ruby/app_templates/qtruby4app/app.filelist index 23f4bc76..339e6998 100644 --- a/languages/ruby/app_templates/qtruby4app/app.filelist +++ b/languages/ruby/app_templates/qtruby4app/app.filelist @@ -1,3 +1,3 @@ -# TDevelop Custom Project File List +# KDevelop Custom Project File List main.rb %{APPNAMELC}.rb diff --git a/languages/ruby/app_templates/qtruby4app/qtruby4app.kdevtemplate b/languages/ruby/app_templates/qtruby4app/qtruby4app.kdevtemplate new file mode 100644 index 00000000..70df2248 --- /dev/null +++ b/languages/ruby/app_templates/qtruby4app/qtruby4app.kdevtemplate @@ -0,0 +1,166 @@ +# KDE Config File +[General] +Name=QtRuby4 Application +Name[ca]=Aplicació en QtRuby4 +Name[da]=QtRuby4-program +Name[de]=QtRuby4-Anwendung +Name[el]=Εφαρμογή QtRuby4 +Name[es]=Aplicación en QtRuby4 +Name[et]=QtRuby4 rakendus +Name[hu]=QtRuby4-alapú alkalmazás +Name[it]=Applicazione QtRuby4 +Name[nds]=QtRuby4-Programm +Name[nl]=QtRuby4-programma +Name[pl]=Program w QtRuby +Name[pt]=Aplicação em QtRuby4 +Name[pt_BR]=Aplicativo QtRuby4 +Name[ru]=Приложение QtRuby4 +Name[sk]=QtRuby4 Aplikácia +Name[sr]=QtRuby4 програм +Name[sr@Latn]=QtRuby4 program +Name[sv]=QtRuby 4-program +Name[zh_TW]=QtRuby4 應用程式 +Icon=qtruby4app.png +Category=Ruby/Qt +Category[fr]=Ruby/Qt +Comment=Generate a QtRuby4 based application (crossplatform compatible) - Needs QtRuby4 +Comment[ca]=Genera una aplicació basada en QtRuby4 (compatible plataforma creuada) - Necessita QtRuby4 +Comment[da]=Genererer et QtRuby4-baseret program (krydsplatformskompatibelt) - kræver QtRuby4 +Comment[de]=Erstellt eine auf QtRuby4 basierende Anwendung (plattformunabhängig). - Benötigt QtRuby4. +Comment[el]=Δημιουργία μιας εφαρμογής βασισμένης στην QtRuby4 (πολλαπλών πλατφόρμων) - Απαιτείται η QtRuby4 +Comment[es]=Genera una aplicación basada en QtRuby4 (con compatibilidad multiplataforma) - Necesita QtRuby4 +Comment[et]=Rakenduse loomine QtRuby4 põhjal (multiplatvormne) - vajalik on QtRuby4 +Comment[hu]=Létrehoz egy QtRuby4-alapú, keresztfordításra is alkalmas alkalmazást - QtRuby4-et igényel +Comment[it]=Genera un'applicazione basata su QtRuby4 (compatibile multipiattaforma) - serve QtRuby4 +Comment[nds]=Stellt en op QRubyt4 opbuut Programm op (över Bedriefümgeven weg kompatibel) - QtRuby4 deit noot +Comment[nl]=Genereer een QtRuby4-gebaseerd programma (crossplatform-compatible) - heeft QtRuby4 nodig +Comment[pl]=Generuje program używający QtRuby4 (wieloplatformowy) - wymaga QtRuby4 +Comment[pt]=Gera uma aplicação baseada no QtRuby4 (compatível com várias plataformas) - Necessita do QtRuby4 +Comment[pt_BR]=Gera uma aplicação baseada no QtRuby4 (compatível com várias plataformas) - Necessita do QtRuby4 +Comment[ru]=Создание кроссплатформенного приложения Qt 4 на Ruby. Требует QtRuby4. +Comment[sk]=Vygeneruje aplikáciu založenú na QtRuby4 (multiplatformovo kompatibilnú) - vyžaduje QtRuby4 +Comment[sr]=Прави програм на основи QtRuby4 (прекоплатформски компатибилан) — захтева QtRuby4 +Comment[sr@Latn]=Pravi program na osnovi QtRuby4 (prekoplatformski kompatibilan) — zahteva QtRuby4 +Comment[sv]=Skapar ett QtRuby 4-baserat program (fungerar på andra plattformar). Kräver QtRuby 4. +Comment[zh_TW]=產生一個 QtRuby4 為基礎的應用程式(跨平台相容)─需要 QtRuby4 +FileTemplates=rb,ShellStyle +ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.rb,%{dest}/ReadMe +Archive=qtruby4app.tar.gz + +[FILE1] +Type=install +Source=%{src}/qtruby4app.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[FILE2] +Type=install +Source=%{src}/main.rb +Dest=%{dest}/main.rb + +[FILE3] +Type=install +Source=%{src}/qtruby4app.rb +Dest=%{dest}/%{APPNAMELC}.rb + +[FILE4] +Type=install +Source=%{src}/app-Makefile +Dest=%{dest}/Makefile + +[FILE5] +Type=install +Source=%{src}/fileopen.xpm +Dest=%{dest}/fileopen.xpm + +[FILE6] +Type=install +Source=%{src}/filesave.xpm +Dest=%{dest}/filesave.xpm + +[FILE7] +Type=install +Source=%{src}/filenew.xpm +Dest=%{dest}/filenew.xpm + +[FILE8] +Type=install +Source=%{src}/editcopy.xpm +Dest=%{dest}/editcopy.xpm + +[FILE9] +Type=install +Source=%{src}/editpaste.xpm +Dest=%{dest}/editpaste.xpm + +[FILE10] +Type=install +Source=%{src}/editcut.xpm +Dest=%{dest}/editcut.xpm + +[FILE11] +Type=install +Source=%{src}/application.qrc +Dest=%{dest}/application.qrc + +[FILE12] +Type=install +Source=%{src}/ReadMe +Dest=%{dest}/ReadMe + +[FILE13] +Type=install +Source=%{src}/app.filelist +Dest=%{dest}/%{APPNAMELC}.tdevelop.filelist + +[MSG] +Type=message +Comment=A QtRuby4 based application was created in %{dest} +Comment[ca]=Una aplicació basada en QtRuby4 ha estat creada en %{dest} +Comment[da]=Et QtRuby4-baseret program blev oprettet i %{dest} +Comment[de]=Eine auf QtRuby4 basierende Anwendung wurde in %{dest} erstellt. +Comment[el]=Μία εφαρμογή βασισμένη στην QtRuby4 δημιουργήθηκε στο %{dest} +Comment[es]=Una aplicación basada en QtRuby4 ha sido creada en %{dest} +Comment[et]=Rakendus QtRuby4 põhjal loodi asukohta %{dest} +Comment[hu]=Létrejött egy QtRuby4-alapú alkalmazás itt: %{dest} +Comment[it]=È stata creata un'applicazione basata su QtRuby4 in %{dest} +Comment[nds]=In %{dest} wöör en op QtRuby4 opbuut Programm opstellt. +Comment[nl]=Een QtRuby4-gebaseerd programma is aangemaakt in %{dest} +Comment[pl]=Program używający QtRuby4 został utworzony w %{dest} +Comment[pt]=Foi criada uma aplicação baseada em QtRuby4 em %{dest} +Comment[pt_BR]=Foi criada uma aplicação baseada em QtRuby4 em %{dest} +Comment[ru]=Приложение QtRuby4 создано в %{dest} +Comment[sk]=QtRuby4 aplikácia bola vytvorená v %{dest} +Comment[sr]=QtRuby4 програм је направљен у %{dest} +Comment[sr@Latn]=QtRuby4 program je napravljen u %{dest} +Comment[sv]=Ett program baserat på QtRuby 4 skapades i %{dest} +Comment[zh_TW]=一個 QtRuby4 為基礎的應用程式框架已建立於 %{dest} + +Comment= + +[DESIGNER] +Type=value +ValueType=QString +Value=DESIGNER +Comment=Absolute Path for Designer (Qt4). +Comment[ca]=Ruta absoluta per a Designer (Qt4). +Comment[da]=Absolut søgesti til Designer (Qt4). +Comment[de]=Absoluter Pfad für Designer (Qt4). +Comment[el]=Απόλυτη διαδρομή για τον Σχεδιαστή (Qt4). +Comment[es]=Ruta completa para Designer (Qt4). +Comment[et]=Disaineri (Qt4) absoluutne asukoht. +Comment[fr]=Chemin absolu pour Designer (Qt4). +Comment[hu]=A Designer (Qt4) teljes elérési útja +Comment[it]=Percorso assoluto del Designer (Qt4). +Comment[ja]=Designer (Qt4) の絶対パス +Comment[nds]=Afsluut Padd för Designer (Qt4) +Comment[nl]=Absoluut pad naar Designer (Qt4). +Comment[pl]=Ścieżka bezwzględna do Designera (Qt4). +Comment[pt]=Localização Absoluta do Designer (Qt4). +Comment[pt_BR]=Localização Absoluta do Designer (Qt4). +Comment[ru]=Полный путь к Designer (Qt 4). +Comment[sk]=Absolútna cesta ku Designer (Qt4). +Comment[sr]=Апсолутна путања до Designer-а (Qt4). +Comment[sr@Latn]=Apsolutna putanja do Designer-a (Qt4). +Comment[sv]=Absolut sökväg till Designer (Qt4). +Comment[zh_TW]=設計家(Qt4)的絕對路徑 +Default= diff --git a/languages/ruby/app_templates/qtruby4app/qtruby4app.tdevelop b/languages/ruby/app_templates/qtruby4app/qtruby4app.tdevelop index 84a1a8e3..3df7f3ab 100644 --- a/languages/ruby/app_templates/qtruby4app/qtruby4app.tdevelop +++ b/languages/ruby/app_templates/qtruby4app/qtruby4app.tdevelop @@ -4,19 +4,19 @@ %{AUTHOR} %{EMAIL} %{VERSION} - TDevCustomProject + KDevCustomProject Ruby Ruby Qt - + - - + + @@ -27,8 +27,8 @@ false CVS,.svn - - + + bash bash_bugs @@ -63,21 +63,21 @@ KDE Libraries (Doxygen) - + - + - - + + ruby false ./main.rb - + diff --git a/languages/ruby/app_templates/qtruby4app/qtruby4app.tdevtemplate b/languages/ruby/app_templates/qtruby4app/qtruby4app.tdevtemplate deleted file mode 100644 index 70df2248..00000000 --- a/languages/ruby/app_templates/qtruby4app/qtruby4app.tdevtemplate +++ /dev/null @@ -1,166 +0,0 @@ -# KDE Config File -[General] -Name=QtRuby4 Application -Name[ca]=Aplicació en QtRuby4 -Name[da]=QtRuby4-program -Name[de]=QtRuby4-Anwendung -Name[el]=Εφαρμογή QtRuby4 -Name[es]=Aplicación en QtRuby4 -Name[et]=QtRuby4 rakendus -Name[hu]=QtRuby4-alapú alkalmazás -Name[it]=Applicazione QtRuby4 -Name[nds]=QtRuby4-Programm -Name[nl]=QtRuby4-programma -Name[pl]=Program w QtRuby -Name[pt]=Aplicação em QtRuby4 -Name[pt_BR]=Aplicativo QtRuby4 -Name[ru]=Приложение QtRuby4 -Name[sk]=QtRuby4 Aplikácia -Name[sr]=QtRuby4 програм -Name[sr@Latn]=QtRuby4 program -Name[sv]=QtRuby 4-program -Name[zh_TW]=QtRuby4 應用程式 -Icon=qtruby4app.png -Category=Ruby/Qt -Category[fr]=Ruby/Qt -Comment=Generate a QtRuby4 based application (crossplatform compatible) - Needs QtRuby4 -Comment[ca]=Genera una aplicació basada en QtRuby4 (compatible plataforma creuada) - Necessita QtRuby4 -Comment[da]=Genererer et QtRuby4-baseret program (krydsplatformskompatibelt) - kræver QtRuby4 -Comment[de]=Erstellt eine auf QtRuby4 basierende Anwendung (plattformunabhängig). - Benötigt QtRuby4. -Comment[el]=Δημιουργία μιας εφαρμογής βασισμένης στην QtRuby4 (πολλαπλών πλατφόρμων) - Απαιτείται η QtRuby4 -Comment[es]=Genera una aplicación basada en QtRuby4 (con compatibilidad multiplataforma) - Necesita QtRuby4 -Comment[et]=Rakenduse loomine QtRuby4 põhjal (multiplatvormne) - vajalik on QtRuby4 -Comment[hu]=Létrehoz egy QtRuby4-alapú, keresztfordításra is alkalmas alkalmazást - QtRuby4-et igényel -Comment[it]=Genera un'applicazione basata su QtRuby4 (compatibile multipiattaforma) - serve QtRuby4 -Comment[nds]=Stellt en op QRubyt4 opbuut Programm op (över Bedriefümgeven weg kompatibel) - QtRuby4 deit noot -Comment[nl]=Genereer een QtRuby4-gebaseerd programma (crossplatform-compatible) - heeft QtRuby4 nodig -Comment[pl]=Generuje program używający QtRuby4 (wieloplatformowy) - wymaga QtRuby4 -Comment[pt]=Gera uma aplicação baseada no QtRuby4 (compatível com várias plataformas) - Necessita do QtRuby4 -Comment[pt_BR]=Gera uma aplicação baseada no QtRuby4 (compatível com várias plataformas) - Necessita do QtRuby4 -Comment[ru]=Создание кроссплатформенного приложения Qt 4 на Ruby. Требует QtRuby4. -Comment[sk]=Vygeneruje aplikáciu založenú na QtRuby4 (multiplatformovo kompatibilnú) - vyžaduje QtRuby4 -Comment[sr]=Прави програм на основи QtRuby4 (прекоплатформски компатибилан) — захтева QtRuby4 -Comment[sr@Latn]=Pravi program na osnovi QtRuby4 (prekoplatformski kompatibilan) — zahteva QtRuby4 -Comment[sv]=Skapar ett QtRuby 4-baserat program (fungerar på andra plattformar). Kräver QtRuby 4. -Comment[zh_TW]=產生一個 QtRuby4 為基礎的應用程式(跨平台相容)─需要 QtRuby4 -FileTemplates=rb,ShellStyle -ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.rb,%{dest}/ReadMe -Archive=qtruby4app.tar.gz - -[FILE1] -Type=install -Source=%{src}/qtruby4app.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[FILE2] -Type=install -Source=%{src}/main.rb -Dest=%{dest}/main.rb - -[FILE3] -Type=install -Source=%{src}/qtruby4app.rb -Dest=%{dest}/%{APPNAMELC}.rb - -[FILE4] -Type=install -Source=%{src}/app-Makefile -Dest=%{dest}/Makefile - -[FILE5] -Type=install -Source=%{src}/fileopen.xpm -Dest=%{dest}/fileopen.xpm - -[FILE6] -Type=install -Source=%{src}/filesave.xpm -Dest=%{dest}/filesave.xpm - -[FILE7] -Type=install -Source=%{src}/filenew.xpm -Dest=%{dest}/filenew.xpm - -[FILE8] -Type=install -Source=%{src}/editcopy.xpm -Dest=%{dest}/editcopy.xpm - -[FILE9] -Type=install -Source=%{src}/editpaste.xpm -Dest=%{dest}/editpaste.xpm - -[FILE10] -Type=install -Source=%{src}/editcut.xpm -Dest=%{dest}/editcut.xpm - -[FILE11] -Type=install -Source=%{src}/application.qrc -Dest=%{dest}/application.qrc - -[FILE12] -Type=install -Source=%{src}/ReadMe -Dest=%{dest}/ReadMe - -[FILE13] -Type=install -Source=%{src}/app.filelist -Dest=%{dest}/%{APPNAMELC}.tdevelop.filelist - -[MSG] -Type=message -Comment=A QtRuby4 based application was created in %{dest} -Comment[ca]=Una aplicació basada en QtRuby4 ha estat creada en %{dest} -Comment[da]=Et QtRuby4-baseret program blev oprettet i %{dest} -Comment[de]=Eine auf QtRuby4 basierende Anwendung wurde in %{dest} erstellt. -Comment[el]=Μία εφαρμογή βασισμένη στην QtRuby4 δημιουργήθηκε στο %{dest} -Comment[es]=Una aplicación basada en QtRuby4 ha sido creada en %{dest} -Comment[et]=Rakendus QtRuby4 põhjal loodi asukohta %{dest} -Comment[hu]=Létrejött egy QtRuby4-alapú alkalmazás itt: %{dest} -Comment[it]=È stata creata un'applicazione basata su QtRuby4 in %{dest} -Comment[nds]=In %{dest} wöör en op QtRuby4 opbuut Programm opstellt. -Comment[nl]=Een QtRuby4-gebaseerd programma is aangemaakt in %{dest} -Comment[pl]=Program używający QtRuby4 został utworzony w %{dest} -Comment[pt]=Foi criada uma aplicação baseada em QtRuby4 em %{dest} -Comment[pt_BR]=Foi criada uma aplicação baseada em QtRuby4 em %{dest} -Comment[ru]=Приложение QtRuby4 создано в %{dest} -Comment[sk]=QtRuby4 aplikácia bola vytvorená v %{dest} -Comment[sr]=QtRuby4 програм је направљен у %{dest} -Comment[sr@Latn]=QtRuby4 program je napravljen u %{dest} -Comment[sv]=Ett program baserat på QtRuby 4 skapades i %{dest} -Comment[zh_TW]=一個 QtRuby4 為基礎的應用程式框架已建立於 %{dest} - -Comment= - -[DESIGNER] -Type=value -ValueType=QString -Value=DESIGNER -Comment=Absolute Path for Designer (Qt4). -Comment[ca]=Ruta absoluta per a Designer (Qt4). -Comment[da]=Absolut søgesti til Designer (Qt4). -Comment[de]=Absoluter Pfad für Designer (Qt4). -Comment[el]=Απόλυτη διαδρομή για τον Σχεδιαστή (Qt4). -Comment[es]=Ruta completa para Designer (Qt4). -Comment[et]=Disaineri (Qt4) absoluutne asukoht. -Comment[fr]=Chemin absolu pour Designer (Qt4). -Comment[hu]=A Designer (Qt4) teljes elérési útja -Comment[it]=Percorso assoluto del Designer (Qt4). -Comment[ja]=Designer (Qt4) の絶対パス -Comment[nds]=Afsluut Padd för Designer (Qt4) -Comment[nl]=Absoluut pad naar Designer (Qt4). -Comment[pl]=Ścieżka bezwzględna do Designera (Qt4). -Comment[pt]=Localização Absoluta do Designer (Qt4). -Comment[pt_BR]=Localização Absoluta do Designer (Qt4). -Comment[ru]=Полный путь к Designer (Qt 4). -Comment[sk]=Absolútna cesta ku Designer (Qt4). -Comment[sr]=Апсолутна путања до Designer-а (Qt4). -Comment[sr@Latn]=Apsolutna putanja do Designer-a (Qt4). -Comment[sv]=Absolut sökväg till Designer (Qt4). -Comment[zh_TW]=設計家(Qt4)的絕對路徑 -Default= diff --git a/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt b/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt index c0a0429e..37f6e5b1 100644 --- a/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt +++ b/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt @@ -19,9 +19,9 @@ add_custom_target( qtrubyapp.tar.gz ALL install( FILES ${CMAKE_CURRENT_BINARY_DIR}/qtrubyapp.tar.gz qtrubyapp.png - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) install( FILES - qtrubyapp.tdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) + qtrubyapp.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/qtrubyapp/Makefile.am b/languages/ruby/app_templates/qtrubyapp/Makefile.am index 2ea3aa4b..7777b886 100644 --- a/languages/ruby/app_templates/qtrubyapp/Makefile.am +++ b/languages/ruby/app_templates/qtrubyapp/Makefile.am @@ -4,10 +4,10 @@ dataFiles = main.rb qtrubyapp.rb qtrubyapp.png qtrubyapp.tdevelop \ templateName = qtrubyapp ### 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/ruby/app_templates/qtrubyapp/app.filelist b/languages/ruby/app_templates/qtrubyapp/app.filelist index 23f4bc76..339e6998 100644 --- a/languages/ruby/app_templates/qtrubyapp/app.filelist +++ b/languages/ruby/app_templates/qtrubyapp/app.filelist @@ -1,3 +1,3 @@ -# TDevelop Custom Project File List +# KDevelop Custom Project File List main.rb %{APPNAMELC}.rb diff --git a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.kdevtemplate b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.kdevtemplate new file mode 100644 index 00000000..3e2c896a --- /dev/null +++ b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.kdevtemplate @@ -0,0 +1,140 @@ +# KDE Config File +[General] +Name=QtRuby Application +Name[ca]=Aplicació en QtRuby +Name[da]=QtRuby-program +Name[de]=QtRuby-Anwendung +Name[el]=Εφαρμογή QtRuby +Name[es]=Aplicación en QtRuby +Name[et]=QtRuby rakendus +Name[eu]=QtRuby aplikazioa +Name[fa]=کاربرد QtRuby +Name[fr]=Application QtRuby +Name[ga]=Feidhmchlár QtRuby +Name[gl]=Aplicación QtRuby +Name[hu]=QtRuby-alapú alkalmazás +Name[it]=Applicazione QtRuby +Name[ja]=QtRuby アプリケーション +Name[nds]=QtRuby-Programm +Name[ne]=QtRuby अनुप्रयोग +Name[nl]=QtRuby-toepassing +Name[pl]=Program w QtRuby +Name[pt]=Aplicação em QtRuby +Name[pt_BR]=Aplicativo QtRuby +Name[ru]=Приложение QtRuby +Name[sk]=QtRuby Aplikácia +Name[sr]=QtRuby програм +Name[sr@Latn]=QtRuby program +Name[sv]=QtRuby-program +Name[tr]=QtRuby Uygulaması +Name[zh_CN]=QtRuby 应用程序 +Name[zh_TW]=QtRuby 應用程式 +Icon=qtrubyapp.png +Category=Ruby/Qt +Category[fr]=Ruby/Qt +Comment=Generate a QtRuby based application (crossplatform compatible) +Comment[ca]=Genera una aplicació basada en QtRuby (multi plataforma) +Comment[da]=Genererer et QtRuby baseret program (krydsplatform kompatibelt) +Comment[de]=Erstellt eine auf QtRuby basierende Anwendung (plattformunabhängig) +Comment[el]=Δημιουργία μιας εφαρμογής βασισμένης σε QtRuby (συμβατή με πολλαπλές πλατφόρμες) +Comment[es]=Genera una aplicación basada en QtRuby (compatible multiplataforma) +Comment[et]=Rakenduse loomine QtRuby põhjal (mitmeplatvormne) +Comment[eu]=Sortu QtRuby lengoaian oinarritutako aplikazioa (plataforma gurutzatuekin bateragarria) +Comment[fa]=یک کاربرد بر مبنای QtRuby تولید می‌کند )همساز بین سکویی( +Comment[fr]=Génèrer une application basée sur QtRuby (compatible multi-plateforme) +Comment[gl]=Xera unha aplicación baseada en QtRuby (compatibilidade multiplataforma) +Comment[hu]=Létrehoz egy QtRuby-alapú, keresztfordításra is megfelelő alkalmazást +Comment[it]=Genera un'applicazione basata su QtRuby (compatibile multipiattaforma) +Comment[ja]=QtRuby ベースのアプリケーションを作成 (クロスプラットフォーム) +Comment[nds]=Stellt en op QtRuby opbuut Programm op (över Bedriefümgeven weg kompatibel) +Comment[ne]= QtRuby आधारित अनुप्रयोग (क्रसप्लाटफर्म उपयुक्त) उत्पन्न गर्नुहोस् +Comment[nl]=Genereert een QtRuby-toepassing (crossplatform compatible) +Comment[pl]=Generuj program używający QtRuby (wieloplatformowy) +Comment[pt]=Gera uma aplicação baseada em QtRuby (compatível com várias plataformas) +Comment[pt_BR]=Gera um aplicativo baseado no QtRuby (compatível com várias plataformas) +Comment[ru]=Создание кроссплатформенного приложения на QtRuby +Comment[sk]=Vygeneruje QtRuby aplikáciu (multiplatformovo kompatibilnú) +Comment[sr]=Прави програм на основу QtRuby-ја (прекоплатформски компатибилан) +Comment[sr@Latn]=Pravi program na osnovu QtRuby-ja (prekoplatformski kompatibilan) +Comment[sv]=Skapa ett program baserat på QtRuby (fungerar på andra plattformar) +Comment[tr]=QtRuby tabanlı bir uygulama yarat (platformlararası geçimli) +Comment[zh_TW]=產生一個 QtRuby 為基礎的應用程式(跨平台相容) +FileTemplates=rb,ShellStyle +ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.rb,%{dest}/README +Archive=qtrubyapp.tar.gz + +[FILE1] +Type=install +Source=%{src}/qtrubyapp.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[FILE2] +Type=install +Source=%{src}/main.rb +Dest=%{dest}/main.rb + +[FILE3] +Type=install +Source=%{src}/qtrubyapp.rb +Dest=%{dest}/%{APPNAMELC}.rb + +[FILE4] +Type=install +Source=%{src}/fileopen.xpm +Dest=%{dest}/fileopen.xpm + +[FILE5] +Type=install +Source=%{src}/filesave.xpm +Dest=%{dest}/filesave.xpm + +[FILE6] +Type=install +Source=%{src}/fileprint.xpm +Dest=%{dest}/fileprint.xpm + +[FILE7] +Type=install +Source=%{src}/app-Makefile +Dest=%{dest}/Makefile + +[FILE8] +Type=install +Source=%{src}/app.filelist +Dest=%{dest}/%{APPNAMELC}.tdevelop.filelist + +[FILE9] +Type=install +Source=%{src}/README +Dest=%{dest}/README + +[MSG] +Type=message +Comment=A QtRuby based application was created in %{dest} +Comment[ca]=Una aplicació basada en QtRuby ha estat creada en %{dest} +Comment[da]=Et QtRuby baseret program blev oprettet i %{dest} +Comment[de]=Eine auf QtRuby basierende Anwendung wurde in %{dest} erstellt. +Comment[el]=Μια εφαρμογή βασισμένη σε QtRuby δημιουργήθηκε στο %{dest} +Comment[es]=Una aplicación basada en QtRuby ha sido creada en %{dest} +Comment[et]=Rakendus QtRuby põhjal loodi asukohta %{dest} +Comment[eu]=QtRuby lengoaian oinarritutako aplikazioa sortu da hemen: %{dest} +Comment[fa]=یک کاربرد بر مبنای QtRuby در %{dest} ایجاد شد +Comment[fr]=Une application basée sur QtRuby a été créée dans %{dest} +Comment[ga]=Cruthaíodh feidhmchlár bunaithe ar QtRuby i %{dest} +Comment[gl]=Creouse unha aplicación baseada en QtRuby en %{dest} +Comment[hu]=Létrejött egy QtRuby-alapú alkalmazás itt: %{dest} +Comment[it]=È stata creata un'applicazione basata su QtRuby in %{dest} +Comment[ja]=QtRuby ベースのアプリケーションを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en op QtRuby opbuut Programm opstellt. +Comment[ne]=QtRuby आधारित अनुप्रयोग %{dest} मा सिर्जना गरियो +Comment[nl]=Een QtRuby-toepassing is aangemaakt in %{dest} +Comment[pl]=Program używający QtRuby został utworzony w %{dest} +Comment[pt]=Foi criada uma aplicação baseada em QtRuby em %{dest} +Comment[pt_BR]=Foi criada uma aplicação baseada em QtRuby em %{dest} +Comment[ru]=Приложение QtRuby создано в %{dest} +Comment[sk]=QtRuby aplikácia bola vytvorená v %{dest} +Comment[sr]=QtRuby програм је направљен у %{dest} +Comment[sr@Latn]=QtRuby program je napravljen u %{dest} +Comment[sv]=Ett program baserat på QtRuby skapades i %{dest} +Comment[tr]=Bir QtRuby tabanlı uygulama %{dest} içinde yaratıldı. +Comment[zh_TW]=一個 QtRuby 為基礎的應用程式框架已建立於 %{dest} diff --git a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.tdevelop b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.tdevelop index 84a1a8e3..3df7f3ab 100644 --- a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.tdevelop +++ b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.tdevelop @@ -4,19 +4,19 @@ %{AUTHOR} %{EMAIL} %{VERSION} - TDevCustomProject + KDevCustomProject Ruby Ruby Qt - + - - + + @@ -27,8 +27,8 @@ false CVS,.svn - - + + bash bash_bugs @@ -63,21 +63,21 @@ KDE Libraries (Doxygen) - + - + - - + + ruby false ./main.rb - + diff --git a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.tdevtemplate b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.tdevtemplate deleted file mode 100644 index 3e2c896a..00000000 --- a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.tdevtemplate +++ /dev/null @@ -1,140 +0,0 @@ -# KDE Config File -[General] -Name=QtRuby Application -Name[ca]=Aplicació en QtRuby -Name[da]=QtRuby-program -Name[de]=QtRuby-Anwendung -Name[el]=Εφαρμογή QtRuby -Name[es]=Aplicación en QtRuby -Name[et]=QtRuby rakendus -Name[eu]=QtRuby aplikazioa -Name[fa]=کاربرد QtRuby -Name[fr]=Application QtRuby -Name[ga]=Feidhmchlár QtRuby -Name[gl]=Aplicación QtRuby -Name[hu]=QtRuby-alapú alkalmazás -Name[it]=Applicazione QtRuby -Name[ja]=QtRuby アプリケーション -Name[nds]=QtRuby-Programm -Name[ne]=QtRuby अनुप्रयोग -Name[nl]=QtRuby-toepassing -Name[pl]=Program w QtRuby -Name[pt]=Aplicação em QtRuby -Name[pt_BR]=Aplicativo QtRuby -Name[ru]=Приложение QtRuby -Name[sk]=QtRuby Aplikácia -Name[sr]=QtRuby програм -Name[sr@Latn]=QtRuby program -Name[sv]=QtRuby-program -Name[tr]=QtRuby Uygulaması -Name[zh_CN]=QtRuby 应用程序 -Name[zh_TW]=QtRuby 應用程式 -Icon=qtrubyapp.png -Category=Ruby/Qt -Category[fr]=Ruby/Qt -Comment=Generate a QtRuby based application (crossplatform compatible) -Comment[ca]=Genera una aplicació basada en QtRuby (multi plataforma) -Comment[da]=Genererer et QtRuby baseret program (krydsplatform kompatibelt) -Comment[de]=Erstellt eine auf QtRuby basierende Anwendung (plattformunabhängig) -Comment[el]=Δημιουργία μιας εφαρμογής βασισμένης σε QtRuby (συμβατή με πολλαπλές πλατφόρμες) -Comment[es]=Genera una aplicación basada en QtRuby (compatible multiplataforma) -Comment[et]=Rakenduse loomine QtRuby põhjal (mitmeplatvormne) -Comment[eu]=Sortu QtRuby lengoaian oinarritutako aplikazioa (plataforma gurutzatuekin bateragarria) -Comment[fa]=یک کاربرد بر مبنای QtRuby تولید می‌کند )همساز بین سکویی( -Comment[fr]=Génèrer une application basée sur QtRuby (compatible multi-plateforme) -Comment[gl]=Xera unha aplicación baseada en QtRuby (compatibilidade multiplataforma) -Comment[hu]=Létrehoz egy QtRuby-alapú, keresztfordításra is megfelelő alkalmazást -Comment[it]=Genera un'applicazione basata su QtRuby (compatibile multipiattaforma) -Comment[ja]=QtRuby ベースのアプリケーションを作成 (クロスプラットフォーム) -Comment[nds]=Stellt en op QtRuby opbuut Programm op (över Bedriefümgeven weg kompatibel) -Comment[ne]= QtRuby आधारित अनुप्रयोग (क्रसप्लाटफर्म उपयुक्त) उत्पन्न गर्नुहोस् -Comment[nl]=Genereert een QtRuby-toepassing (crossplatform compatible) -Comment[pl]=Generuj program używający QtRuby (wieloplatformowy) -Comment[pt]=Gera uma aplicação baseada em QtRuby (compatível com várias plataformas) -Comment[pt_BR]=Gera um aplicativo baseado no QtRuby (compatível com várias plataformas) -Comment[ru]=Создание кроссплатформенного приложения на QtRuby -Comment[sk]=Vygeneruje QtRuby aplikáciu (multiplatformovo kompatibilnú) -Comment[sr]=Прави програм на основу QtRuby-ја (прекоплатформски компатибилан) -Comment[sr@Latn]=Pravi program na osnovu QtRuby-ja (prekoplatformski kompatibilan) -Comment[sv]=Skapa ett program baserat på QtRuby (fungerar på andra plattformar) -Comment[tr]=QtRuby tabanlı bir uygulama yarat (platformlararası geçimli) -Comment[zh_TW]=產生一個 QtRuby 為基礎的應用程式(跨平台相容) -FileTemplates=rb,ShellStyle -ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.rb,%{dest}/README -Archive=qtrubyapp.tar.gz - -[FILE1] -Type=install -Source=%{src}/qtrubyapp.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[FILE2] -Type=install -Source=%{src}/main.rb -Dest=%{dest}/main.rb - -[FILE3] -Type=install -Source=%{src}/qtrubyapp.rb -Dest=%{dest}/%{APPNAMELC}.rb - -[FILE4] -Type=install -Source=%{src}/fileopen.xpm -Dest=%{dest}/fileopen.xpm - -[FILE5] -Type=install -Source=%{src}/filesave.xpm -Dest=%{dest}/filesave.xpm - -[FILE6] -Type=install -Source=%{src}/fileprint.xpm -Dest=%{dest}/fileprint.xpm - -[FILE7] -Type=install -Source=%{src}/app-Makefile -Dest=%{dest}/Makefile - -[FILE8] -Type=install -Source=%{src}/app.filelist -Dest=%{dest}/%{APPNAMELC}.tdevelop.filelist - -[FILE9] -Type=install -Source=%{src}/README -Dest=%{dest}/README - -[MSG] -Type=message -Comment=A QtRuby based application was created in %{dest} -Comment[ca]=Una aplicació basada en QtRuby ha estat creada en %{dest} -Comment[da]=Et QtRuby baseret program blev oprettet i %{dest} -Comment[de]=Eine auf QtRuby basierende Anwendung wurde in %{dest} erstellt. -Comment[el]=Μια εφαρμογή βασισμένη σε QtRuby δημιουργήθηκε στο %{dest} -Comment[es]=Una aplicación basada en QtRuby ha sido creada en %{dest} -Comment[et]=Rakendus QtRuby põhjal loodi asukohta %{dest} -Comment[eu]=QtRuby lengoaian oinarritutako aplikazioa sortu da hemen: %{dest} -Comment[fa]=یک کاربرد بر مبنای QtRuby در %{dest} ایجاد شد -Comment[fr]=Une application basée sur QtRuby a été créée dans %{dest} -Comment[ga]=Cruthaíodh feidhmchlár bunaithe ar QtRuby i %{dest} -Comment[gl]=Creouse unha aplicación baseada en QtRuby en %{dest} -Comment[hu]=Létrejött egy QtRuby-alapú alkalmazás itt: %{dest} -Comment[it]=È stata creata un'applicazione basata su QtRuby in %{dest} -Comment[ja]=QtRuby ベースのアプリケーションを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en op QtRuby opbuut Programm opstellt. -Comment[ne]=QtRuby आधारित अनुप्रयोग %{dest} मा सिर्जना गरियो -Comment[nl]=Een QtRuby-toepassing is aangemaakt in %{dest} -Comment[pl]=Program używający QtRuby został utworzony w %{dest} -Comment[pt]=Foi criada uma aplicação baseada em QtRuby em %{dest} -Comment[pt_BR]=Foi criada uma aplicação baseada em QtRuby em %{dest} -Comment[ru]=Приложение QtRuby создано в %{dest} -Comment[sk]=QtRuby aplikácia bola vytvorená v %{dest} -Comment[sr]=QtRuby програм је направљен у %{dest} -Comment[sr@Latn]=QtRuby program je napravljen u %{dest} -Comment[sv]=Ett program baserat på QtRuby skapades i %{dest} -Comment[tr]=Bir QtRuby tabanlı uygulama %{dest} içinde yaratıldı. -Comment[zh_TW]=一個 QtRuby 為基礎的應用程式框架已建立於 %{dest} diff --git a/languages/ruby/app_templates/rails/CMakeLists.txt b/languages/ruby/app_templates/rails/CMakeLists.txt index 8d8fb1e2..6f53dd0d 100644 --- a/languages/ruby/app_templates/rails/CMakeLists.txt +++ b/languages/ruby/app_templates/rails/CMakeLists.txt @@ -17,9 +17,9 @@ add_custom_target( rails.tar.gz ALL install( FILES ${CMAKE_CURRENT_BINARY_DIR}/rails.tar.gz rails.png - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) install( FILES - rails.tdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) + rails.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/rails/Makefile.am b/languages/ruby/app_templates/rails/Makefile.am index 915e789c..9d89a708 100644 --- a/languages/ruby/app_templates/rails/Makefile.am +++ b/languages/ruby/app_templates/rails/Makefile.am @@ -2,10 +2,10 @@ dataFiles = app.tdevelop templateName= rails ### 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/ruby/app_templates/rails/app.tdevelop b/languages/ruby/app_templates/rails/app.tdevelop index 272185c7..17a0e6a1 100644 --- a/languages/ruby/app_templates/rails/app.tdevelop +++ b/languages/ruby/app_templates/rails/app.tdevelop @@ -13,16 +13,16 @@ KDevDoxygen KDevdistpart KDevVisualBoyAdvance - TDevDebugger + KDevDebugger - + *.rb,*.rhtml,*.rxml,*.rjs,*.css,*.js,*.html.erb,*.js.rjs,*.xml.builder *~ - - + + @@ -34,8 +34,8 @@ - - + + ada ada_bugs_gcc @@ -82,8 +82,8 @@ KDE Libraries (Doxygen) - - + + @@ -95,13 +95,13 @@ - - + + ruby %{dest}/script/console false script/server - + diff --git a/languages/ruby/app_templates/rails/rails.kdevtemplate b/languages/ruby/app_templates/rails/rails.kdevtemplate new file mode 100644 index 00000000..5ed2d78d --- /dev/null +++ b/languages/ruby/app_templates/rails/rails.kdevtemplate @@ -0,0 +1,72 @@ +# KDE Config File +[General] +Name=Ruby On Rails +Name[de]=Ruby on Rails +Name[ne]=रूबि अन रेल्स +Name[sv]=Ruby on Rails +Icon=rails.png +Category=Ruby +Comment=This generates a Ruby On Rails project +Comment[ca]=Genera un projecte Ruby On Rails +Comment[da]=Dette genererer et Ruby On Rails projekt +Comment[de]=Erstellt ein einfaches Ruby-on-Rails-Projekt +Comment[el]=Δημιουργεί ένα έργο Ruby On Rails +Comment[es]=Genera un proyecto Ruby On Rails +Comment[et]=Lihtsa Ruby On Rails projekti loomine +Comment[eu]=Ruby On Rails proiektu bat sortzen du. +Comment[fa]=یک پروژۀ Ruby On Rails تولید می‌کند +Comment[fr]=Génère un projet Ruby On Rails +Comment[gl]=Isto xera un proxecto de Ruby On Rails +Comment[hu]=Létrehoz egy Ruby On Rails-projektet +Comment[it]=Genera un progetto Ruby On Rails +Comment[ja]=Ruby On Rails プロジェクトを作成します +Comment[nds]=Stellt en eenfach "Ruby-On-Rails"-Projekt op +Comment[ne]=यसले रूबि अन रेल्स परियोजना उत्पन्न गर्दछ +Comment[nl]=Genereert een Ruby On Rails-project. +Comment[pl]=Generuje projekt Ruby On Rails +Comment[pt]=Gera um projecto de Ruby On Rails +Comment[pt_BR]=Gera um projecto de Ruby On Rails +Comment[ru]=Создание проекта на Ruby On Rails +Comment[sk]=Vygeneruje Ruby On Rails projekt +Comment[sr]=Прави једноставан Ruby On Rails пројекат +Comment[sr@Latn]=Pravi jednostavan Ruby On Rails projekat +Comment[sv]=Det här skapar ett Ruby on Rails-projekt +Comment[zh_TW]=產生一個 Ruby On Rails 專案 +FileTemplates=rb,ShellStyle,rhtml,XMLStyle,html.erb,XMLStyle,rxml,XMLStyle,xml.builder,XMLStyle,rjs,ShellStyle,js.rjs,ShellStyle,css,CPPStyle,js,CPPStyle +ShowFilesAfterGeneration=%{dest}/script/server +Archive=rails.tar.gz + +[FILE1] +Type=install +EscapeXML=true +Source=%{src}/app.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[MSG] +Type=message +Comment=A Ruby On Rails project created in %{dest} +Comment[ca]=A simple projecte Ruby On Rails ha estat creat en %{dest} +Comment[da]=Et Ruby On Rails projekt oprettet i %{dest} +Comment[de]=Ein einfaches Ruby-on-Rails-Project wurde in %{dest} erstellt. +Comment[el]=Ένα έργο Ruby On Rails δημιουργήθηκε στο %{dest}. +Comment[es]=Un proyecto de Ruby On Rails ha sido creado en %{dest}. +Comment[et]=Lihtne Ruby On Rails projekt loodi asukohta %{dest}. +Comment[eu]=Ruby On Rails proiektu bat sortu da hemen: %{dest}. +Comment[fa]=یک پروژۀ Ruby On Rails در %{dest} ایجاد شد +Comment[fr]=Un projet Ruby On Rails a été créé dans %{dest} +Comment[gl]=Creouse un proxecto de Ruby On Rails en %{dest} +Comment[hu]=Létrejött egy Ruby On Rails-projekt itt: %{dest} +Comment[it]=È stato creato un progetto Ruby On Rails in %{dest} +Comment[ja]=Ruby On Rails プロジェクトを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en eenfach "Ruby-On-Rails"-Projekt opstellt. +Comment[ne]=रूबि अन रेल्स परियोजना %{dest} मा सिर्जना गरिन्छ +Comment[nl]=Een eenvoudig Ruby On Rails-project is aangemaakt in %{dest}. +Comment[pl]=Projekt Ruby On Rails stworzony w %{dest} +Comment[pt]=Foi criado um projecto de Ruby on Rails em %{dest} +Comment[pt_BR]=Foi criado um projecto de Ruby on Rails em %{dest} +Comment[ru]=Проект на Ruby On Rails создан в %{dest} +Comment[sk]=Ruby On Rails projekt bol vytvorený v %{dest} +Comment[sr]=Ruby On Rails пројекат направљен је у %{dest} +Comment[sr@Latn]=Ruby On Rails projekat napravljen je u %{dest} +Comment[sv]=Ett Ruby on Rails-projekt skapades i %{dest} +Comment[zh_TW]=一個 Ruby On Rails 專案已建立於 %{dest} diff --git a/languages/ruby/app_templates/rails/rails.tdevtemplate b/languages/ruby/app_templates/rails/rails.tdevtemplate deleted file mode 100644 index 5ed2d78d..00000000 --- a/languages/ruby/app_templates/rails/rails.tdevtemplate +++ /dev/null @@ -1,72 +0,0 @@ -# KDE Config File -[General] -Name=Ruby On Rails -Name[de]=Ruby on Rails -Name[ne]=रूबि अन रेल्स -Name[sv]=Ruby on Rails -Icon=rails.png -Category=Ruby -Comment=This generates a Ruby On Rails project -Comment[ca]=Genera un projecte Ruby On Rails -Comment[da]=Dette genererer et Ruby On Rails projekt -Comment[de]=Erstellt ein einfaches Ruby-on-Rails-Projekt -Comment[el]=Δημιουργεί ένα έργο Ruby On Rails -Comment[es]=Genera un proyecto Ruby On Rails -Comment[et]=Lihtsa Ruby On Rails projekti loomine -Comment[eu]=Ruby On Rails proiektu bat sortzen du. -Comment[fa]=یک پروژۀ Ruby On Rails تولید می‌کند -Comment[fr]=Génère un projet Ruby On Rails -Comment[gl]=Isto xera un proxecto de Ruby On Rails -Comment[hu]=Létrehoz egy Ruby On Rails-projektet -Comment[it]=Genera un progetto Ruby On Rails -Comment[ja]=Ruby On Rails プロジェクトを作成します -Comment[nds]=Stellt en eenfach "Ruby-On-Rails"-Projekt op -Comment[ne]=यसले रूबि अन रेल्स परियोजना उत्पन्न गर्दछ -Comment[nl]=Genereert een Ruby On Rails-project. -Comment[pl]=Generuje projekt Ruby On Rails -Comment[pt]=Gera um projecto de Ruby On Rails -Comment[pt_BR]=Gera um projecto de Ruby On Rails -Comment[ru]=Создание проекта на Ruby On Rails -Comment[sk]=Vygeneruje Ruby On Rails projekt -Comment[sr]=Прави једноставан Ruby On Rails пројекат -Comment[sr@Latn]=Pravi jednostavan Ruby On Rails projekat -Comment[sv]=Det här skapar ett Ruby on Rails-projekt -Comment[zh_TW]=產生一個 Ruby On Rails 專案 -FileTemplates=rb,ShellStyle,rhtml,XMLStyle,html.erb,XMLStyle,rxml,XMLStyle,xml.builder,XMLStyle,rjs,ShellStyle,js.rjs,ShellStyle,css,CPPStyle,js,CPPStyle -ShowFilesAfterGeneration=%{dest}/script/server -Archive=rails.tar.gz - -[FILE1] -Type=install -EscapeXML=true -Source=%{src}/app.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[MSG] -Type=message -Comment=A Ruby On Rails project created in %{dest} -Comment[ca]=A simple projecte Ruby On Rails ha estat creat en %{dest} -Comment[da]=Et Ruby On Rails projekt oprettet i %{dest} -Comment[de]=Ein einfaches Ruby-on-Rails-Project wurde in %{dest} erstellt. -Comment[el]=Ένα έργο Ruby On Rails δημιουργήθηκε στο %{dest}. -Comment[es]=Un proyecto de Ruby On Rails ha sido creado en %{dest}. -Comment[et]=Lihtne Ruby On Rails projekt loodi asukohta %{dest}. -Comment[eu]=Ruby On Rails proiektu bat sortu da hemen: %{dest}. -Comment[fa]=یک پروژۀ Ruby On Rails در %{dest} ایجاد شد -Comment[fr]=Un projet Ruby On Rails a été créé dans %{dest} -Comment[gl]=Creouse un proxecto de Ruby On Rails en %{dest} -Comment[hu]=Létrejött egy Ruby On Rails-projekt itt: %{dest} -Comment[it]=È stato creato un progetto Ruby On Rails in %{dest} -Comment[ja]=Ruby On Rails プロジェクトを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en eenfach "Ruby-On-Rails"-Projekt opstellt. -Comment[ne]=रूबि अन रेल्स परियोजना %{dest} मा सिर्जना गरिन्छ -Comment[nl]=Een eenvoudig Ruby On Rails-project is aangemaakt in %{dest}. -Comment[pl]=Projekt Ruby On Rails stworzony w %{dest} -Comment[pt]=Foi criado um projecto de Ruby on Rails em %{dest} -Comment[pt_BR]=Foi criado um projecto de Ruby on Rails em %{dest} -Comment[ru]=Проект на Ruby On Rails создан в %{dest} -Comment[sk]=Ruby On Rails projekt bol vytvorený v %{dest} -Comment[sr]=Ruby On Rails пројекат направљен је у %{dest} -Comment[sr@Latn]=Ruby On Rails projekat napravljen je u %{dest} -Comment[sv]=Ett Ruby on Rails-projekt skapades i %{dest} -Comment[zh_TW]=一個 Ruby On Rails 專案已建立於 %{dest} diff --git a/languages/ruby/app_templates/ruby.appwizard b/languages/ruby/app_templates/ruby.appwizard index b5937b62..726daeed 100644 --- a/languages/ruby/app_templates/ruby.appwizard +++ b/languages/ruby/app_templates/ruby.appwizard @@ -1,2 +1,2 @@ [General] -List=rubyhello,qtruby,qtrubyapp,dcopserviceruby,tdeappruby,kxtruby,rails +List=rubyhello,qtruby,qtrubyapp,dcopserviceruby,kappruby,kxtruby,rails diff --git a/languages/ruby/app_templates/rubyhello/CMakeLists.txt b/languages/ruby/app_templates/rubyhello/CMakeLists.txt index 103d97e9..74da59e4 100644 --- a/languages/ruby/app_templates/rubyhello/CMakeLists.txt +++ b/languages/ruby/app_templates/rubyhello/CMakeLists.txt @@ -17,9 +17,9 @@ add_custom_target( rubyhello.tar.gz ALL install( FILES ${CMAKE_CURRENT_BINARY_DIR}/rubyhello.tar.gz rubyhello.png - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) install( FILES - rubyhello.tdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) + rubyhello.kdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/ruby/app_templates/rubyhello/Makefile.am b/languages/ruby/app_templates/rubyhello/Makefile.am index 9afc2af8..5d20526e 100644 --- a/languages/ruby/app_templates/rubyhello/Makefile.am +++ b/languages/ruby/app_templates/rubyhello/Makefile.am @@ -2,10 +2,10 @@ dataFiles = app.rb app.tdevelop templateName= rubyhello ### 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/ruby/app_templates/rubyhello/app.tdevelop b/languages/ruby/app_templates/rubyhello/app.tdevelop index 2023467f..c938d122 100644 --- a/languages/ruby/app_templates/rubyhello/app.tdevelop +++ b/languages/ruby/app_templates/rubyhello/app.tdevelop @@ -13,21 +13,21 @@ KDevDoxygen KDevdistpart KDevVisualBoyAdvance - TDevDebugger + KDevDebugger - + *.rb *~ - - + + - - + + ada ada_bugs_gcc @@ -74,18 +74,18 @@ KDE Libraries (Doxygen) - - + + - - + + ./%{APPNAMELC}.rb ruby false - + diff --git a/languages/ruby/app_templates/rubyhello/rubyhello.kdevtemplate b/languages/ruby/app_templates/rubyhello/rubyhello.kdevtemplate new file mode 100644 index 00000000..bce79ff9 --- /dev/null +++ b/languages/ruby/app_templates/rubyhello/rubyhello.kdevtemplate @@ -0,0 +1,105 @@ +# KDE Config File +[General] +Name=Simple Ruby script +Name[ca]=Simple script en Ruby +Name[da]=Simpelt Ruby script +Name[de]=Einfaches Ruby-Skript +Name[el]=Απλό σενάριο Ruby +Name[es]=Guión sencillo en Ruby +Name[et]=Lihtne Ruby skript +Name[eu]=Ruby script sinple bat +Name[fa]=دست‌نوشتۀ سادۀ رابی +Name[fr]=Script Ruby simple +Name[ga]=Script shimplí Ruby +Name[gl]=Script sinxelo en Ruby +Name[hu]=Egyszerű Ruby-szkript +Name[it]=Semplice script Ruby +Name[ja]=簡単な Ruby スクリプト +Name[nds]=Eenfach Ruby-Skript +Name[ne]=साधारण रूबि स्क्रिप्ट +Name[nl]=Eenvoudig Ruby-script +Name[pl]=Prosty skrypt w języku Ruby +Name[pt]=Programa simples em Ruby +Name[pt_BR]=Programa simples em Ruby +Name[ru]=Простой скрипт Ruby +Name[sk]=Jednoduchý Ruby skript +Name[sr]=Једноставна Ruby скрипта +Name[sr@Latn]=Jednostavna Ruby skripta +Name[sv]=Enkelt Ruby-skript +Name[tg]=Скрипти Ruby оддӣ +Name[tr]=Basit Ruby Betiği +Name[zh_CN]=简单的 Ruyb 脚本 +Name[zh_TW]=簡單 Ruby 文稿 +Category=Ruby +Comment=This generates a simplistic 'Hello world' program in Ruby +Comment[ca]=Genera un simple programa de 'Hello world' en Ruby +Comment[da]=Dette genererer et simplistisk 'Goddag verden' program i Ruby +Comment[de]=Erstellt ein einfaches "Hello World"'-Programm in Ruby +Comment[el]=Αυτό δημιουργεί ένα απλό πρόγραμμα 'Γεια σου κόσμε' σε Ruby +Comment[es]=Genera un sencillo programa «Hola mundo» en Ruby +Comment[et]=Lihtsa "Tere, maailm" programmi loomine Rubys +Comment[eu]=Honek "Kaixo mundua" programa sinple bat sortzen du Ruby lengoaian +Comment[fa]=یک برنامۀ سادۀ «Hello world» در رابی تولید می‌کند +Comment[fr]=Génère un programme « Bonjour monde » simple en Ruby +Comment[gl]=Isto xera un programa sinxelo 'Ola mundo' en Ruby +Comment[hu]=Létrehoz egy egyszerű 'Hello world' programot Rubyban +Comment[it]=Genera un semplice programma di "Hello world" in Ruby +Comment[ja]=簡単な Hello world プログラムを Ruby で作成します +Comment[nds]=Dit stellt en eenfach "Moin Welt"-Programm in Ruby op. +Comment[ne]=यसले रूबिमा साधारण 'हेल्लो वोल्ड' कार्यक्रम उत्पन्न गर्दछ +Comment[nl]=Dit genereert een eenvoudig Hello World-programma in Ruby +Comment[pl]=Generuje prosty program "Witaj świecie" w języku Ruby +Comment[pt]=Isto gera um programa simples 'Olá mundo' em Ruby +Comment[pt_BR]=Isto gera um programa simples 'Olá mundo' em Ruby +Comment[ru]=Создание простой программы 'Hello world' на Ruby +Comment[sk]=Vygeneruje jednoduchý Ahoj svet program v Ruby +Comment[sr]=Ово прави једноставан „Здраво свете“ у Ruby-ју +Comment[sr@Latn]=Ovo pravi jednostavan „Zdravo svete“ u Ruby-ju +Comment[sv]=Detta skapar ett förenklat 'Hello world'-program i Ruby +Comment[tr]=Bu Ruby'de basit bir "Merhaba Dünya" programı yaratır. +Comment[zh_TW]=產生一個簡單的 Ruby 的 Hello world 程式 +FileTemplates=rb,ShellStyle +ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.rb +Archive=rubyhello.tar.gz + +[FILE1] +Type=install +EscapeXML=true +Source=%{src}/app.tdevelop +Dest=%{dest}/%{APPNAMELC}.tdevelop + +[FILE2] +Type=install +Source=%{src}/app.rb +Dest=%{dest}/%{APPNAMELC}.rb + +[MSG] +Type=message +Comment=A simple ruby script was created in %{dest} +Comment[ca]=Un simple script en Ruby ha estat creat en %{dest} +Comment[da]=Et simpelt ruby script blev oprettet i %{dest} +Comment[de]=Ein einfaches Ruby-Skript wurde in %{dest} erstellt. +Comment[el]=Ένα απλό σενάριο ruby δημιουργήθηκε στο %{dest} +Comment[es]=Un sencillo guión en Ruby ha sido creado en %{dest} +Comment[et]=Lihtne Ruby skript loodi asukohta %{dest} +Comment[eu]=Ruby script sinple bat sortu da hemen: %{dest} +Comment[fa]=یک دست‌نوشتۀ سادۀ رابی در %{dest} ایجاد شد +Comment[fr]=Un script Ruby simple a été créé dans %{dest} +Comment[ga]=Cruthaíodh script shimplí ruby i %{dest} +Comment[gl]=Creouse un scrip sinxelo en ruby en %{dest} +Comment[hu]=Létrejött egy egyszerű Ruby-szkript itt: %{dest} +Comment[it]=È stato creato un semplice script ruby in %{dest} +Comment[ja]=簡単な ruby スクリプトを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en eenfach Ruby-Skript opstellt. +Comment[ne]=साधारण रूबि स्क्रिप्ट %{dest} मा सिर्जना गरियो +Comment[nl]=Een eenvoudig Ruby-script is aangemaakt in %{dest} +Comment[pl]=Prosty skrypt w języku Ruby został utworzony w %{dest} +Comment[pt]=Foi criado um programa simples em Ruby em %{dest} +Comment[pt_BR]=Foi criado um programa simples em Ruby em %{dest} +Comment[ru]=Простой скрипт Ruby создан в %{dest} +Comment[sk]=Jednoduchý Ruby skript bol vytvorený v %{dest} +Comment[sr]=Једноставна ruby скрипта направљена је у %{dest} +Comment[sr@Latn]=Jednostavna ruby skripta napravljena je u %{dest} +Comment[sv]=Ett enkelt Ruby-skript skapades i %{dest} +Comment[tr]=Basit bir Ruby betiği %{dest} içinde yaratıldı. +Comment[zh_TW]=一個簡單的 ruby 文稿已建立於 %{dest} diff --git a/languages/ruby/app_templates/rubyhello/rubyhello.tdevtemplate b/languages/ruby/app_templates/rubyhello/rubyhello.tdevtemplate deleted file mode 100644 index bce79ff9..00000000 --- a/languages/ruby/app_templates/rubyhello/rubyhello.tdevtemplate +++ /dev/null @@ -1,105 +0,0 @@ -# KDE Config File -[General] -Name=Simple Ruby script -Name[ca]=Simple script en Ruby -Name[da]=Simpelt Ruby script -Name[de]=Einfaches Ruby-Skript -Name[el]=Απλό σενάριο Ruby -Name[es]=Guión sencillo en Ruby -Name[et]=Lihtne Ruby skript -Name[eu]=Ruby script sinple bat -Name[fa]=دست‌نوشتۀ سادۀ رابی -Name[fr]=Script Ruby simple -Name[ga]=Script shimplí Ruby -Name[gl]=Script sinxelo en Ruby -Name[hu]=Egyszerű Ruby-szkript -Name[it]=Semplice script Ruby -Name[ja]=簡単な Ruby スクリプト -Name[nds]=Eenfach Ruby-Skript -Name[ne]=साधारण रूबि स्क्रिप्ट -Name[nl]=Eenvoudig Ruby-script -Name[pl]=Prosty skrypt w języku Ruby -Name[pt]=Programa simples em Ruby -Name[pt_BR]=Programa simples em Ruby -Name[ru]=Простой скрипт Ruby -Name[sk]=Jednoduchý Ruby skript -Name[sr]=Једноставна Ruby скрипта -Name[sr@Latn]=Jednostavna Ruby skripta -Name[sv]=Enkelt Ruby-skript -Name[tg]=Скрипти Ruby оддӣ -Name[tr]=Basit Ruby Betiği -Name[zh_CN]=简单的 Ruyb 脚本 -Name[zh_TW]=簡單 Ruby 文稿 -Category=Ruby -Comment=This generates a simplistic 'Hello world' program in Ruby -Comment[ca]=Genera un simple programa de 'Hello world' en Ruby -Comment[da]=Dette genererer et simplistisk 'Goddag verden' program i Ruby -Comment[de]=Erstellt ein einfaches "Hello World"'-Programm in Ruby -Comment[el]=Αυτό δημιουργεί ένα απλό πρόγραμμα 'Γεια σου κόσμε' σε Ruby -Comment[es]=Genera un sencillo programa «Hola mundo» en Ruby -Comment[et]=Lihtsa "Tere, maailm" programmi loomine Rubys -Comment[eu]=Honek "Kaixo mundua" programa sinple bat sortzen du Ruby lengoaian -Comment[fa]=یک برنامۀ سادۀ «Hello world» در رابی تولید می‌کند -Comment[fr]=Génère un programme « Bonjour monde » simple en Ruby -Comment[gl]=Isto xera un programa sinxelo 'Ola mundo' en Ruby -Comment[hu]=Létrehoz egy egyszerű 'Hello world' programot Rubyban -Comment[it]=Genera un semplice programma di "Hello world" in Ruby -Comment[ja]=簡単な Hello world プログラムを Ruby で作成します -Comment[nds]=Dit stellt en eenfach "Moin Welt"-Programm in Ruby op. -Comment[ne]=यसले रूबिमा साधारण 'हेल्लो वोल्ड' कार्यक्रम उत्पन्न गर्दछ -Comment[nl]=Dit genereert een eenvoudig Hello World-programma in Ruby -Comment[pl]=Generuje prosty program "Witaj świecie" w języku Ruby -Comment[pt]=Isto gera um programa simples 'Olá mundo' em Ruby -Comment[pt_BR]=Isto gera um programa simples 'Olá mundo' em Ruby -Comment[ru]=Создание простой программы 'Hello world' на Ruby -Comment[sk]=Vygeneruje jednoduchý Ahoj svet program v Ruby -Comment[sr]=Ово прави једноставан „Здраво свете“ у Ruby-ју -Comment[sr@Latn]=Ovo pravi jednostavan „Zdravo svete“ u Ruby-ju -Comment[sv]=Detta skapar ett förenklat 'Hello world'-program i Ruby -Comment[tr]=Bu Ruby'de basit bir "Merhaba Dünya" programı yaratır. -Comment[zh_TW]=產生一個簡單的 Ruby 的 Hello world 程式 -FileTemplates=rb,ShellStyle -ShowFilesAfterGeneration=%{dest}/%{APPNAMELC}.rb -Archive=rubyhello.tar.gz - -[FILE1] -Type=install -EscapeXML=true -Source=%{src}/app.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[FILE2] -Type=install -Source=%{src}/app.rb -Dest=%{dest}/%{APPNAMELC}.rb - -[MSG] -Type=message -Comment=A simple ruby script was created in %{dest} -Comment[ca]=Un simple script en Ruby ha estat creat en %{dest} -Comment[da]=Et simpelt ruby script blev oprettet i %{dest} -Comment[de]=Ein einfaches Ruby-Skript wurde in %{dest} erstellt. -Comment[el]=Ένα απλό σενάριο ruby δημιουργήθηκε στο %{dest} -Comment[es]=Un sencillo guión en Ruby ha sido creado en %{dest} -Comment[et]=Lihtne Ruby skript loodi asukohta %{dest} -Comment[eu]=Ruby script sinple bat sortu da hemen: %{dest} -Comment[fa]=یک دست‌نوشتۀ سادۀ رابی در %{dest} ایجاد شد -Comment[fr]=Un script Ruby simple a été créé dans %{dest} -Comment[ga]=Cruthaíodh script shimplí ruby i %{dest} -Comment[gl]=Creouse un scrip sinxelo en ruby en %{dest} -Comment[hu]=Létrejött egy egyszerű Ruby-szkript itt: %{dest} -Comment[it]=È stato creato un semplice script ruby in %{dest} -Comment[ja]=簡単な ruby スクリプトを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en eenfach Ruby-Skript opstellt. -Comment[ne]=साधारण रूबि स्क्रिप्ट %{dest} मा सिर्जना गरियो -Comment[nl]=Een eenvoudig Ruby-script is aangemaakt in %{dest} -Comment[pl]=Prosty skrypt w języku Ruby został utworzony w %{dest} -Comment[pt]=Foi criado um programa simples em Ruby em %{dest} -Comment[pt_BR]=Foi criado um programa simples em Ruby em %{dest} -Comment[ru]=Простой скрипт Ruby создан в %{dest} -Comment[sk]=Jednoduchý Ruby skript bol vytvorený v %{dest} -Comment[sr]=Једноставна ruby скрипта направљена је у %{dest} -Comment[sr@Latn]=Jednostavna ruby skripta napravljena je u %{dest} -Comment[sv]=Ett enkelt Ruby-skript skapades i %{dest} -Comment[tr]=Basit bir Ruby betiği %{dest} içinde yaratıldı. -Comment[zh_TW]=一個簡單的 ruby 文稿已建立於 %{dest} diff --git a/languages/ruby/app_templates/tdeapp/CMakeLists.txt b/languages/ruby/app_templates/tdeapp/CMakeLists.txt deleted file mode 100644 index 598ce743..00000000 --- a/languages/ruby/app_templates/tdeapp/CMakeLists.txt +++ /dev/null @@ -1,27 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -add_custom_target( tdeappruby.tar.gz ALL - COMMAND tar zcf tdeappruby.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} - app_client.rb appiface.rb app.rb appview.rb main.rb pref.rb - app.cpp appui.rc app.desktop app.tdevelop app-Makefile.am - app-configure.in.in src-Makefile.am subdirs README -) - - -install( FILES - ${CMAKE_CURRENT_BINARY_DIR}/tdeappruby.tar.gz tdeappruby.png - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) - - -install( FILES - tdeappruby.tdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) diff --git a/languages/ruby/app_templates/tdeapp/Makefile.am b/languages/ruby/app_templates/tdeapp/Makefile.am deleted file mode 100644 index ff783b87..00000000 --- a/languages/ruby/app_templates/tdeapp/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -dataFiles = app_client.rb appiface.rb app.rb appview.rb main.rb pref.rb app.cpp \ - appui.rc app.desktop app.tdevelop app-Makefile.am app-configure.in.in \ - src-Makefile.am subdirs README - -templateName = tdeappruby - -### no need to change below: -template_DATA = $(templateName).tdevtemplate -templatedir = ${appwizarddatadir}/templates - -appwizarddatadir = ${kde_datadir}/tdevappwizard -$(templateName).tar.gz: ${dataFiles} - $(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles} - $(GZIP_COMMAND) -f9 $(templateName).tar - -archivedir = ${appwizarddatadir} -archive_DATA = $(templateName).tar.gz ${templateName}.png - -CLEANFILES = *.tar.gz diff --git a/languages/ruby/app_templates/tdeapp/README b/languages/ruby/app_templates/tdeapp/README deleted file mode 100644 index 39de8b2f..00000000 --- a/languages/ruby/app_templates/tdeapp/README +++ /dev/null @@ -1,81 +0,0 @@ ------------------------------------------------ -Kde application framework template quickstart -Author: Thomas Nagy -Date: 2004-03-22 ------------------------------------------------ - -This README file explains you basic things for starting with -this application template. - - -** Building and installing ** - -* Build the configure script by "make -f Makefile.cvs" - -* To clean, use "make clean", and to clean everything -(remove the makefiles, etc), use "make distclean" - -* To distribute your program, try "make dist". -This will make a compact tarball archive of your release with the -necessary scripts inside. - -* Modifying the auto-tools scripts -for automake scripts there is an excellent tutorial there : -http://developer.kde.org/documentation/other/makefile_am_howto.html - -* Simplify your life : install the project in your home directory for -testing purposes. -./configure --prefix=/home/user/dummyfolder/ -In the end when you finished the development you can -rm -rf /home/user/dummyfolder/ -without fear. - - -** Technologies ** - -* Build the menus of your application easily -kde applications now use an xml file (*ui.rc file) to build the menus. -This allow a great customization of the application. However, when -programming the menu is shown only after a "make install" - -For more details, consult : -http://devel-home.kde.org/~larrosa/tutorial/p9.html -http://developer.kde.org/documentation/tutorials/xmlui/preface.html - -* Use TDEConfig XT to create your configuration dialogs and make -them more maintainable. - -For more details, consult : -http://developer.kde.org/documentation/tutorials/tdeconfigxt/tdeconfigxt.html - -* With KParts, you can embed other kde components in your program, or make your program -embeddable in other apps. For example, the kmplayer kpart can be called to play videos -in your app. - -For more details, consult : -http://www-106.ibm.com/developerworks/library/l-tdeparts/ -http://developer.kde.org/documentation/tutorials/dot/writing-plugins.html -http://developer.kde.org/documentation/tutorials/developing-a-plugin-structure/index.html - -* With dcop, you can control your app from other applications -Make sure to include K_DCOP and a kdcop: section in your .h file -http://developer.kde.org/documentation/tutorials/dot/dcopiface/dcop-interface.html - - -** Documentation ** - -* For the translations : -1. Download a patched gettext which can be found at: - http://public.kde.planetmirror.com/pub/kde/devel/gettext-kde/ -2. Install that gettext in ~/bin/ -3. cd ~/yourproject, export PATH=~/bin:$PATH, export -TDEDIR=/where_your_KDE3_is -4. make -f admin/Makefile.common package-messages -5. make package-messages -6. Translate the po files (not the pot!!) with kbabel or xemacs - -* Do not forget to write the documentation for your kde app -edit the documentation template index.docbook in doc/ - - - diff --git a/languages/ruby/app_templates/tdeapp/app-Makefile.am b/languages/ruby/app_templates/tdeapp/app-Makefile.am deleted file mode 100644 index bfe1c599..00000000 --- a/languages/ruby/app_templates/tdeapp/app-Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = $(TOPSUBDIRS) diff --git a/languages/ruby/app_templates/tdeapp/app-configure.in.in b/languages/ruby/app_templates/tdeapp/app-configure.in.in deleted file mode 100644 index 7d849466..00000000 --- a/languages/ruby/app_templates/tdeapp/app-configure.in.in +++ /dev/null @@ -1,45 +0,0 @@ -#MIN_CONFIG(3.0.0) - -AM_INIT_AUTOMAKE(%{APPNAMELC}, 0.1) -AC_C_BIGENDIAN -AC_CHECK_KDEMAXPATHLEN - -AC_PROG_MAKE_SET - -AC_CHECK_PROG(RUBY, ruby, ruby) - -if test -z "$RUBY"; then - DO_NOT_COMPILE="$DO_NOT_COMPILE qtruby" -else - AC_MSG_CHECKING(for ruby dirs) - RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'` - RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'` - RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'` - RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'` - RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'` - AC_MSG_RESULT([archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR, libdir $RUBY_LIBDIR, librubyarg $RUBY_LIBRUBYARG]) - AC_SUBST(RUBY_ARCHDIR) - AC_SUBST(RUBY_SITEARCHDIR) - AC_SUBST(RUBY_SITEDIR) - AC_SUBST(RUBY_LIBDIR) - AC_SUBST(RUBY_LIBRUBYARG) -fi - -# Korundum check -AC_MSG_CHECKING([whether Korundum is installed]) -korundum_present=no -cat >korundumtest.rb </dev/null 2>&1 && korundum_present=yes -AC_MSG_RESULT([$korundum_present]) - -# rbuic check -AC_PATH_PROG([RBUIC],[rbuic]) -if test -z "${RBUIC}" ; then - AC_MSG_ERROR([cannot find rbuic (part of the QtRuby package)]) -fi -AC_SUBST([RBUIC]) -AC_SUBST([RUBY]) - - diff --git a/languages/ruby/app_templates/tdeapp/app.cpp b/languages/ruby/app_templates/tdeapp/app.cpp deleted file mode 100644 index 04770335..00000000 --- a/languages/ruby/app_templates/tdeapp/app.cpp +++ /dev/null @@ -1,30 +0,0 @@ -#include - -#include -#include -#include -#include - -int main(int argc, char **argv) { - TDEInstance * instance = new TDEInstance("%{APPNAMELC}"); - TQString appdir = ::locate("data", "%{APPNAMELC}/main.rb", instance); - delete instance; - if (appdir.isNull()) { - tqFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); - } - TQFileInfo program(appdir); - - char ** rubyargs = (char **) calloc(argc+4, sizeof(char *)); - rubyargs[0] = strdup(argv[0]); - rubyargs[1] = strdup("-KU"); - rubyargs[2] = strdup(TQString("-C%1").arg(program.dirPath()).latin1()); - rubyargs[3] = strdup(TQString("-I%1").arg(program.dirPath()).latin1()); - rubyargs[4] = strdup(program.fileName().latin1()); - for (int i = 1; i < argc; i++) { - rubyargs[i+4] = argv[i]; - } - - ruby_init(); - ruby_options(argc+4, rubyargs); - ruby_run(); -} diff --git a/languages/ruby/app_templates/tdeapp/app.desktop b/languages/ruby/app_templates/tdeapp/app.desktop deleted file mode 100644 index 4587fd3c..00000000 --- a/languages/ruby/app_templates/tdeapp/app.desktop +++ /dev/null @@ -1,44 +0,0 @@ -[Desktop Entry] -Name=%{APPNAME} -Exec=ruby %{APPNAMELC}/main.rb %i -caption "%c" -Icon=%{APPNAMELC} -Type=Application -DocPath=%{APPNAMELC}/%{APPNAMELC}.html -Comment=A TDE KPart Application -Comment[br]=Ur meziant Kpart evit TDE -Comment[ca]=Una aplicació KPart per al TDE -Comment[cy]=Cymhwysiad KPart TDE -Comment[da]=Et TDE KPart-program -Comment[de]=Eine auf der Komponententechnik KPart basierende TDE-Anwendung -Comment[el]=Μια εφαρμογή KPart του TDE -Comment[es]=Una aplicación KPart de TDE -Comment[et]=TDE KPart rakendus -Comment[eu]=TDE KPart aplikazio bat -Comment[fa]=یک کاربرد TDE KPart -Comment[fr]=Une application KPart pour TDE -Comment[ga]=Feidhmchlár KPart TDE -Comment[gl]=Unha aplicación KPart de TDE -Comment[hi]=एक केडीई के-पार्ट अनुप्रयोग -Comment[hu]=KPart-alapú TDE-alkalmazás -Comment[is]=TDE KPart forrit -Comment[it]=Applicazione KPart di TDE -Comment[ja]=TDE KPart アプリケーション -Comment[lt]=TDE KPart programa -Comment[nds]=En KPart-Deelprogramm för TDE -Comment[ne]=एउटा केडीई KPart अनुप्रयोग -Comment[nl]=Een TDE KPart-toepassing -Comment[pl]=Osadzalny element KPart TDE -Comment[pt]=Uma Aplicação KPart do TDE -Comment[pt_BR]=Um Aplicativo KPart do TDE -Comment[ru]=Приложение KPart для TDE -Comment[sk]=TDE KPart aplikácia -Comment[sl]=Program KPart za TDE -Comment[sr]=TDE KPart програм -Comment[sr@Latn]=TDE KPart program -Comment[sv]=Ett TDE Kpart-program -Comment[ta]=கெடி கெபார்ட் பயன்பாடு -Comment[tg]=Ба кор андохтани KPart барои TDE -Comment[tr]=Bir TDE KPart Uygulaması -Comment[zh_CN]=一个 TDE KPart 应用程序 -Comment[zh_TW]=TDE KPart 應用程式 -Terminal=false diff --git a/languages/ruby/app_templates/tdeapp/app.rb b/languages/ruby/app_templates/tdeapp/app.rb deleted file mode 100644 index 61531be2..00000000 --- a/languages/ruby/app_templates/tdeapp/app.rb +++ /dev/null @@ -1,216 +0,0 @@ -=begin - This class serves as the main window for %{APPNAME}. It handles the - menus, toolbars, and status bars. - - @short Main window class - @author %{AUTHOR} <%{EMAIL}> - @version %{VERSION} -=end - -class %{APPNAMESC} < KDE::MainWindow - - Q_SLOTS 'fileNew()', - 'fileOpen()', - 'fileSave()', - 'fileSaveAs()', - 'filePrint()', - 'optionsPreferences()', - 'changeStatusbar(const QString&)', - 'changeCaption(const QString&)' - - def initialize() - super( nil, "%{APPNAMESC}" ) - @view = %{APPNAMESC}View.new(self) - @printer = nil - # accept dnd - setAcceptDrops(true) - - # tell the KDE::MainWindow that this is indeed the main widget - setCentralWidget(@view) - - # then, setup our actions - setupActions() - - # and a status bar - statusBar().show() - - # Apply the create the main window and ask the mainwindow to - # automatically save settings if changed: window size, toolbar - # position, icon size, etc. Also to add actions for the statusbar - # toolbar, and keybindings if necessary. - setupGUI(); - - # allow the view to change the statusbar and caption - connect(@view, SIGNAL('signalChangeStatusbar(const QString&)'), - self, SLOT('changeStatusbar(const QString&)')) - connect(@view, SIGNAL('signalChangeCaption(const QString&)'), - self, SLOT('changeCaption(const QString&)')) - - end - - - def load(url) - target = "" - # the below code is what you should normally do. in this - # example when, we want the url to our own. you probably - # want to use this code instead for your app - - if false - # download the contents - if TDEIO::NetAccess.download(url, target, self) - # set our caption - setCaption(url.url) - - # load in the file (target is always local) - @view.openURL(KDE::URL.new(target)) - - # and remove the temp file - TDEIO::NetAccess.removeTempFile(target) - end - end - - setCaption(url.prettyURL()) - @view.openURL(url) - end - - def setupActions() - KDE::StdAction.openNew(self, SLOT('fileNew()'), actionCollection()) - KDE::StdAction.open(self, SLOT('fileOpen()'), actionCollection()) - KDE::StdAction.save(self, SLOT('fileSave()'), actionCollection()) - KDE::StdAction.saveAs(self, SLOT('fileSaveAs()'), actionCollection()) - KDE::StdAction.print(self, SLOT('filePrint()'), actionCollection()) - KDE::StdAction.quit($kapp, SLOT('quit()'), actionCollection()) - - KDE::StdAction.preferences(self, SLOT('optionsPreferences()'), actionCollection()) - - # this doesn't do anything useful. it's just here to illustrate - # how to insert a custom menu and menu item - custom = KDE::Action.new(i18n("Cus&tom Menuitem"), KDE::Shortcut.new(), - self, SLOT('optionsPreferences()'), - actionCollection(), "custom_action") - end - - def saveProperties(config) - # the 'config' object points to the session managed - # config file. anything you write here will be available - # later when this app is restored - - if !@view.currentURL().empty? - config.writeEntry("lastURL", @view.currentURL()) - end - end - - def readProperties(config) - # the 'config' object points to the session managed - # config file. This function is automatically called whenever - # the app is being restored. read in here whatever you wrote - # in 'saveProperties' - - url = config.readPathEntry("lastURL") - - if !url.empty? - @view.openURL(KDE::URL.new(url)) - end - end - - def dragEnterEvent(event) - # accept uri drops only - event.accept(KDE::URLDrag.canDecode(event)) - end - - def dropEvent(event) - # This is a very simplistic implementation of a drop event. we - # will only accept a dropped URL. the Qt dnd code can do *much* - # much more, so please read the docs there - urls = [] - - # see if we can decode a URI.. if not, just ignore it - if KDE::URLDrag.decode(event, urls) && !urls.empty? - # okay, we have a URI.. process it - url = urls.shift - - # load in the file - load(url) - end - end - - def fileNew() - # This slot is called whenever the File.New menu is selected, - # the New shortcut is pressed (usually CTRL+N) or the New toolbar - # button is clicked - - # create a new window - %{APPNAMESC}.new.show() - end - - def fileOpen() - # This slot is called whenever the File.Open menu is selected, - # the Open shortcut is pressed (usually CTRL+O) or the Open toolbar - # button is clicked - - # This brings up the generic open dialog - url = KDE::URLRequesterDlg.getURL(nil, self, i18n("Open Location") ) - - # standard filedialog - url = KDE::FileDialog.getOpenURL(nil, nil, self, i18n("Open Location")) - if !url.empty? - @view.openURL(url) - end - end - - def fileSave() - # This slot is called whenever the File.Save menu is selected, - # the Save shortcut is pressed (usually CTRL+S) or the Save toolbar - # button is clicked - - # save the current file - end - - def fileSaveAs() - # This slot is called whenever the File.Save As menu is selected, - file_url = KDE::FileDialog.getSaveURL() - if !file_url.empty? && file_url.valid? - # save your info, here - end - end - - def filePrint() - # This slot is called whenever the File.Print menu is selected, - # the Print shortcut is pressed (usually CTRL+P) or the Print toolbar - # button is clicked - if @printer.nil? then @printer = KDE::Printer.new end - if @printer.setup(self) - # setup the printer. with Qt, you always "print" to a - # Qt::Painter.. whether the output medium is a pixmap, a screen, - # or paper - p = Qt::Painter.new - p.begin(@printer) - - # we let our view do the actual printing - metrics = Qt::PaintDeviceMetrics.new(@printer) - @view.print(p, metrics.height(), metrics.width()) - - # and send the result to the printer - p.end() - end - end - - def optionsPreferences() - # popup some sort of preference dialog, here - dlg = %{APPNAMESC}Preferences.new - if dlg.exec() - # redo your settings - end - end - - def changeStatusbar(text) - # display the text on the statusbar - statusBar().message(text) - end - - def changeCaption(text) - # display the text on the caption - setCaption(text) - end - -end diff --git a/languages/ruby/app_templates/tdeapp/app.tdevelop b/languages/ruby/app_templates/tdeapp/app.tdevelop deleted file mode 100644 index d416fcdb..00000000 --- a/languages/ruby/app_templates/tdeapp/app.tdevelop +++ /dev/null @@ -1,90 +0,0 @@ - - - - %{AUTHOR} - %{EMAIL} - %{VERSION} - KDevAutoProject - Ruby - - Ruby - Qt - KDE - - - KDevDoxygen - KDevdistpart - KDevVisualBoyAdvance - TDevDebugger - - - - - - - - src/%{APPNAMELC} - - - - - false - CVS,.svn - - - - - - - - - ada - ada_bugs_gcc - bash - bash_bugs - c++_bugs_gcc - clanlib - w3c-dom-level2-html - fortran_bugs_gcc - gnome1 - gnustep - gtk - gtk_bugs - haskell - haskell_bugs_ghc - java_bugs_gcc - java_bugs_sun - kde2book - libc - libstdc++ - opengl - pascal_bugs_fp - php - php_bugs - perl - perl_bugs - python - python_bugs - sdl - stl - w3c-svg - sw - w3c-uaag10 - wxwindows_bugs - - - - - - - - - - - ruby - false - 3 - src/main.rb - - - diff --git a/languages/ruby/app_templates/tdeapp/app_client.rb b/languages/ruby/app_templates/tdeapp/app_client.rb deleted file mode 100644 index b08e9b21..00000000 --- a/languages/ruby/app_templates/tdeapp/app_client.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'Korundum' -include KDE - -about = AboutData.new("%{APPNAMELC}_client", "%{APPNAME} client", "0.1") -CmdLineArgs.init(ARGV, about) - -app = Application.new - -# get our DCOP client and attach so that we may use it -client = app.dcopClient -client.attach - -# do a 'send' for now -dcopRef = DCOPRef.new("%{APPNAMELC}", "%{APPNAMESC}Iface") -dcopRef.openURL("http://www.kde.org") - -app.exec - diff --git a/languages/ruby/app_templates/tdeapp/appiface.rb b/languages/ruby/app_templates/tdeapp/appiface.rb deleted file mode 100644 index a8be16b5..00000000 --- a/languages/ruby/app_templates/tdeapp/appiface.rb +++ /dev/null @@ -1,14 +0,0 @@ -class %{APPNAMESC}Iface < KDE::DCOPObject - - k_dcop 'void openURL(QString)' - - def initialize(app) - super("%{APPNAMESC}Iface") - @app = app - end - - def openURL(url) - @app.openURL(url) - end -end - diff --git a/languages/ruby/app_templates/tdeapp/appui.rc b/languages/ruby/app_templates/tdeapp/appui.rc deleted file mode 100644 index ceb4f14e..00000000 --- a/languages/ruby/app_templates/tdeapp/appui.rc +++ /dev/null @@ -1,8 +0,0 @@ - - - - C&ustom - - - - diff --git a/languages/ruby/app_templates/tdeapp/appview.rb b/languages/ruby/app_templates/tdeapp/appview.rb deleted file mode 100644 index e7aabe3c..00000000 --- a/languages/ruby/app_templates/tdeapp/appview.rb +++ /dev/null @@ -1,103 +0,0 @@ - -=begin - This is the main view class for %{APPNAME}. Most of the non-menu, - non-toolbar, and non-statusbar (e.g., non frame) GUI code should go - here. - - This %{APPNAMELC} uses an HTML component as an example. - - @short Main view - @author %{AUTHOR} <%{EMAIL}> - @version %{VERSION} -=end -class %{APPNAMESC}View < Qt::Widget - - # - # Use this signal to change the content of the statusbar - # - Q_SIGNALS 'signalChangeStatusbar(const QString&)' - - # - # Use this signal to change the content of the caption - # - Q_SIGNALS 'signalChangeCaption(const QString&)' - - Q_SLOTS 'slotOnURL(const QString&)', - 'slotSetTitle(const QString&)' - - def initialize(parent) - super(parent) - - # keep a reference to the DCOP Interface so it doesn't get gc'd - @dcop = %{APPNAMESC}Iface.new(self) - - # setup our layout manager to automatically add our widgets - top_layout = Qt::HBoxLayout.new(self) - top_layout.setAutoAdd(true) - - # we want to look for all components that satisfy our needs. the - # trader will actually search through *all* registered KDE - # applications and components -- not just KParts. So we have to - # specify two things: a service type and a constraint - # - # the service type is like a mime type. we say that we want all - # applications and components that can handle HTML -- 'text/html' - # - # however, by itself, this will return such things as Netscape.. - # not what we wanted. so we constrain it by saying that the - # string 'KParts/ReadOnlyPart' must be found in the ServiceTypes - # field. with this, only components of the type we want will be - # returned. - offers = KDE::Trader.self().query("text/html", "'KParts/ReadOnlyPart' in ServiceTypes") - - factory = nil - # in theory, we only care about the first one.. but let's try all - # offers just in when the first can't be loaded for some reason - offers.each do |ptr| - # we now know that our offer can handle HTML and is a part. - # since it is a part, it must also have a library... let's try to - # load that now - factory = KDE::LibLoader.self().factory( ptr.library() ) - if ! factory.nil? - @html = factory.create(self, ptr.name(), "KParts::ReadOnlyPart") - break - end - end - - # if our factory is invalid, then we never found our component - # and we might as well just exit now - if factory.nil? - KDE::MessageBox.error(self, i18n("Could not find a suitable HTML component")) - return - end - - connect(@html, SIGNAL('setWindowCaption(const QString&)'), - self, SLOT('slotSetTitle(const QString&)')) - connect(@html, SIGNAL('setStatusBarText(const QString&)'), - self, SLOT('slotOnURL(const QString&)')) - - end - - - def print(p, height, width) - # do the actual printing, here - # p.drawText(etc..) - end - - def currentURL() - return @html.url().url() - end - - def openURL(url) - @html.openURL(KDE::URL.new(url)) - end - - def slotOnURL(url) - emit signalChangeStatusbar(url) - end - - def slotSetTitle(title) - emit signalChangeCaption(title) - end - -end diff --git a/languages/ruby/app_templates/tdeapp/main.rb b/languages/ruby/app_templates/tdeapp/main.rb deleted file mode 100644 index 47235013..00000000 --- a/languages/ruby/app_templates/tdeapp/main.rb +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env ruby - -require 'Korundum' - -require '%{APPNAMELC}iface.rb' -require '%{APPNAMELC}.rb' -require '%{APPNAMELC}view.rb' -require 'pref.rb' - -description = I18N_NOOP("A TDE Application") -version = "%{VERSION}" -options = [ [ "+[URL]", I18N_NOOP( "Document to open" ), "" ] ] - -about = KDE::AboutData.new("%{APPNAMELC}", I18N_NOOP("%{APPNAME}"), version, description, - KDE::AboutData.License_%{LICENSE}, "(C) %{YEAR} %{AUTHOR}", nil, nil, "%{EMAIL}") -about.addAuthor( "%{AUTHOR}", nil, "%{EMAIL}" ) -KDE::CmdLineArgs.init(ARGV, about) -KDE::CmdLineArgs.addCmdLineOptions(options) -app = KDE::Application.new - -# see if we are starting with session management -if app.restored? - RESTORE(%{APPNAMESC}) -else - # no session.. just start up normally - args = KDE::CmdLineArgs.parsedArgs - if args.count == 0 - widget = %{APPNAMESC}.new - widget.show - else - for i in 0...args.count do - widget = %{APPNAMESC}.new - widget.show - widget.load(args.url(i)) - end - end -end - -app.exec - diff --git a/languages/ruby/app_templates/tdeapp/pref.rb b/languages/ruby/app_templates/tdeapp/pref.rb deleted file mode 100644 index 98669ad2..00000000 --- a/languages/ruby/app_templates/tdeapp/pref.rb +++ /dev/null @@ -1,38 +0,0 @@ - -class %{APPNAMESC}Preferences < KDE::DialogBase - - def initialize() - super(TreeList, i18n("%{APPNAMESC} Preferences"), - Help|Default|Ok|Apply|Cancel, Ok) - # this is the base class for your preferences dialog. it is now - # a Treelist dialog.. but there are a number of other - # possibilities (including Tab, Swallow, and just Plain) - frame = addPage(i18n("First Page"), i18n("Page One Options")) - @pageOne = %{APPNAMESC}PrefPageOne.new(frame) - - frame = addPage(i18n("Second Page"), i18n("Page Two Options")) - @pageTwo = %{APPNAMESC}PrefPageTwo.new(frame) - end -end - -class %{APPNAMESC}PrefPageOne < Qt::Frame - - def initialize(parent) - super(parent) - layout = Qt::HBoxLayout.new(self) - layout.setAutoAdd(true) - - Qt::Label.new(i18n("Add something here"), self) - end -end - -class %{APPNAMESC}PrefPageTwo < Qt::Frame - - def initialize(parent) - super(parent) - layout = Qt::HBoxLayout.new(self) - layout.setAutoAdd(true) - - Qt::Label.new(i18n("Add something here"), self) - end -end diff --git a/languages/ruby/app_templates/tdeapp/src-Makefile.am b/languages/ruby/app_templates/tdeapp/src-Makefile.am deleted file mode 100644 index acb41899..00000000 --- a/languages/ruby/app_templates/tdeapp/src-Makefile.am +++ /dev/null @@ -1,43 +0,0 @@ -## Makefile.am for %{APPNAMELC} - -# this is the program that gets installed. it's name is used for all -# of the other Makefile.am variables -bin_PROGRAMS = %{APPNAMELC} - -# set the include path for X, qt and KDE -INCLUDES = $(all_includes) -I$(RUBY_ARCHDIR) - -# the library search path. -%{APPNAMELC}_LDFLAGS = $(all_libraries) $(KDE_RPATH) -L$(RUBY_LIBDIR) - -# the libraries to link against. -%{APPNAMELC}_LDADD = $(LIB_TDEFILE) $(LIB_TDEPRINT) $(RUBY_LIBRUBYARG) - -# which sources should be compiled for %{APPNAMELC} -%{APPNAMELC}_SOURCES = %{APPNAMELC}.cpp - -# let automoc handle all of the meta source files ((moc)) -METASOURCES = AUTO - -KDE_ICON = AUTO - -# this is where the kdelnk file will go -kdelnkdir = $(kde_appsdir)/Utilities -kdelnk_DATA = %{APPNAMELC}.desktop - -# this is where the XML-GUI resource file goes -rcdir = $(kde_datadir)/%{APPNAMELC} -rc_DATA = %{APPNAMELC}ui.rc - -rubysrc_DATA = main.rb %{APPNAMELC}.rb %{APPNAMELC}_client.rb %{APPNAMELC}iface.rb \ - %{APPNAMELC}view.rb pref.rb - -rubysrcdir = $(kde_datadir)/%{APPNAMELC} - -rubyui_DATA = - -rubyuidir = $(kde_datadir)/%{APPNAMELC} - -%.rb: %.ui - $(RBUIC) -tr ${UIC_TR} -kde $< -o $@ - diff --git a/languages/ruby/app_templates/tdeapp/subdirs b/languages/ruby/app_templates/tdeapp/subdirs deleted file mode 100644 index 0e678106..00000000 --- a/languages/ruby/app_templates/tdeapp/subdirs +++ /dev/null @@ -1,3 +0,0 @@ -doc -po -src diff --git a/languages/ruby/app_templates/tdeapp/tdeappruby.png b/languages/ruby/app_templates/tdeapp/tdeappruby.png deleted file mode 100644 index 913ebb87..00000000 Binary files a/languages/ruby/app_templates/tdeapp/tdeappruby.png and /dev/null differ diff --git a/languages/ruby/app_templates/tdeapp/tdeappruby.tdevtemplate b/languages/ruby/app_templates/tdeapp/tdeappruby.tdevtemplate deleted file mode 100644 index 8a4c0320..00000000 --- a/languages/ruby/app_templates/tdeapp/tdeappruby.tdevtemplate +++ /dev/null @@ -1,238 +0,0 @@ -# KDE Config File -[General] -Name=Application framework -Name[ca]=Infraestructura d'aplicacions -Name[da]=Programskelet -Name[de]=Anwendungsgrundgerüst -Name[el]=Πλαίσιο εφαρμογής -Name[es]=Infraestructura de aplicación -Name[et]=Rakenduse raamistik -Name[eu]=Aplikazioen lan-markoa -Name[fa]=چارچوب کاربرد -Name[fr]=Infrastructure d'application -Name[ga]=Creatlach feidhmchláir -Name[gl]=Entorno de traballo para aplicación -Name[hu]=Alkalmazás-keretrendszer -Name[it]=Infrastruttura applicativa -Name[ja]=アプリケーションフレームワーク -Name[nds]=Programmrahmenwark -Name[ne]=अनुप्रयोग फ्रेमवर्क -Name[nl]=Applicationframework -Name[pl]=Szablon programu -Name[pt]=Plataforma de aplicações -Name[pt_BR]=Plataforma de aplicações -Name[ru]=Приложение KDE -Name[sk]=Aplikačný framework -Name[sl]=Ogrodje programa -Name[sr]=Радни оквир програма -Name[sr@Latn]=Radni okvir programa -Name[sv]=Programramverk -Name[tr]=Uygulama Çatısı -Name[zh_CN]=应用程序框架 -Name[zh_TW]=應用程式框架 -Icon=tdeapp.png -Category=Ruby/KDE -Comment=Generates a simple Korundum application with one toplevel window, menus and toolbars. A DCOP interface is also provided, so that your application can provide a scripting interface -Comment[ca]=Genera una simple aplicació Korundum amb una finestra principal, menús i barres d'eines. També es proveeix la interfície DCOP, de manera que la vostra aplicació podrà proveir d'una interfície per a scripts -Comment[da]=Generere et simpelt Korundum program med et vindue på topniveau, menuer og værktøjslinjer. Der sørges også for en DCOP-grænseflade, så dit program kan give en script-grænseflade -Comment[de]=Erstellt eine einfache Korundum-Anwendung mit einem Toplevel-Fenster, Menüs und Werkzeugleisten. Dazu kommt eine DCOP-Schnittstelle, so dass Ihre Anwendung eine Schnittstelle für Skripte anbieten kann. -Comment[el]=Δημιουργεί μια απλή εφαρμογή Korundum με ένα ανώτερο παράθυρο, μενού και γραμμές εργαλείων. Προσφέρεται επίσης μια διασύνδεση DCOP, έτσι ώστε η εφαρμογή σας να προσφέρει ένα περιβάλλον γραφής σεναρίων -Comment[es]=Genera una sencilla aplicación Korundum con una ventana principal, menús y barras de herramientas. También se proporciona una interfaz DCOP para que su aplicación pueda proporcionar una interfaz para guiones de órdenes. -Comment[et]=Lihtsa Korundumi rakenduse loomine ühe tipptaseme akna, menüüde ja tööriistaribadega. Lisatakse ka DCOP-liides, mis võimaldab rakendusel pakkuda skriptikeelte toetust -Comment[eu]=Goi-mailako lehio bat, menuak eta tresna-barrak dituen Korundum aplikazio sinple bat sortzen du . DCOP interfazea ere sortzen du, eta beraz, zure aplikazioak script-interfaze bat eskainiko du -Comment[fa]=یک کاربرد سادۀ Korundum با یک پنجرۀ سطح بالا، گزینگان و میله ابزارها تولید می‌کند. همچنین یک واسط DCOP فراهم است. بنابراین، کاربرد شما یک واسط دست‌نوشته‌ای را می‌تواند فراهم کند -Comment[fr]=Génère une application Korundum simple comprenant une fenêtre de premier niveau, des menus et des barres d'outils. Une interface DCOP est également fournie, afin que votre application puisse offrir une interface de scriptage -Comment[gl]=Xera unha aplicación sinxela Korundum cunha fiestra, menús e barras de ferramentas. Proporciónase tamén unha interface DCOP de modo que a súa aplicación poida ofrecer unha interface de scripting. -Comment[hu]=Létrehoz egy egyszerű Korundum-alkalmazást egy főablakkal, menükkel és eszköztárakkal. DCOP-felület is tartozik az alkalmazáshoz, így könnyen kialakítható hozzá szkriptelési felület. -Comment[it]=Genera una semplice applicazione Korundum con una finestra toplevel, menu e barre degli strumenti. È anche fornita un'interfaccia DCOP, così che l'applicazione può fornire una interfaccia di scripting -Comment[nds]=Stellt en eenfach Korundum-Programm mit een böverst Finster, Menüs un Warktüüchbalkens op. Ok warrt noch en DCOP-Koppelsteed praatstellt, so dat Dien Programm en Skriptkoppelsteed anbeden kann. -Comment[ne]=एउटा उच्च तह सञ्झ्याल, मेनु र उपकरणपट्टीसँग साधारण Korundum अनुप्रयोग उत्पन्न गर्दछ । DCOP इन्टरफेस पनि प्रदान गरिन्छ, जसले गर्दा तपाईँको अनुप्रयोगले स्क्रिप्टिङ इन्टरफेस प्रदान गर्न सक्छ । -Comment[nl]=Dit genereert een eenvoudige Korundum-toepassing met één toplevel window, menu's en toolbars. Een DCOP-interface wordt ook aangeleverd, zodat uw toepassing een scripting interface kan aanleveren. -Comment[pl]=Generuje prosty program Korundum z jednym oknem, menu i paskami narzędzi. Dostępny jest także interfejs DCOP, więc Twój program może umożliwiać korzystanie ze skryptów -Comment[pt]=Gera uma aplicação Korundum simples com uma janela de topo, menus e barras de ferramentas. Também é fornecida uma interface de DCOP, para que a sua aplicação possa oferecer uma interface de programação -Comment[pt_BR]=Gera uma aplicação Korundum simples com uma janela de topo, menus e barras de ferramentas. Também é fornecida uma interface de DCOP, para que a sua aplicação possa oferecer uma interface de programação -Comment[ru]=Создание простого приложения Korundum с окном, меню, панелями инструментов и сервисом DCOP -Comment[sk]=Vygeneruje jednoduchú Korundum aplikáciu s jedným oknom, menu a panelom nástrojov. Taktiež bude poskytnuté DCOP rozhranie, takže aj aplikáciamôže poskytnúť skriptovacie rozhranie -Comment[sr]=Прави једноставан Korundum програм са једним прозором највишег нивоа, менијима и тракама са алатом. Дат је и DCOP интерфејс, тако да ваш програм може да омогући скриптовање -Comment[sr@Latn]=Pravi jednostavan Korundum program sa jednim prozorom najvišeg nivoa, menijima i trakama sa alatom. Dat je i DCOP interfejs, tako da vaš program može da omogući skriptovanje -Comment[sv]=Skapar ett enkelt Korundum-program med ett toppnivåfönster, menyer och verktygsrader. Ett DCOP-gränssnitt tillhandahålls också, så att programmet kan tillhandahålla ett skriptgränssnitt. -Comment[tr]=Bir üst seviye penceresi, menüleri ve araç çubukları olan basit bir Korundum uygulaması yaratır. Uygulamanızın bir betik arayüzü sağlayabilmesi için bir DCOP arayüzü de sağlanmıştır. -Comment[zh_TW]=產生一個簡單的 Korundum 應用程式,內含頂層視窗、選單與工具列。另外提供一個 DCOP 介面,讓您的應用程式可以使用文稿介面。 -FileTemplates=rb,ShellStyle -ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.rb -Archive=tdeappruby.tar.gz - -[ADMIN] -Type=include -File=%{tdevelop}/template-common/admin.tdevtemplate - -[GNU] -Type=include -File=%{tdevelop}/template-common/gnu.tdevtemplate - -[MKDIR_DOCBOOK1] -Type=mkdir -Dir=%{dest}/doc - -[MKDIR_DOCBOOK2] -Type=mkdir -Dir=%{dest}/doc/en - -[FILE1] -Type=install -Source=%{tdevelop}/template-common/kde-doc-Makefile.am -Dest=%{dest}/doc/Makefile.am - -[FILE2] -Type=install -Source=%{tdevelop}/template-common/kde-doc-en-Makefile.am -Dest=%{dest}/doc/en/Makefile.am - -[FILE3] -Type=install -EscapeXML=true -Source=%{tdevelop}/template-common/tde-index.docbook -Dest=%{dest}/doc/en/index.docbook - -[FILE4] -Type=install -EscapeXML=true -Source=%{src}/app.tdevelop -Dest=%{dest}/%{APPNAMELC}.tdevelop - -[FILE5] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.am -Dest=%{dest}/Makefile.am - -[FILE6] -Type=install -Source=%{tdevelop}/template-common/kde-Makefile.cvs -Dest=%{dest}/Makefile.cvs - -[FILE7] -Type=install -Source=%{src}/app-configure.in.in -Dest=%{dest}/configure.in.in - -[MkDir3] -Type=mkdir -Dir=%{dest}/src - -[FILE8] -Type=install -Source=%{tdevelop}/template-common/tde-app.desktop -Dest=%{dest}/src/%{APPNAMELC}.desktop - -[FILE9] -Type=install -Source=%{tdevelop}/template-common/kde-app.lsm -Dest=%{dest}/src/%{APPNAMELC}.lsm - -[FILE10] -Type=install -Source=%{tdevelop}/template-common/hi16-app-app.png -Dest=%{dest}/src/hi16-app-%{APPNAMELC}.png -Process=false - -[FILE11] -Type=install -Source=%{tdevelop}/template-common/hi32-app-app.png -Dest=%{dest}/src/hi32-app-%{APPNAMELC}.png -Process=false - -[MkDir4] -Type=mkdir -Dir=%{dest}/po - -[FILE12] -Type=install -Source=%{tdevelop}/template-common/kde-po-Makefile.am -Dest=%{dest}/po/Makefile.am - -[FILE13] -Type=install -Source=%{src}/subdirs -Dest=%{dest}/subdirs - -[FILE14] -Type=install -Source=%{src}/src-Makefile.am -Dest=%{dest}/src/Makefile.am - -[FILE15] -Type=install -Source=%{src}/app.cpp -Dest=%{dest}/src/%{APPNAMELC}.cpp - -[FILE16] -Type=install -Source=%{src}/app.rb -Dest=%{dest}/src/%{APPNAMELC}.rb - -[FILE17] -Type=install -Source=%{src}/appview.rb -Dest=%{dest}/src/%{APPNAMELC}view.rb - -[FILE18] -Type=install -Source=%{src}/appiface.rb -Dest=%{dest}/src/%{APPNAMELC}iface.rb - -[FILE19] -Type=install -Source=%{src}/app_client.rb -Dest=%{dest}/src/%{APPNAMELC}_client.rb - -[FILE20] -Type=install -Source=%{src}/pref.rb -Dest=%{dest}/src/pref.rb - -[FILE21] -Type=install -Source=%{src}/main.rb -Dest=%{dest}/src/main.rb - -[FILE22] -Type=install -EscapeXML=true -Source=%{src}/appui.rc -Dest=%{dest}/src/%{APPNAMELC}ui.rc - -[FILE23] -Type=install -Source=%{src}/README -Dest=%{dest}/src/README - -[MSG] -Type=message -Comment=A Korundum Application was created at %{dest} -Comment[ca]=Una aplicació Korundum ha estat creada a %{dest} -Comment[da]=Et Korundum program blev oprettet i %{dest} -Comment[de]=Eine Korundum-Anwendung wurde in %{dest} erstellt. -Comment[el]=Μια εφαρμογή Korundum δημιουργήθηκε στο %{dest} -Comment[es]=Una aplicación Korundum ha sido creada en %{dest} -Comment[et]=Korundumi rakendus loodi asukohta %{dest} -Comment[eu]=Korundum aplikazio bat sortu da hemen: %{dest} -Comment[fa]=یک کاربرد Korundum در %{dest} ایجاد شد -Comment[fr]=Une application Korundum a été créée dans %{dest} -Comment[ga]=Cruthaíodh Feidhmchlár Korundum ag %{dest} -Comment[gl]=Creouse unha aplicación Korundum en %{dest} -Comment[hu]=Létrejött egy Korundum-alapú alkalmazás itt: %{dest} -Comment[it]=È stata creata un'applicazione Korundum in %{dest} -Comment[ja]=Korundum アプリケーションを %{dest} に作成しました -Comment[nds]=In %{dest} wöör en Korundum-Programm opstellt. -Comment[ne]=Korundum अनुप्रयोग %{dest} मा सिर्जना गरियो -Comment[nl]=Een Korundum-toepassing is aangemaakt in %{dest} -Comment[pl]=Program Korundum został utworzony w %{dest} -Comment[pt]=Foi criada uma aplicação Korundum em %{dest} -Comment[pt_BR]=Foi criada uma aplicação Korundum em %{dest} -Comment[ru]=Приложение Korundum создано в %{dest} -Comment[sk]=Korundum aplikácia bola vytvorená v %{dest} -Comment[sr]=Korundum програм је направљен у %{dest} -Comment[sr@Latn]=Korundum program je napravljen u %{dest} -Comment[sv]=Ett Korundum-program skapades i %{dest} -Comment[tr]=Bir Korundum Uygulaması %{dest} içinde yaratıldı. -Comment[zh_TW]=一個 Korundum 應用程式已建立於 %{dest} diff --git a/languages/ruby/debugger/CMakeLists.txt b/languages/ruby/debugger/CMakeLists.txt index 7fb74000..8290afd7 100644 --- a/languages/ruby/debugger/CMakeLists.txt +++ b/languages/ruby/debugger/CMakeLists.txt @@ -29,20 +29,20 @@ link_directories( ##### other data ################################ tde_install_icons( ) -install( FILES tdevrbdebugger.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES debuggee.rb DESTINATION ${DATA_INSTALL_DIR}/tdevrbdebugger ) -install( FILES tdevrbdebugger.rc DESTINATION ${DATA_INSTALL_DIR}/tdevrbdebugger ) +install( FILES kdevrbdebugger.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES debuggee.rb DESTINATION ${DATA_INSTALL_DIR}/kdevrbdebugger ) +install( FILES kdevrbdebugger.rc DESTINATION ${DATA_INSTALL_DIR}/kdevrbdebugger ) -##### libtdevrbdebugger (module) ################ +##### libkdevrbdebugger (module) ################ -tde_add_kpart( libtdevrbdebugger AUTOMOC +tde_add_kpart( libkdevrbdebugger AUTOMOC SOURCES debuggerpart.cpp dbgcontroller.cpp rdbcontroller.cpp dbgcommand.cpp rdbcommand.cpp rdbparser.cpp stty.cpp breakpoint.cpp variablewidget.cpp rdbbreakpointwidget.cpp framestackwidget.cpp dbgpsdlg.cpp dbgtoolbar.cpp rdboutputwidget.cpp rdbtable.cpp - LINK lang_debugger-shared tdevwidgets-shared tdevelop-shared + LINK lang_debugger-shared kdevwidgets-shared tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/languages/ruby/debugger/Makefile.am b/languages/ruby/debugger/Makefile.am index 0bbe445b..88e03f03 100644 --- a/languages/ruby/debugger/Makefile.am +++ b/languages/ruby/debugger/Makefile.am @@ -4,22 +4,22 @@ INCLUDES = -I$(top_srcdir)/languages/lib/debugger \ -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util \ -I$(top_srcdir)/lib/widgets $(all_includes) -kde_module_LTLIBRARIES = libtdevrbdebugger.la -libtdevrbdebugger_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libtdevrbdebugger_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libtdevwidgets.la $(LIB_TDEHTML) \ +kde_module_LTLIBRARIES = libkdevrbdebugger.la +libkdevrbdebugger_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libkdevrbdebugger_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libkdevwidgets.la $(LIB_TDEHTML) \ $(top_builddir)/languages/lib/debugger/liblang_debugger.la -libtdevrbdebugger_la_SOURCES = debuggerpart.cpp dbgcontroller.cpp rdbcontroller.cpp dbgcommand.cpp rdbcommand.cpp rdbparser.cpp stty.cpp breakpoint.cpp variablewidget.cpp rdbbreakpointwidget.cpp framestackwidget.cpp dbgpsdlg.cpp dbgtoolbar.cpp rdboutputwidget.cpp rdbtable.cpp +libkdevrbdebugger_la_SOURCES = debuggerpart.cpp dbgcontroller.cpp rdbcontroller.cpp dbgcommand.cpp rdbcommand.cpp rdbparser.cpp stty.cpp breakpoint.cpp variablewidget.cpp rdbbreakpointwidget.cpp framestackwidget.cpp dbgpsdlg.cpp dbgtoolbar.cpp rdboutputwidget.cpp rdbtable.cpp METASOURCES = AUTO KDE_ICON = AUTO rubysrc_DATA = debuggee.rb -rubysrcdir = $(kde_datadir)/tdevrbdebugger +rubysrcdir = $(kde_datadir)/kdevrbdebugger servicedir = $(kde_servicesdir) -service_DATA = tdevrbdebugger.desktop +service_DATA = kdevrbdebugger.desktop -rcdir = $(kde_datadir)/tdevrbdebugger -rc_DATA = tdevrbdebugger.rc +rcdir = $(kde_datadir)/kdevrbdebugger +rc_DATA = kdevrbdebugger.rc noinst_HEADERS = rdbtable.h diff --git a/languages/ruby/debugger/debuggerpart.cpp b/languages/ruby/debugger/debuggerpart.cpp index 9d0c9767..35e6a2d2 100644 --- a/languages/ruby/debugger/debuggerpart.cpp +++ b/languages/ruby/debugger/debuggerpart.cpp @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -40,12 +40,12 @@ #include #include -#include "tdevcore.h" -#include "tdevproject.h" -#include "tdevmainwindow.h" -#include "tdevappfrontend.h" -#include "tdevpartcontroller.h" -#include "tdevdebugger.h" +#include "kdevcore.h" +#include "kdevproject.h" +#include "kdevmainwindow.h" +#include "kdevappfrontend.h" +#include "kdevpartcontroller.h" +#include "kdevdebugger.h" #include "domutil.h" #include "variablewidget.h" #include "rdbbreakpointwidget.h" @@ -61,25 +61,25 @@ #include -#include +#include #include namespace RDBDebugger { -static const TDevPluginInfo data("tdevrbdebugger"); +static const KDevPluginInfo data("kdevrbdebugger"); -typedef TDevGenericFactory RubyDebuggerFactory; -K_EXPORT_COMPONENT_FACTORY( libtdevrbdebugger, RubyDebuggerFactory( data ) ) +typedef KDevGenericFactory RubyDebuggerFactory; +K_EXPORT_COMPONENT_FACTORY( libkdevrbdebugger, RubyDebuggerFactory( data ) ) RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQStringList & ) : - TDevPlugin( &data, parent, name ? name : "RubyDebuggerPart" ), + KDevPlugin( &data, parent, name ? name : "RubyDebuggerPart" ), controller(0) { // setObjId("RubyDebuggerInterface"); setInstance(RubyDebuggerFactory::instance()); - setXMLFile("tdevrbdebugger.rc"); + setXMLFile("kdevrbdebugger.rc"); m_debugger = new Debugger( partController() ); @@ -245,8 +245,8 @@ RubyDebuggerPart::RubyDebuggerPart( TQObject *parent, const char *name, const TQ connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) ); - connect( core(), TQT_SIGNAL(stopButtonClicked(TDevPlugin*)), - this, TQT_SLOT(slotStop(TDevPlugin*)) ); + connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)), + this, TQT_SLOT(slotStop(KDevPlugin*)) ); connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()) ); @@ -616,7 +616,7 @@ void RubyDebuggerPart::slotRun() -void RubyDebuggerPart::slotStop(TDevPlugin* which) +void RubyDebuggerPart::slotStop(KDevPlugin* which) { if( which != 0 && which != this ) return; @@ -772,12 +772,12 @@ void RubyDebuggerPart::savePartialProjectSession(TQDomElement* el) } -TDevAppFrontend * RDBDebugger::RubyDebuggerPart::appFrontend( ) +KDevAppFrontend * RDBDebugger::RubyDebuggerPart::appFrontend( ) { - return extension("TDevelop/AppFrontend"); + return extension("TDevelop/AppFrontend"); } -TDevDebugger * RDBDebugger::RubyDebuggerPart::debugger() +KDevDebugger * RDBDebugger::RubyDebuggerPart::debugger() { return m_debugger; } diff --git a/languages/ruby/debugger/debuggerpart.h b/languages/ruby/debugger/debuggerpart.h index 9b554a8f..498a159e 100644 --- a/languages/ruby/debugger/debuggerpart.h +++ b/languages/ruby/debugger/debuggerpart.h @@ -21,8 +21,8 @@ #define _DEBUGGERPART_H_ #include -#include "tdevplugin.h" -#include "tdevcore.h" +#include "kdevplugin.h" +#include "kdevcore.h" namespace KParts { class Part; } @@ -31,8 +31,8 @@ class TQPopupMenu; class KDialogBase; class ProcessWidget; class ProcessLineMaker; -class TDevAppFrontend; -class TDevDebugger; +class KDevAppFrontend; +class KDevDebugger; namespace RDBDebugger { @@ -45,7 +45,7 @@ class DbgToolBar; class VariableWidget; class RDBOutputWidget; -class RubyDebuggerPart : public TDevPlugin +class RubyDebuggerPart : public KDevPlugin { Q_OBJECT @@ -68,7 +68,7 @@ private slots: void slotRun(); void slotStopDebugger(); - void slotStop(TDevPlugin* which = 0); + void slotStop(KDevPlugin* which = 0); void slotPause(); void slotRunToCursor(); void slotStepOver(); @@ -84,8 +84,8 @@ signals: void rubyInspect(const TQString&); private: - TDevAppFrontend *appFrontend(); - TDevDebugger *debugger(); + KDevAppFrontend *appFrontend(); + KDevDebugger *debugger(); bool startDebugger(); void setupController(); @@ -103,7 +103,7 @@ private: TQString m_contextIdent; TQCString m_drkonqi; - TDevDebugger *m_debugger; + KDevDebugger *m_debugger; }; } diff --git a/languages/ruby/debugger/kdevrbdebugger.desktop b/languages/ruby/debugger/kdevrbdebugger.desktop new file mode 100644 index 00000000..714b51a3 --- /dev/null +++ b/languages/ruby/debugger/kdevrbdebugger.desktop @@ -0,0 +1,73 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=This plugin provides a frontend for the source-level debugger for Ruby. +Comment[ca]=Aquest connector proveeix una interfície per a la depuració a nivell de codi per a Ruby. +Comment[da]=Dette plugin sørger for en grænseflade til Ruby kildekode-fejlretteren. +Comment[de]=Dieses Modul stellt eine Oberfläche für den Quelltext-Debugger für Ruby bereit. +Comment[el]=Αυτό το πρόσθετο προσφέρει ένα πρόγραμμα για τον αποσφαλματωτή πηγαίου κώδικα της γλώσσας Ruby. +Comment[es]=Este complemento proporciona un entorno para depurar código de Ruby. +Comment[et]=See plugin pakub Ruby lähtekoodi siluri kasutajaliidest. +Comment[eu]=Plugin honek Ruby-ren iturburu-mailako araztailearen interfaze bat bat eskeintzen du. +Comment[fa]=این وصله، یک پایانه برای اشکال‌زدای سطح منبع رابی فراهم می‌کند. +Comment[fr]=Ce module externe fournit une interface pour le débogueur au niveau source pour Ruby. +Comment[gl]=Esta extensión proporciona un frontal para o depurador a nivel de código de Ruby. +Comment[hu]=Ez a bővítőmodul grafikus felületet biztosít a Ruby forrásszintű nyomkövetőjének használatához. +Comment[it]=Questo plugin fornisce un'interfaccia per il debugger a livello sorgente di Ruby. +Comment[ja]=このプラグインは、Ruby のソースレベルデバッガのフロントエンドを提供します。 +Comment[nds]=Dit Moduul stellt en Böversiet för den Ruby-Borntextfehlersöker praat. +Comment[ne]=यो प्लगइनले रूबिका लागि स्रोत-तह डिबगरका लागि फ्रेन्टइन्ड प्रदान गर्दछ । +Comment[nl]=Deze plugin biedt een grafische schil voor de broncode-debugger voor Ruby. +Comment[pl]=Ta wtyczka udostępnia interfejs do debugera poziomu źródłowego dla języka Ruby. +Comment[pt]=Este 'plugin' oferece uma interface o depurador ao nível do código para Ruby. +Comment[pt_BR]=Este plug-in fornece uma interface para o depurador a nível de código para Ruby. +Comment[ru]=Этот модуль предоставляет интерфейс к отладчику исходного кода для Ruby. +Comment[sk]=Modul pre rozhranie debugera pre Ruby. +Comment[sr]=Овај прикључак обезбеђује интерфејс за исправљач на нивоу изворног кода за Ruby. +Comment[sr@Latn]=Ovaj priključak obezbeđuje interfejs za ispravljač na nivou izvornog koda za Ruby. +Comment[sv]=Insticksprogrammet tillhandahåller ett gränssnitt till källkodsavlusaren för Ruby. +Comment[tr]=Bu eklenti, Ruby için kaynak-düzeyi hata ayıklayıcıya bir önuç sağlar. +Comment[zh_CN]=此插件提供了一个 Ruby 的源代码级调试器的前端。 +Comment[zh_TW]=此外掛程式提供 Ruby 除錯器的前端介面。 +Name=KDevRbDebugger +Name[da]=TDevelop Ruby fejlretter +Name[nds]=Ruby-Fehlersöök för TDevelop +Name[pl]=KDevDebugerRb +Name[sk]=KDev Ruby debuger +Name[sv]=TDevelop Ruby-avlusare +Name[zh_TW]=TDevelop Ruby 除錯器 +GenericName=Ruby Debugger Frontend +GenericName[ca]=Interfície per al depurador Ruby +GenericName[da]=Ruby fejlretningsgrænseflade +GenericName[de]=Debugger-Oberfläche für Ruby +GenericName[el]=Πρόγραμμα αποσφαλματωτή Ruby +GenericName[es]=Interfaz para el depurador de Ruby +GenericName[et]=Ruby siluri kasutajaliides +GenericName[eu]=Ruby araztailearen interfazea +GenericName[fa]=پایانۀ اشکال‌زدای رابی +GenericName[fr]=Interface du débogueur pour Ruby +GenericName[gl]=Frontal do depurador Ruby +GenericName[hu]=Grafikus felület a Ruby nyomkövetőjéhez +GenericName[it]=Interfaccia di debug per Ruby +GenericName[ja]=Ruby デバッガフロントエンド +GenericName[nds]=Böversiet för den Ruby-Fehlersöker +GenericName[ne]=रूबि डिबगर फ्रेन्टइन्ड +GenericName[nl]=Grafische schil voor de Ruby-debugger +GenericName[pl]=Interfejs do debugera dla języka Ruby +GenericName[pt]=Interface de Depuração Ruby +GenericName[pt_BR]=Interface para o Depurador Ruby +GenericName[ru]=Интегрированный отладчик Ruby +GenericName[sk]=Ruby debuger rozhranie +GenericName[sr]=Интерфејс исправљача за Ruby +GenericName[sr@Latn]=Interfejs ispravljača za Ruby +GenericName[sv]=Gränssnitt för Ruby-avlusare +GenericName[tr]=Ruby Hata Ayıklayıcı Önucu +GenericName[zh_CN]=Ruby 调试器前端 +GenericName[zh_TW]=Ruby 除錯器前端介面 +Icon= +ServiceTypes=TDevelop/Plugin +X-TDE-Library=libkdevrbdebugger +X-TDevelop-Version=5 +X-TDevelop-Scope=Project +X-TDevelop-ProgrammingLanguages=Ruby +X-TDevelop-Properties=RubyDebugger diff --git a/languages/ruby/debugger/kdevrbdebugger.rc b/languages/ruby/debugger/kdevrbdebugger.rc new file mode 100644 index 00000000..c7e3b336 --- /dev/null +++ b/languages/ruby/debugger/kdevrbdebugger.rc @@ -0,0 +1,68 @@ + + + + + &Debug + + + + + + + + + + + + + + + + Debugger Toolbar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/languages/ruby/debugger/tdevrbdebugger.desktop b/languages/ruby/debugger/tdevrbdebugger.desktop deleted file mode 100644 index 8b333642..00000000 --- a/languages/ruby/debugger/tdevrbdebugger.desktop +++ /dev/null @@ -1,73 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=This plugin provides a frontend for the source-level debugger for Ruby. -Comment[ca]=Aquest connector proveeix una interfície per a la depuració a nivell de codi per a Ruby. -Comment[da]=Dette plugin sørger for en grænseflade til Ruby kildekode-fejlretteren. -Comment[de]=Dieses Modul stellt eine Oberfläche für den Quelltext-Debugger für Ruby bereit. -Comment[el]=Αυτό το πρόσθετο προσφέρει ένα πρόγραμμα για τον αποσφαλματωτή πηγαίου κώδικα της γλώσσας Ruby. -Comment[es]=Este complemento proporciona un entorno para depurar código de Ruby. -Comment[et]=See plugin pakub Ruby lähtekoodi siluri kasutajaliidest. -Comment[eu]=Plugin honek Ruby-ren iturburu-mailako araztailearen interfaze bat bat eskeintzen du. -Comment[fa]=این وصله، یک پایانه برای اشکال‌زدای سطح منبع رابی فراهم می‌کند. -Comment[fr]=Ce module externe fournit une interface pour le débogueur au niveau source pour Ruby. -Comment[gl]=Esta extensión proporciona un frontal para o depurador a nivel de código de Ruby. -Comment[hu]=Ez a bővítőmodul grafikus felületet biztosít a Ruby forrásszintű nyomkövetőjének használatához. -Comment[it]=Questo plugin fornisce un'interfaccia per il debugger a livello sorgente di Ruby. -Comment[ja]=このプラグインは、Ruby のソースレベルデバッガのフロントエンドを提供します。 -Comment[nds]=Dit Moduul stellt en Böversiet för den Ruby-Borntextfehlersöker praat. -Comment[ne]=यो प्लगइनले रूबिका लागि स्रोत-तह डिबगरका लागि फ्रेन्टइन्ड प्रदान गर्दछ । -Comment[nl]=Deze plugin biedt een grafische schil voor de broncode-debugger voor Ruby. -Comment[pl]=Ta wtyczka udostępnia interfejs do debugera poziomu źródłowego dla języka Ruby. -Comment[pt]=Este 'plugin' oferece uma interface o depurador ao nível do código para Ruby. -Comment[pt_BR]=Este plug-in fornece uma interface para o depurador a nível de código para Ruby. -Comment[ru]=Этот модуль предоставляет интерфейс к отладчику исходного кода для Ruby. -Comment[sk]=Modul pre rozhranie debugera pre Ruby. -Comment[sr]=Овај прикључак обезбеђује интерфејс за исправљач на нивоу изворног кода за Ruby. -Comment[sr@Latn]=Ovaj priključak obezbeđuje interfejs za ispravljač na nivou izvornog koda za Ruby. -Comment[sv]=Insticksprogrammet tillhandahåller ett gränssnitt till källkodsavlusaren för Ruby. -Comment[tr]=Bu eklenti, Ruby için kaynak-düzeyi hata ayıklayıcıya bir önuç sağlar. -Comment[zh_CN]=此插件提供了一个 Ruby 的源代码级调试器的前端。 -Comment[zh_TW]=此外掛程式提供 Ruby 除錯器的前端介面。 -Name=KDevRbDebugger -Name[da]=TDevelop Ruby fejlretter -Name[nds]=Ruby-Fehlersöök för TDevelop -Name[pl]=KDevDebugerRb -Name[sk]=KDev Ruby debuger -Name[sv]=TDevelop Ruby-avlusare -Name[zh_TW]=TDevelop Ruby 除錯器 -GenericName=Ruby Debugger Frontend -GenericName[ca]=Interfície per al depurador Ruby -GenericName[da]=Ruby fejlretningsgrænseflade -GenericName[de]=Debugger-Oberfläche für Ruby -GenericName[el]=Πρόγραμμα αποσφαλματωτή Ruby -GenericName[es]=Interfaz para el depurador de Ruby -GenericName[et]=Ruby siluri kasutajaliides -GenericName[eu]=Ruby araztailearen interfazea -GenericName[fa]=پایانۀ اشکال‌زدای رابی -GenericName[fr]=Interface du débogueur pour Ruby -GenericName[gl]=Frontal do depurador Ruby -GenericName[hu]=Grafikus felület a Ruby nyomkövetőjéhez -GenericName[it]=Interfaccia di debug per Ruby -GenericName[ja]=Ruby デバッガフロントエンド -GenericName[nds]=Böversiet för den Ruby-Fehlersöker -GenericName[ne]=रूबि डिबगर फ्रेन्टइन्ड -GenericName[nl]=Grafische schil voor de Ruby-debugger -GenericName[pl]=Interfejs do debugera dla języka Ruby -GenericName[pt]=Interface de Depuração Ruby -GenericName[pt_BR]=Interface para o Depurador Ruby -GenericName[ru]=Интегрированный отладчик Ruby -GenericName[sk]=Ruby debuger rozhranie -GenericName[sr]=Интерфејс исправљача за Ruby -GenericName[sr@Latn]=Interfejs ispravljača za Ruby -GenericName[sv]=Gränssnitt för Ruby-avlusare -GenericName[tr]=Ruby Hata Ayıklayıcı Önucu -GenericName[zh_CN]=Ruby 调试器前端 -GenericName[zh_TW]=Ruby 除錯器前端介面 -Icon= -ServiceTypes=TDevelop/Plugin -X-TDE-Library=libtdevrbdebugger -X-TDevelop-Version=5 -X-TDevelop-Scope=Project -X-TDevelop-ProgrammingLanguages=Ruby -X-TDevelop-Properties=RubyDebugger diff --git a/languages/ruby/debugger/tdevrbdebugger.rc b/languages/ruby/debugger/tdevrbdebugger.rc deleted file mode 100644 index c7e3b336..00000000 --- a/languages/ruby/debugger/tdevrbdebugger.rc +++ /dev/null @@ -1,68 +0,0 @@ - - - - - &Debug - - - - - - - - - - - - - - - - Debugger Toolbar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/languages/ruby/doc/CMakeLists.txt b/languages/ruby/doc/CMakeLists.txt index 127248cd..781fa2ba 100644 --- a/languages/ruby/doc/CMakeLists.txt +++ b/languages/ruby/doc/CMakeLists.txt @@ -11,4 +11,4 @@ install( FILES ruby.toc ruby_bugs.toc qtruby.toc rails.toc - DESTINATION ${DATA_INSTALL_DIR}/tdevdocumentation/tocs ) + DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) diff --git a/languages/ruby/doc/Makefile.am b/languages/ruby/doc/Makefile.am index 38fd2b45..245b8fe5 100644 --- a/languages/ruby/doc/Makefile.am +++ b/languages/ruby/doc/Makefile.am @@ -1,4 +1,4 @@ -tocdir = ${kde_datadir}/tdevdocumentation/tocs +tocdir = ${kde_datadir}/kdevdocumentation/tocs toc_DATA = ruby.toc ruby_bugs.toc qtruby.toc rails.toc #indexdir = ${kde_datadir}/devdoctreeview/indices diff --git a/languages/ruby/file_templates/CMakeLists.txt b/languages/ruby/file_templates/CMakeLists.txt index ef75c4e1..617e829c 100644 --- a/languages/ruby/file_templates/CMakeLists.txt +++ b/languages/ruby/file_templates/CMakeLists.txt @@ -11,4 +11,4 @@ install( FILES rb rhtml rxml rjs js css html.erb xml.builder js.rjs - DESTINATION ${DATA_INSTALL_DIR}/tdevfilecreate/file-templates ) + DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) diff --git a/languages/ruby/file_templates/Makefile.am b/languages/ruby/file_templates/Makefile.am index 591930a0..7b449085 100644 --- a/languages/ruby/file_templates/Makefile.am +++ b/languages/ruby/file_templates/Makefile.am @@ -1,4 +1,4 @@ -templatedir = $(kde_datadir)/tdevfilecreate/file-templates +templatedir = $(kde_datadir)/kdevfilecreate/file-templates template_DATA = rb rhtml rxml rjs js css html.erb xml.builder js.rjs diff --git a/languages/ruby/kdevrubysupport.desktop b/languages/ruby/kdevrubysupport.desktop new file mode 100644 index 00000000..9b5c6771 --- /dev/null +++ b/languages/ruby/kdevrubysupport.desktop @@ -0,0 +1,84 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=Ruby Support +Comment[ca]=Suport per a Ruby +Comment[da]=Ruby-understøttelse +Comment[de]=Ruby-Unterstützung für TDevelop +Comment[el]=Υποστήριξη Ruby +Comment[es]=Soporte para Ruby +Comment[et]=Ruby toetus +Comment[eu]=Ruby euskarria +Comment[fa]=پشتیبانی رابی +Comment[fr]=Prise en charge du langage Ruby +Comment[ga]=Tacaíocht Ruby +Comment[gl]=Soporte para Ruby +Comment[hi]=रूबी समर्थन +Comment[hu]=Ruby-támogatás +Comment[is]=Ruby stuðningur +Comment[it]=Supporto per Ruby +Comment[ja]=Ruby サポート +Comment[nds]=Ünnerstütten för Ruby +Comment[ne]=रूबि समर्थन +Comment[nl]=Ondersteuning voor Ruby +Comment[pl]=Obsługa: Ruby +Comment[pt]=Suporte a Ruby +Comment[pt_BR]=Suporte ao Ruby +Comment[ru]=Поддержка языка Ruby +Comment[sk]=Ruby podpora +Comment[sl]=Podpora za Ruby +Comment[sr]=Подршка за Ruby +Comment[sr@Latn]=Podrška za Ruby +Comment[sv]=Ruby-stöd +Comment[ta]=ருபி ஆதரவு +Comment[tg]=Ёрӣ намудани забони Ruby +Comment[tr]=Ruby Desteği +Comment[zh_CN]=Ruby 支持 +Comment[zh_TW]=Ruby 支援 +Name=KDevRubySupport +Name[da]=TDevelop Ruby-understøttelse +Name[de]=Unterstützung für Ruby (TDevelop) +Name[hi]=के-डेव-रूबी-समर्थन +Name[nds]=Ünnerstütten för Ruby (TDevelop) +Name[pl]=KDevObsługaRuby +Name[sk]=KDev Ruby podpora +Name[sv]=TDevelop Ruby-stöd +Name[ta]=கெடெவ் ருபி ஆதரவு +Name[zh_TW]=TDevelop Ruby 支援 +GenericName=Ruby Support +GenericName[ca]=Suport per a Ruby +GenericName[da]=Ruby-understøttelse +GenericName[de]=Unterstützung für Ruby +GenericName[el]=Υποστήριξη Ruby +GenericName[es]=Soporte para Ruby +GenericName[et]=Ruby toetus +GenericName[eu]=Ruby euskarria +GenericName[fa]=پشتیبانی رابی +GenericName[fr]=Prise en charge du langage Ruby +GenericName[ga]=Tacaíocht Ruby +GenericName[gl]=Soporte para Ruby +GenericName[hi]=रूबी समर्थन +GenericName[hu]=Ruby-támogatás +GenericName[it]=Supporto a Ruby +GenericName[ja]=Ruby サポート +GenericName[nds]=Ünnerstütten för Ruby +GenericName[ne]=रूबि समर्थन +GenericName[nl]=Ondersteuning voor Ruby +GenericName[pl]=Obsługa: Ruby +GenericName[pt]=Suporte a Ruby +GenericName[pt_BR]=Suporte ao Ruby +GenericName[ru]=Поддержка языка Ruby +GenericName[sk]=Ruby podpora +GenericName[sl]=Podpora za Ruby +GenericName[sr]=Подршка за Ruby +GenericName[sr@Latn]=Podrška za Ruby +GenericName[sv]=Ruby-stöd +GenericName[ta]=ருபி ஆதரவு +GenericName[tg]=Ёрӣ намудани забони Ruby +GenericName[tr]=Ruby Desteği +GenericName[zh_CN]=Ruby 支持 +GenericName[zh_TW]=Ruby 支援 +ServiceTypes=TDevelop/LanguageSupport +X-TDE-Library=libkdevrubysupport +X-TDevelop-Version=5 +X-TDevelop-Language=Ruby diff --git a/languages/ruby/kdevrubysupport.rc b/languages/ruby/kdevrubysupport.rc new file mode 100644 index 00000000..b9269aa2 --- /dev/null +++ b/languages/ruby/kdevrubysupport.rc @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/languages/ruby/qtdesignerrubyintegration.cpp b/languages/ruby/qtdesignerrubyintegration.cpp index 7172b9e0..bb9c0113 100644 --- a/languages/ruby/qtdesignerrubyintegration.cpp +++ b/languages/ruby/qtdesignerrubyintegration.cpp @@ -32,14 +32,14 @@ #include #include -#include -#include -#include +#include +#include +#include #include "codemodel_utils.h" #include "implementationwidget.h" -QtDesignerRubyIntegration::QtDesignerRubyIntegration(TDevLanguageSupport *part, +QtDesignerRubyIntegration::QtDesignerRubyIntegration(KDevLanguageSupport *part, ImplementationWidget *impl) :QtDesignerIntegration(part, impl, false, 0) { diff --git a/languages/ruby/qtdesignerrubyintegration.h b/languages/ruby/qtdesignerrubyintegration.h index 91776afa..38722167 100644 --- a/languages/ruby/qtdesignerrubyintegration.h +++ b/languages/ruby/qtdesignerrubyintegration.h @@ -27,7 +27,7 @@ class QtDesignerRubyIntegration : public QtDesignerIntegration Q_OBJECT public: - QtDesignerRubyIntegration(TDevLanguageSupport *part, ImplementationWidget *impl); + QtDesignerRubyIntegration(KDevLanguageSupport *part, ImplementationWidget *impl); protected: void addFunctionToClass(KInterfaceDesigner::Function function, ClassDom klass); diff --git a/languages/ruby/rubyimplementationwidget.cpp b/languages/ruby/rubyimplementationwidget.cpp index 9a7cde7a..ba371526 100644 --- a/languages/ruby/rubyimplementationwidget.cpp +++ b/languages/ruby/rubyimplementationwidget.cpp @@ -30,10 +30,10 @@ #include #include -#include -#include +#include +#include -RubyImplementationWidget::RubyImplementationWidget(TDevLanguageSupport* part, +RubyImplementationWidget::RubyImplementationWidget(KDevLanguageSupport* part, TQWidget* parent, const char* name, bool modal) :ImplementationWidget(part, parent, name, modal) { diff --git a/languages/ruby/rubyimplementationwidget.h b/languages/ruby/rubyimplementationwidget.h index dac75fb1..a5d8e491 100644 --- a/languages/ruby/rubyimplementationwidget.h +++ b/languages/ruby/rubyimplementationwidget.h @@ -26,7 +26,7 @@ class RubyImplementationWidget : public ImplementationWidget { Q_OBJECT public: - RubyImplementationWidget(TDevLanguageSupport* part, TQWidget* parent = 0, + RubyImplementationWidget(KDevLanguageSupport* part, TQWidget* parent = 0, const char* name = 0, bool modal = true); virtual TQStringList createClassFiles(); diff --git a/languages/ruby/rubysupport_part.cpp b/languages/ruby/rubysupport_part.cpp index 915d12a1..e1745a02 100644 --- a/languages/ruby/rubysupport_part.cpp +++ b/languages/ruby/rubysupport_part.cpp @@ -5,15 +5,15 @@ #include "qtdesignerrubyintegration.h" #include "rubyimplementationwidget.h" -#include "tdevcore.h" -#include "tdevmainwindow.h" -#include "tdevlanguagesupport.h" -#include "tdevpartcontroller.h" -#include "tdevproject.h" -#include "tdevappfrontend.h" -#include "tdevplugininfo.h" -#include "tdevshellwidget.h" -#include "tdevquickopen.h" +#include "kdevcore.h" +#include "kdevmainwindow.h" +#include "kdevlanguagesupport.h" +#include "kdevpartcontroller.h" +#include "kdevproject.h" +#include "kdevappfrontend.h" +#include "kdevplugininfo.h" +#include "kdevshellwidget.h" +#include "kdevquickopen.h" #include #include @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include #include @@ -37,15 +37,15 @@ #include -typedef TDevGenericFactory RubySupportFactory; -static const TDevPluginInfo data("tdevrubysupport"); -K_EXPORT_COMPONENT_FACTORY( libtdevrubysupport, RubySupportFactory( data ) ) +typedef KDevGenericFactory RubySupportFactory; +static const KDevPluginInfo data("kdevrubysupport"); +K_EXPORT_COMPONENT_FACTORY( libkdevrubysupport, RubySupportFactory( data ) ) RubySupportPart::RubySupportPart(TQObject *parent, const char *name, const TQStringList& ) - : TDevLanguageSupport (&data, parent, name ? name : "RubySupportPart" ) + : KDevLanguageSupport (&data, parent, name ? name : "RubySupportPart" ) { setInstance(RubySupportFactory::instance()); - setXMLFile("tdevrubysupport.rc"); + setXMLFile("kdevrubysupport.rc"); TDEAction *action; action = new TDEAction( i18n("&Run"), "exec", SHIFT + Key_F9, @@ -72,7 +72,7 @@ RubySupportPart::RubySupportPart(TQObject *parent, const char *name, const TQStr kdDebug() << "Creating RubySupportPart" << endl; - m_shellWidget = new TDevShellWidget( 0, "irb console"); + m_shellWidget = new KDevShellWidget( 0, "irb console"); m_shellWidget->setIcon( SmallIcon("ruby_config.png", TDEIcon::SizeMedium, TDEIcon::DefaultState, RubySupportPart::instance())); m_shellWidget->setCaption(i18n("Ruby Shell")); mainWindow()->embedOutputView( m_shellWidget, i18n("Ruby Shell"), i18n("Ruby Shell")); @@ -127,7 +127,7 @@ void RubySupportPart::projectOpened() TQFileInfo server(project()->projectDirectory() + "/script/server"); if (! server.exists()) { cmd += "rails " + project()->projectDirectory(); - if (TDevAppFrontend *appFrontend = extension("TDevelop/AppFrontend")) + if (KDevAppFrontend *appFrontend = extension("TDevelop/AppFrontend")) appFrontend->startAppCommand(project()->projectDirectory(), cmd, false); } } @@ -211,7 +211,7 @@ void RubySupportPart::savedFile(const KURL &fileName) } } -TDevLanguageSupport::Features RubySupportPart::features() +KDevLanguageSupport::Features RubySupportPart::features() { return Features(Classes | Functions | Variables | Declarations | Signals | Slots); } @@ -528,7 +528,7 @@ void RubySupportPart::slotRun () // Starting WEBrick for a Rails app. Translate a SIGTERM signal sent by KDevelop // to a SIGINT expected by WEBrick (ie control&c) to terminate it. cmd += "script/server& \n trap \"kill -s SIGINT $!\" TERM \n wait \n exit 0"; - if (TDevAppFrontend *appFrontend = extension("TDevelop/AppFrontend")) + if (KDevAppFrontend *appFrontend = extension("TDevelop/AppFrontend")) appFrontend->startAppCommand(project()->projectDirectory(), cmd, false); } else { TQString cmd = TQString("%1 -K%2 -C\"%3\" -I\"%4\" \"%5\" %6") @@ -613,7 +613,7 @@ TQString RubySupportPart::characterCoding() { void RubySupportPart::startApplication(const TQString &program) { bool inTerminal = DomUtil::readBoolEntry(*projectDom(), "/kdevrubysupport/run/terminal"); - if (TDevAppFrontend *appFrontend = extension("TDevelop/AppFrontend")) + if (KDevAppFrontend *appFrontend = extension("TDevelop/AppFrontend")) appFrontend->startAppCommand(TQString(), program, inTerminal); } @@ -627,9 +627,9 @@ KMimeType::List RubySupportPart::mimeTypes( ) return list; } -TDevDesignerIntegration *RubySupportPart::designer(KInterfaceDesigner::DesignerType type) +KDevDesignerIntegration *RubySupportPart::designer(KInterfaceDesigner::DesignerType type) { - TDevDesignerIntegration *des = 0; + KDevDesignerIntegration *des = 0; switch (type) { case KInterfaceDesigner::TQtDesigner: @@ -651,7 +651,7 @@ TDevDesignerIntegration *RubySupportPart::designer(KInterfaceDesigner::DesignerT void RubySupportPart::projectClosed( ) { - for (TQMap::const_iterator it = m_designers.begin(); + for (TQMap::const_iterator it = m_designers.begin(); it != m_designers.end(); ++it) { kdDebug() << "calling save settings fro designer integration" << endl; @@ -669,7 +669,7 @@ void RubySupportPart::contextMenu( TQPopupMenu * popup, const Context * context { m_contextFileName = url.fileName(); int id = popup->insertItem(i18n("Create or Select Implementation..."), this, TQT_SLOT(slotCreateSubclass())); - popup->setWhatsThis(id, i18n("Create or select implementation

Creates or selects a subclass of selected form for use with integrated TDevDesigner.")); + popup->setWhatsThis(id, i18n("Create or select implementation

Creates or selects a subclass of selected form for use with integrated KDevDesigner.")); } } } diff --git a/languages/ruby/rubysupport_part.h b/languages/ruby/rubysupport_part.h index c0bfc36e..024eae60 100644 --- a/languages/ruby/rubysupport_part.h +++ b/languages/ruby/rubysupport_part.h @@ -3,19 +3,19 @@ */ -#ifndef __TDEVPART_RUBYSUPPORT_H__ -#define __TDEVPART_RUBYSUPPORT_H__ +#ifndef __KDEVPART_RUBYSUPPORT_H__ +#define __KDEVPART_RUBYSUPPORT_H__ #include -#include "tdevlanguagesupport.h" +#include "kdevlanguagesupport.h" class KDialogBase; class TQPopupMenu; class Context; -class TDevShellWidget; +class KDevShellWidget; -class RubySupportPart : public TDevLanguageSupport +class RubySupportPart : public KDevLanguageSupport { Q_OBJECT @@ -25,7 +25,7 @@ public: RubySupportPart(TQObject *parent, const char *name, const TQStringList &); virtual ~RubySupportPart(); - virtual TDevDesignerIntegration *designer(KInterfaceDesigner::DesignerType type); + virtual KDevDesignerIntegration *designer(KInterfaceDesigner::DesignerType type); protected: virtual Features features(); @@ -63,12 +63,12 @@ private: void maybeParse(const TQString fileName); void parse(const TQString &fileName); - TQMap m_designers; + TQMap m_designers; TQString m_contextFileName; TQCString m_shell; - TQGuardedPtr m_shellWidget; + TQGuardedPtr m_shellWidget; }; diff --git a/languages/ruby/tdevrubysupport.desktop b/languages/ruby/tdevrubysupport.desktop deleted file mode 100644 index 1a507ffd..00000000 --- a/languages/ruby/tdevrubysupport.desktop +++ /dev/null @@ -1,84 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=Ruby Support -Comment[ca]=Suport per a Ruby -Comment[da]=Ruby-understøttelse -Comment[de]=Ruby-Unterstützung für TDevelop -Comment[el]=Υποστήριξη Ruby -Comment[es]=Soporte para Ruby -Comment[et]=Ruby toetus -Comment[eu]=Ruby euskarria -Comment[fa]=پشتیبانی رابی -Comment[fr]=Prise en charge du langage Ruby -Comment[ga]=Tacaíocht Ruby -Comment[gl]=Soporte para Ruby -Comment[hi]=रूबी समर्थन -Comment[hu]=Ruby-támogatás -Comment[is]=Ruby stuðningur -Comment[it]=Supporto per Ruby -Comment[ja]=Ruby サポート -Comment[nds]=Ünnerstütten för Ruby -Comment[ne]=रूबि समर्थन -Comment[nl]=Ondersteuning voor Ruby -Comment[pl]=Obsługa: Ruby -Comment[pt]=Suporte a Ruby -Comment[pt_BR]=Suporte ao Ruby -Comment[ru]=Поддержка языка Ruby -Comment[sk]=Ruby podpora -Comment[sl]=Podpora za Ruby -Comment[sr]=Подршка за Ruby -Comment[sr@Latn]=Podrška za Ruby -Comment[sv]=Ruby-stöd -Comment[ta]=ருபி ஆதரவு -Comment[tg]=Ёрӣ намудани забони Ruby -Comment[tr]=Ruby Desteği -Comment[zh_CN]=Ruby 支持 -Comment[zh_TW]=Ruby 支援 -Name=KDevRubySupport -Name[da]=TDevelop Ruby-understøttelse -Name[de]=Unterstützung für Ruby (TDevelop) -Name[hi]=के-डेव-रूबी-समर्थन -Name[nds]=Ünnerstütten för Ruby (TDevelop) -Name[pl]=KDevObsługaRuby -Name[sk]=KDev Ruby podpora -Name[sv]=TDevelop Ruby-stöd -Name[ta]=கெடெவ் ருபி ஆதரவு -Name[zh_TW]=TDevelop Ruby 支援 -GenericName=Ruby Support -GenericName[ca]=Suport per a Ruby -GenericName[da]=Ruby-understøttelse -GenericName[de]=Unterstützung für Ruby -GenericName[el]=Υποστήριξη Ruby -GenericName[es]=Soporte para Ruby -GenericName[et]=Ruby toetus -GenericName[eu]=Ruby euskarria -GenericName[fa]=پشتیبانی رابی -GenericName[fr]=Prise en charge du langage Ruby -GenericName[ga]=Tacaíocht Ruby -GenericName[gl]=Soporte para Ruby -GenericName[hi]=रूबी समर्थन -GenericName[hu]=Ruby-támogatás -GenericName[it]=Supporto a Ruby -GenericName[ja]=Ruby サポート -GenericName[nds]=Ünnerstütten för Ruby -GenericName[ne]=रूबि समर्थन -GenericName[nl]=Ondersteuning voor Ruby -GenericName[pl]=Obsługa: Ruby -GenericName[pt]=Suporte a Ruby -GenericName[pt_BR]=Suporte ao Ruby -GenericName[ru]=Поддержка языка Ruby -GenericName[sk]=Ruby podpora -GenericName[sl]=Podpora za Ruby -GenericName[sr]=Подршка за Ruby -GenericName[sr@Latn]=Podrška za Ruby -GenericName[sv]=Ruby-stöd -GenericName[ta]=ருபி ஆதரவு -GenericName[tg]=Ёрӣ намудани забони Ruby -GenericName[tr]=Ruby Desteği -GenericName[zh_CN]=Ruby 支持 -GenericName[zh_TW]=Ruby 支援 -ServiceTypes=TDevelop/LanguageSupport -X-TDE-Library=libtdevrubysupport -X-TDevelop-Version=5 -X-TDevelop-Language=Ruby diff --git a/languages/ruby/tdevrubysupport.rc b/languages/ruby/tdevrubysupport.rc deleted file mode 100644 index b9269aa2..00000000 --- a/languages/ruby/tdevrubysupport.rc +++ /dev/null @@ -1,20 +0,0 @@ - - - -

- - - - - - - - - - - - - - - - -- cgit v1.2.1