diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-02 20:05:33 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-02 20:05:33 +0100 |
commit | 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch) | |
tree | db1b6b28566e5fe9accb4a688f7257673cecb080 /languages/java | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'languages/java')
50 files changed, 183 insertions, 183 deletions
diff --git a/languages/java/CMakeLists.txt b/languages/java/CMakeLists.txt index d3f7f5a7..546c6ac9 100644 --- a/languages/java/CMakeLists.txt +++ b/languages/java/CMakeLists.txt @@ -35,20 +35,20 @@ link_directories( ##### other data ################################ -install( FILES kdevjavasupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES kdevjavasupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevjavasupport ) +install( FILES tdevjavasupport.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevjavasupport.rc DESTINATION ${DATA_INSTALL_DIR}/tdevjavasupport ) -##### libkdevjavasupport (module) ############### +##### libtdevjavasupport (module) ############### -tde_add_kpart( libkdevjavasupport AUTOMOC +tde_add_kpart( libtdevjavasupport AUTOMOC SOURCES - JavaLexer.cpp KDevJavaSupportIface.cpp + JavaLexer.cpp TDevJavaSupportIface.cpp javasupportfactory.cpp JavaRecognizer.cpp backgroundparser.cpp configproblemreporter.ui javasupportpart.cpp JavaStoreWalker.cpp javasupport_utils.cpp problemreporter.cpp driver.cpp - kdevdriver.cpp KDevJavaSupportIface.skel - LINK antlr-static kdevcatalog-shared tdevelop-shared + tdevdriver.cpp TDevJavaSupportIface.skel + LINK antlr-static tdevcatalog-shared tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/languages/java/KDevJavaSupportIface.cpp b/languages/java/KDevJavaSupportIface.cpp deleted file mode 100644 index b1225700..00000000 --- a/languages/java/KDevJavaSupportIface.cpp +++ /dev/null @@ -1,24 +0,0 @@ - -#include "KDevJavaSupportIface.h" -#include "javasupportpart.h" - -KDevJavaSupportIface::KDevJavaSupportIface( JavaSupportPart* javaSupport ) - : TQObject( javaSupport ), DCOPObject( "KDevJavaSupport" ), m_javaSupport( javaSupport ) -{ -} - -KDevJavaSupportIface::~KDevJavaSupportIface() -{ -} - -void KDevJavaSupportIface::addClass() -{ - m_javaSupport->slotNewClass(); -} - -void KDevJavaSupportIface::parseProject() -{ - m_javaSupport->parseProject(); -} - -#include "KDevJavaSupportIface.moc" diff --git a/languages/java/Makefile.am b/languages/java/Makefile.am index a1a1e812..8e19da19 100644 --- a/languages/java/Makefile.am +++ b/languages/java/Makefile.am @@ -10,13 +10,13 @@ INCLUDES = -I$(top_srcdir)/lib/antlr -I$(top_srcdir)/lib/catalog \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/interfaces/external -I$(top_srcdir)/lib/util \ $(all_includes) -kde_module_LTLIBRARIES = libkdevjavasupport.la -libkdevjavasupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevjavasupport_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/antlr/src/libantlr.la $(top_builddir)/lib/catalog/libkdevcatalog.la +kde_module_LTLIBRARIES = libtdevjavasupport.la +libtdevjavasupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevjavasupport_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/antlr/src/libantlr.la $(top_builddir)/lib/catalog/libtdevcatalog.la -libkdevjavasupport_la_SOURCES = JavaLexer.cpp KDevJavaSupportIface.cpp javasupportfactory.cpp \ +libtdevjavasupport_la_SOURCES = JavaLexer.cpp TDevJavaSupportIface.cpp javasupportfactory.cpp \ JavaRecognizer.cpp backgroundparser.cpp configproblemreporter.ui javasupportpart.cpp \ -JavaStoreWalker.cpp javasupport_utils.cpp problemreporter.cpp driver.cpp kdevdriver.cpp KDevJavaSupportIface.skel +JavaStoreWalker.cpp javasupport_utils.cpp problemreporter.cpp driver.cpp tdevdriver.cpp TDevJavaSupportIface.skel EXTRA_DIST = java.g java.tree.g java.store.g @@ -31,7 +31,7 @@ EXTRA_DIST = java.g java.tree.g java.store.g METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevjavasupport.desktop +service_DATA = tdevjavasupport.desktop -rcdir = $(kde_datadir)/kdevjavasupport -rc_DATA = kdevjavasupport.rc +rcdir = $(kde_datadir)/tdevjavasupport +rc_DATA = tdevjavasupport.rc diff --git a/languages/java/TDevJavaSupportIface.cpp b/languages/java/TDevJavaSupportIface.cpp new file mode 100644 index 00000000..b9847558 --- /dev/null +++ b/languages/java/TDevJavaSupportIface.cpp @@ -0,0 +1,24 @@ + +#include "TDevJavaSupportIface.h" +#include "javasupportpart.h" + +TDevJavaSupportIface::TDevJavaSupportIface( JavaSupportPart* javaSupport ) + : TQObject( javaSupport ), DCOPObject( "TDevJavaSupport" ), m_javaSupport( javaSupport ) +{ +} + +TDevJavaSupportIface::~TDevJavaSupportIface() +{ +} + +void TDevJavaSupportIface::addClass() +{ + m_javaSupport->slotNewClass(); +} + +void TDevJavaSupportIface::parseProject() +{ + m_javaSupport->parseProject(); +} + +#include "TDevJavaSupportIface.moc" diff --git a/languages/java/KDevJavaSupportIface.h b/languages/java/TDevJavaSupportIface.h index d0c4d441..9732ca51 100644 --- a/languages/java/KDevJavaSupportIface.h +++ b/languages/java/TDevJavaSupportIface.h @@ -1,20 +1,20 @@ -#ifndef KDEVJAVASUPPORTIFACE_H -#define KDEVJAVASUPPORTIFACE_H +#ifndef TDEVJAVASUPPORTIFACE_H +#define TDEVJAVASUPPORTIFACE_H #include <tqobject.h> #include <dcopobject.h> class JavaSupportPart; -class KDevJavaSupportIface : public TQObject, public DCOPObject +class TDevJavaSupportIface : public TQObject, public DCOPObject { Q_OBJECT // K_DCOP public: - KDevJavaSupportIface( JavaSupportPart* javaSupport ); - ~KDevJavaSupportIface(); + TDevJavaSupportIface( JavaSupportPart* javaSupport ); + ~TDevJavaSupportIface(); k_dcop: void addClass(); diff --git a/languages/java/app_templates/CMakeLists.txt b/languages/java/app_templates/CMakeLists.txt index f7e7d242..34cc305c 100644 --- a/languages/java/app_templates/CMakeLists.txt +++ b/languages/java/app_templates/CMakeLists.txt @@ -10,7 +10,7 @@ ################################################# add_subdirectory( javahello ) -add_subdirectory( kappjava ) +add_subdirectory( tdeappjava ) add_subdirectory( superwaba ) install( FILES diff --git a/languages/java/app_templates/Makefile.am b/languages/java/app_templates/Makefile.am index fe3931a3..f30aefdb 100644 --- a/languages/java/app_templates/Makefile.am +++ b/languages/java/app_templates/Makefile.am @@ -1,3 +1,3 @@ -SUBDIRS = javahello kappjava superwaba +SUBDIRS = javahello tdeappjava superwaba profilesdir = $(kde_datadir)/tdevelop/profiles/IDE/CompiledLanguageIDE/JavaIDE profiles_DATA = java.appwizard diff --git a/languages/java/app_templates/java.appwizard b/languages/java/app_templates/java.appwizard index 087d6c0c..f4f8d6ba 100644 --- a/languages/java/app_templates/java.appwizard +++ b/languages/java/app_templates/java.appwizard @@ -1,2 +1,2 @@ [General] -List=javahello,kappjava,superwaba +List=javahello,tdeappjava,superwaba diff --git a/languages/java/app_templates/javahello/CMakeLists.txt b/languages/java/app_templates/javahello/CMakeLists.txt index 8129bbc1..04fd4963 100644 --- a/languages/java/app_templates/javahello/CMakeLists.txt +++ b/languages/java/app_templates/javahello/CMakeLists.txt @@ -17,9 +17,9 @@ add_custom_target( javahello.tar.gz ALL install( FILES ${CMAKE_CURRENT_BINARY_DIR}/javahello.tar.gz javahello.png - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) install( FILES - javahello.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) + javahello.tdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) diff --git a/languages/java/app_templates/javahello/Makefile.am b/languages/java/app_templates/javahello/Makefile.am index f47e7056..e3e3be27 100644 --- a/languages/java/app_templates/javahello/Makefile.am +++ b/languages/java/app_templates/javahello/Makefile.am @@ -2,10 +2,10 @@ dataFiles = Main.java build.xml javahello.filelist javahello.tdevelop templateName= javahello ### no need to change below: -template_DATA = $(templateName).kdevtemplate +template_DATA = $(templateName).tdevtemplate templatedir = ${appwizarddatadir}/templates -appwizarddatadir = ${kde_datadir}/kdevappwizard +appwizarddatadir = ${kde_datadir}/tdevappwizard $(templateName).tar.gz: ${dataFiles} $(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles} $(GZIP_COMMAND) -f9 $(templateName).tar diff --git a/languages/java/app_templates/javahello/javahello.filelist b/languages/java/app_templates/javahello/javahello.filelist index 97da44be..b9ce43ab 100644 --- a/languages/java/app_templates/javahello/javahello.filelist +++ b/languages/java/app_templates/javahello/javahello.filelist @@ -1,2 +1,2 @@ -# KDevelop Custom Project File List +# TDevelop Custom Project File List Main.java diff --git a/languages/java/app_templates/javahello/javahello.tdevelop b/languages/java/app_templates/javahello/javahello.tdevelop index a41fae72..ade81a9a 100644 --- a/languages/java/app_templates/javahello/javahello.tdevelop +++ b/languages/java/app_templates/javahello/javahello.tdevelop @@ -7,15 +7,15 @@ <projectmanagement>KDevAntProject</projectmanagement> <primarylanguage>Java</primarylanguage> <ignoreparts> - <part>KDevDebugger</part> + <part>TDevDebugger</part> </ignoreparts> </general> - <kdevcustomproject> + <tdevcustomproject> <build> <buildtool>ant</buildtool> </build> - </kdevcustomproject> - <kdevdoctreeview> + </tdevcustomproject> + <tdevdoctreeview> <ignoretocs> <toc>ada</toc> <toc>ada_bugs_gcc</toc> @@ -59,11 +59,11 @@ <ignoredoxygen> <toc>KDE Libraries (Doxygen)</toc> </ignoredoxygen> - </kdevdoctreeview> - <kdevfileview> + </tdevdoctreeview> + <tdevfileview> <tree> <hidenonprojectfiles>false</hidenonprojectfiles> <hidepatterns>*.o,*.lo,CVS</hidepatterns> </tree> - </kdevfileview> + </tdevfileview> </tdevelop> diff --git a/languages/java/app_templates/javahello/javahello.kdevtemplate b/languages/java/app_templates/javahello/javahello.tdevtemplate index 62fcffc5..62fcffc5 100644 --- a/languages/java/app_templates/javahello/javahello.kdevtemplate +++ b/languages/java/app_templates/javahello/javahello.tdevtemplate diff --git a/languages/java/app_templates/kappjava/CMakeLists.txt b/languages/java/app_templates/kappjava/CMakeLists.txt deleted file mode 100644 index 042872fd..00000000 --- a/languages/java/app_templates/kappjava/CMakeLists.txt +++ /dev/null @@ -1,26 +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( kappjava.tar.gz ALL - COMMAND tar zcf kappjava.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} - app.java pref.java appview.java app_client.java appui.rc - src-Makefile.am kappjava.png app.tdevelop subdirs -) - - -install( FILES - ${CMAKE_CURRENT_BINARY_DIR}/kappjava.tar.gz kappjava.png - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) - - -install( FILES - kappjava.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) diff --git a/languages/java/app_templates/superwaba/CMakeLists.txt b/languages/java/app_templates/superwaba/CMakeLists.txt index 58932352..ea9517be 100644 --- a/languages/java/app_templates/superwaba/CMakeLists.txt +++ b/languages/java/app_templates/superwaba/CMakeLists.txt @@ -17,9 +17,9 @@ add_custom_target( superwaba.tar.gz ALL install( FILES ${CMAKE_CURRENT_BINARY_DIR}/superwaba.tar.gz superwaba.png - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) install( FILES - superwaba.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) + superwaba.tdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) diff --git a/languages/java/app_templates/superwaba/Makefile.am b/languages/java/app_templates/superwaba/Makefile.am index bc706fe6..c9c6aa99 100644 --- a/languages/java/app_templates/superwaba/Makefile.am +++ b/languages/java/app_templates/superwaba/Makefile.am @@ -2,10 +2,10 @@ dataFiles = superwaba.png sw.java src-Makefile sw.tdevelop sw.filelist templateName = superwaba ### no need to change below: -template_DATA = $(templateName).kdevtemplate +template_DATA = $(templateName).tdevtemplate templatedir = ${appwizarddatadir}/templates -appwizarddatadir = ${kde_datadir}/kdevappwizard +appwizarddatadir = ${kde_datadir}/tdevappwizard $(templateName).tar.gz: ${dataFiles} $(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles} $(GZIP_COMMAND) -f9 $(templateName).tar diff --git a/languages/java/app_templates/superwaba/superwaba.kdevtemplate b/languages/java/app_templates/superwaba/superwaba.tdevtemplate index 27257770..e792af35 100644 --- a/languages/java/app_templates/superwaba/superwaba.kdevtemplate +++ b/languages/java/app_templates/superwaba/superwaba.tdevtemplate @@ -162,5 +162,5 @@ Archive=superwaba.tar.gz [GNU] Type=include -File=%{tdevelop}/template-common/gnu.kdevtemplate +File=%{tdevelop}/template-common/gnu.tdevtemplate diff --git a/languages/java/app_templates/superwaba/sw.tdevelop b/languages/java/app_templates/superwaba/sw.tdevelop index 11db7411..029d3af3 100644 --- a/languages/java/app_templates/superwaba/sw.tdevelop +++ b/languages/java/app_templates/superwaba/sw.tdevelop @@ -4,17 +4,17 @@ <author>%{AUTHOR}</author> <email>%{EMAIL}</email> <version>%{VERSION}</version> - <projectmanagement>KDevCustomProject</projectmanagement> + <projectmanagement>TDevCustomProject</projectmanagement> <primarylanguage>Java</primarylanguage> <ignoreparts> - <part>KDevDebugger</part> + <part>TDevDebugger</part> </ignoreparts> <keywords> <keyword>Java</keyword> <keyword>Code</keyword> </keywords> </general> - <kdevcustomproject> + <tdevcustomproject> <run> <mainprogram>make test</mainprogram> <programargs/> @@ -34,14 +34,14 @@ <envvars/> </make> <makeenvvars/> - </kdevcustomproject> - <kdevfileview> + </tdevcustomproject> + <tdevfileview> <groups> <group pattern="Makefile" name="Build" /> <group pattern="*.java" name="Source" /> </groups> - </kdevfileview> - <kdevdoctreeview> + </tdevfileview> + <tdevdoctreeview> <ignoretocs> <toc>bash</toc> <toc>bash_bugs</toc> @@ -85,10 +85,10 @@ <ignoredoxygen> <toc>KDE Libraries (Doxygen)</toc> </ignoredoxygen> - </kdevdoctreeview> - <kdevfilecreate> + </tdevdoctreeview> + <tdevfilecreate> <useglobaltypes> <type ext="java"/> </useglobaltypes> - </kdevfilecreate> + </tdevfilecreate> </tdevelop> diff --git a/languages/java/app_templates/tdeappjava/CMakeLists.txt b/languages/java/app_templates/tdeappjava/CMakeLists.txt new file mode 100644 index 00000000..578b6e9d --- /dev/null +++ b/languages/java/app_templates/tdeappjava/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (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( tdeappjava.tar.gz ALL + COMMAND tar zcf tdeappjava.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} + app.java pref.java appview.java app_client.java appui.rc + src-Makefile.am tdeappjava.png app.tdevelop subdirs +) + + +install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/tdeappjava.tar.gz tdeappjava.png + DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) + + +install( FILES + tdeappjava.tdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) diff --git a/languages/java/app_templates/kappjava/Makefile.am b/languages/java/app_templates/tdeappjava/Makefile.am index edbd4468..889abb5a 100644 --- a/languages/java/app_templates/kappjava/Makefile.am +++ b/languages/java/app_templates/tdeappjava/Makefile.am @@ -1,12 +1,12 @@ dataFiles = app.java pref.java appview.java app_client.java appui.rc \ - src-Makefile.am kappjava.png app.tdevelop subdirs -templateName = kappjava + src-Makefile.am tdeappjava.png app.tdevelop subdirs +templateName = tdeappjava ### no need to change below: -template_DATA = $(templateName).kdevtemplate +template_DATA = $(templateName).tdevtemplate templatedir = ${appwizarddatadir}/templates -appwizarddatadir = ${kde_datadir}/kdevappwizard +appwizarddatadir = ${kde_datadir}/tdevappwizard $(templateName).tar.gz: ${dataFiles} $(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles} $(GZIP_COMMAND) -f9 $(templateName).tar diff --git a/languages/java/app_templates/kappjava/app.desktop b/languages/java/app_templates/tdeappjava/app.desktop index 3cc75ad8..3cc75ad8 100644 --- a/languages/java/app_templates/kappjava/app.desktop +++ b/languages/java/app_templates/tdeappjava/app.desktop diff --git a/languages/java/app_templates/kappjava/app.java b/languages/java/app_templates/tdeappjava/app.java index 40bc6b93..40bc6b93 100644 --- a/languages/java/app_templates/kappjava/app.java +++ b/languages/java/app_templates/tdeappjava/app.java diff --git a/languages/java/app_templates/kappjava/app.tdevelop b/languages/java/app_templates/tdeappjava/app.tdevelop index 7ee74558..1e07dec0 100644 --- a/languages/java/app_templates/kappjava/app.tdevelop +++ b/languages/java/app_templates/tdeappjava/app.tdevelop @@ -13,15 +13,15 @@ <keyword>KDE</keyword> </keywords> </general> - <kdevautoproject> + <tdevautoproject> <general> <activetarget>src/java</activetarget> </general> <run> <mainprogram>src/%{APPNAMELC}</mainprogram> </run> - </kdevautoproject> - <kdevfileview> + </tdevautoproject> + <tdevfileview> <groups> <group pattern="*.java" name="Sources" /> <group pattern="*.ui" name="User Interface" /> @@ -29,12 +29,12 @@ <group pattern="*.po;*.ts" name="Translations" /> <group pattern="*" name="Others" /> </groups> - </kdevfileview> - <kdevdebugger> + </tdevfileview> + <tdevdebugger> <general> </general> - </kdevdebugger> - <kdevdoctreeview> + </tdevdebugger> + <tdevdoctreeview> <ignoretocs> <toc>ada</toc> <toc>ada_bugs_gcc</toc> @@ -79,10 +79,10 @@ <ignoredoxygen> <toc>KDE Libraries (Doxygen)</toc> </ignoredoxygen> - </kdevdoctreeview> - <kdevfilecreate> + </tdevdoctreeview> + <tdevfilecreate> <useglobaltypes> <type ext="java"/> </useglobaltypes> - </kdevfilecreate> + </tdevfilecreate> </tdevelop> diff --git a/languages/java/app_templates/kappjava/app_client.java b/languages/java/app_templates/tdeappjava/app_client.java index 9648cfad..9648cfad 100644 --- a/languages/java/app_templates/kappjava/app_client.java +++ b/languages/java/app_templates/tdeappjava/app_client.java diff --git a/languages/java/app_templates/kappjava/appui.rc b/languages/java/app_templates/tdeappjava/appui.rc index ceb4f14e..ceb4f14e 100644 --- a/languages/java/app_templates/kappjava/appui.rc +++ b/languages/java/app_templates/tdeappjava/appui.rc diff --git a/languages/java/app_templates/kappjava/appview.java b/languages/java/app_templates/tdeappjava/appview.java index 347ff58f..347ff58f 100644 --- a/languages/java/app_templates/kappjava/appview.java +++ b/languages/java/app_templates/tdeappjava/appview.java diff --git a/languages/java/app_templates/kappjava/pref.java b/languages/java/app_templates/tdeappjava/pref.java index a50fdb31..a50fdb31 100644 --- a/languages/java/app_templates/kappjava/pref.java +++ b/languages/java/app_templates/tdeappjava/pref.java diff --git a/languages/java/app_templates/kappjava/src-Makefile.am b/languages/java/app_templates/tdeappjava/src-Makefile.am index 6468994c..6468994c 100644 --- a/languages/java/app_templates/kappjava/src-Makefile.am +++ b/languages/java/app_templates/tdeappjava/src-Makefile.am diff --git a/languages/java/app_templates/kappjava/subdirs b/languages/java/app_templates/tdeappjava/subdirs index 0e678106..0e678106 100644 --- a/languages/java/app_templates/kappjava/subdirs +++ b/languages/java/app_templates/tdeappjava/subdirs diff --git a/languages/java/app_templates/kappjava/kappjava b/languages/java/app_templates/tdeappjava/tdeappjava index e199ac25..a62edafa 100644 --- a/languages/java/app_templates/kappjava/kappjava +++ b/languages/java/app_templates/tdeappjava/tdeappjava @@ -2,7 +2,7 @@ [General] Name=Application framework Name[fr]=Squelette d'application -Icon=kappjava.png +Icon=tdeappjava.png Category=Java/KDE Comment=Generates a simple Java KDE application with one toplevel window, menus and toolbars. Comment[fr]=Gnre une simple application KDE dans le language JAVA avec une fentre principale, des menus, et des barres d'outils. diff --git a/languages/java/app_templates/kappjava/kappjava.png b/languages/java/app_templates/tdeappjava/tdeappjava.png Binary files differindex 913ebb87..913ebb87 100644 --- a/languages/java/app_templates/kappjava/kappjava.png +++ b/languages/java/app_templates/tdeappjava/tdeappjava.png diff --git a/languages/java/app_templates/kappjava/kappjava.kdevtemplate b/languages/java/app_templates/tdeappjava/tdeappjava.tdevtemplate index 92cf4710..b5b35e33 100644 --- a/languages/java/app_templates/kappjava/kappjava.kdevtemplate +++ b/languages/java/app_templates/tdeappjava/tdeappjava.tdevtemplate @@ -30,7 +30,7 @@ Name[sv]=Programramverk Name[tr]=Uygulama Çatısı Name[zh_CN]=应用程序框架 Name[zh_TW]=應用程式框架 -Icon=kappjava.png +Icon=tdeappjava.png Category=Java/KDE Comment=Generates a simple Java KDE application with one toplevel window, menus and toolbars. Comment[ca]=Genera una simple aplicació per al KDE en Java amb una finestra principal, menús i barres d'eines. @@ -61,19 +61,19 @@ Comment[zh_CN]=生成一个简单的带有顶级窗口、菜单和工具栏的 J Comment[zh_TW]=產生一個簡單的 Java KDE 應用程式,內含頂層視窗、選單與工具列。 FileTemplates=java,CStyle ShowFilesAfterGeneration=%{dest}/src/%{APPNAME}View.java -Archive=kappjava.tar.gz +Archive=tdeappjava.tar.gz [ADMIN] Type=include -File=%{tdevelop}/template-common/admin.kdevtemplate +File=%{tdevelop}/template-common/admin.tdevtemplate [GNU] Type=include -File=%{tdevelop}/template-common/gnu.kdevtemplate +File=%{tdevelop}/template-common/gnu.tdevtemplate [DOCBOOK] Type=include -File=%{tdevelop}/template-common/dockbook.kdevtemplate +File=%{tdevelop}/template-common/dockbook.tdevtemplate [FILE4] Type=install diff --git a/languages/java/backgroundparser.cpp b/languages/java/backgroundparser.cpp index d6a034e4..006b0127 100644 --- a/languages/java/backgroundparser.cpp +++ b/languages/java/backgroundparser.cpp @@ -13,8 +13,8 @@ #include "javasupportpart.h" #include "javasupport_events.h" #include "driver.h" -#include "kdevdeepcopy.h" -#include "kdevdriver.h" +#include "tdevdeepcopy.h" +#include "tdevdriver.h" #include <tqmutex.h> @@ -23,8 +23,8 @@ #include <tdetexteditor/document.h> #include <tdetexteditor/view.h> -#include <kdevpartcontroller.h> -#include <kdevproject.h> +#include <tdevpartcontroller.h> +#include <tdevproject.h> #include <kurl.h> #include <kdebug.h> @@ -178,7 +178,7 @@ BackgroundParser::BackgroundParser( JavaSupportPart* part, TQWaitCondition* cons : m_consumed( consumed ), m_javaSupport( part ), m_close( false ) { m_fileList = new SynchronizedFileList(); - m_driver = new KDevDriver( m_javaSupport ); + m_driver = new TDevDriver( m_javaSupport ); m_driver->setSourceProvider( new KDevSourceProvider(m_javaSupport) ); //disabled for now m_driver->setResolveDependencesEnabled( true ); } diff --git a/languages/java/backgroundparser.h b/languages/java/backgroundparser.h index fee2bc78..db197e31 100644 --- a/languages/java/backgroundparser.h +++ b/languages/java/backgroundparser.h @@ -71,7 +71,7 @@ protected: Unit* parseFile( const TQString& fileName, bool readFromDisk ); private: - class KDevDriver* m_driver; + class TDevDriver* m_driver; TQString m_currentFile; TQWaitCondition m_canParse; TQWaitCondition m_isEmpty; diff --git a/languages/java/doc/CMakeLists.txt b/languages/java/doc/CMakeLists.txt index 685a980d..23acf492 100644 --- a/languages/java/doc/CMakeLists.txt +++ b/languages/java/doc/CMakeLists.txt @@ -11,4 +11,4 @@ install( FILES sw.toc java_bugs_gcc.toc java_bugs_sun.toc - DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) + DESTINATION ${DATA_INSTALL_DIR}/tdevdocumentation/tocs ) diff --git a/languages/java/doc/Makefile.am b/languages/java/doc/Makefile.am index adb0f24f..f163d148 100644 --- a/languages/java/doc/Makefile.am +++ b/languages/java/doc/Makefile.am @@ -1,4 +1,4 @@ -tocdir = ${kde_datadir}/kdevdocumentation/tocs +tocdir = ${kde_datadir}/tdevdocumentation/tocs toc_DATA = sw.toc java_bugs_gcc.toc java_bugs_sun.toc #indexdir = ${kde_datadir}/devdoctreeview/indices diff --git a/languages/java/file_templates/CMakeLists.txt b/languages/java/file_templates/CMakeLists.txt index 848555dd..cee049fb 100644 --- a/languages/java/file_templates/CMakeLists.txt +++ b/languages/java/file_templates/CMakeLists.txt @@ -11,4 +11,4 @@ install( FILES java - DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) + DESTINATION ${DATA_INSTALL_DIR}/tdevfilecreate/file-templates ) diff --git a/languages/java/file_templates/Makefile.am b/languages/java/file_templates/Makefile.am index dc3b82a9..4d9013d4 100644 --- a/languages/java/file_templates/Makefile.am +++ b/languages/java/file_templates/Makefile.am @@ -1,4 +1,4 @@ -templatedir = $(kde_datadir)/kdevfilecreate/file-templates +templatedir = $(kde_datadir)/tdevfilecreate/file-templates template_DATA = java diff --git a/languages/java/javasupport_events.h b/languages/java/javasupport_events.h index 36cda51b..b2022af2 100644 --- a/languages/java/javasupport_events.h +++ b/languages/java/javasupport_events.h @@ -13,7 +13,7 @@ #define __javasupport_events_h #include "driver.h" -#include "kdevdeepcopy.h" +#include "tdevdeepcopy.h" #include <tqevent.h> #include <tqvaluelist.h> diff --git a/languages/java/javasupportfactory.cpp b/languages/java/javasupportfactory.cpp index 94e435f2..ac1eaadb 100644 --- a/languages/java/javasupportfactory.cpp +++ b/languages/java/javasupportfactory.cpp @@ -11,28 +11,28 @@ #include <kinstance.h> #include <kstandarddirs.h> -#include <kdevplugininfo.h> +#include <tdevplugininfo.h> #include "javasupportfactory.h" -static const KDevPluginInfo data("kdevjavasupport"); -K_EXPORT_COMPONENT_FACTORY( libkdevjavasupport, JavaSupportFactory ) +static const TDevPluginInfo data("tdevjavasupport"); +K_EXPORT_COMPONENT_FACTORY( libtdevjavasupport, JavaSupportFactory ) JavaSupportFactory::JavaSupportFactory() - : KDevGenericFactory<JavaSupportPart>( data ) + : TDevGenericFactory<JavaSupportPart>( data ) { } TDEInstance *JavaSupportFactory::createInstance() { - TDEInstance *instance = KDevGenericFactory<JavaSupportPart>::createInstance(); + TDEInstance *instance = TDevGenericFactory<JavaSupportPart>::createInstance(); TDEStandardDirs *dirs = instance->dirs(); - dirs->addResourceType( "newclasstemplates", TDEStandardDirs::kde_default("data") + "kdevjavasupport/newclass/" ); - dirs->addResourceType( "pcs", TDEStandardDirs::kde_default( "data" ) + "kdevjavasupport/pcs/" ); + dirs->addResourceType( "newclasstemplates", TDEStandardDirs::kde_default("data") + "tdevjavasupport/newclass/" ); + dirs->addResourceType( "pcs", TDEStandardDirs::kde_default( "data" ) + "tdevjavasupport/pcs/" ); return instance; } -const KDevPluginInfo *JavaSupportFactory::info() +const TDevPluginInfo *JavaSupportFactory::info() { return &data; } diff --git a/languages/java/javasupportfactory.h b/languages/java/javasupportfactory.h index e5ae52b4..cb231d34 100644 --- a/languages/java/javasupportfactory.h +++ b/languages/java/javasupportfactory.h @@ -12,17 +12,17 @@ #ifndef _JAVASUPPORTFACTORY_H_ #define _JAVASUPPORTFACTORY_H_ -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> #include "javasupportpart.h" -class KDevPluginInfo; +class TDevPluginInfo; -class JavaSupportFactory : public KDevGenericFactory<JavaSupportPart> +class JavaSupportFactory : public TDevGenericFactory<JavaSupportPart> { public: JavaSupportFactory(); - static const KDevPluginInfo *info(); + static const TDevPluginInfo *info(); protected: virtual TDEInstance *createInstance(); diff --git a/languages/java/javasupportpart.cpp b/languages/java/javasupportpart.cpp index 63b174fc..3c2090e8 100644 --- a/languages/java/javasupportpart.cpp +++ b/languages/java/javasupportpart.cpp @@ -17,10 +17,10 @@ #include "javasupport_events.h" #include "problemreporter.h" #include "backgroundparser.h" -#include "KDevJavaSupportIface.h" +#include "TDevJavaSupportIface.h" #include "javasupportfactory.h" #include "catalog.h" -#include "kdevdriver.h" +#include "tdevdriver.h" #include "javasupport_utils.h" #include "JavaStoreWalker.hpp" @@ -63,12 +63,12 @@ #include <tdetexteditor/texthintinterface.h> -#include <kdevcore.h> -#include <kdevproject.h> -#include <kdevmainwindow.h> -#include <kdevpartcontroller.h> -#include <kdevmakefrontend.h> -#include <kdevcoderepository.h> +#include <tdevcore.h> +#include <tdevproject.h> +#include <tdevmainwindow.h> +#include <tdevpartcontroller.h> +#include <tdevmakefrontend.h> +#include <tdevcoderepository.h> #include <domutil.h> #include <urlutil.h> @@ -77,11 +77,11 @@ enum { KDEV_DB_VERSION = 7 }; enum { KDEV_PCS_VERSION = 8 }; -class JavaDriver: public KDevDriver +class JavaDriver: public TDevDriver { public: JavaDriver( JavaSupportPart* javaSupport ) - : KDevDriver( javaSupport ) + : TDevDriver( javaSupport ) { } @@ -119,7 +119,7 @@ public: }; JavaSupportPart::JavaSupportPart(TQObject *parent, const char *name, const TQStringList &/*args*/) - : KDevLanguageSupport(JavaSupportFactory::info(), parent, name ? name : "KDevJavaSupport"), + : TDevLanguageSupport(JavaSupportFactory::info(), parent, name ? name : "TDevJavaSupport"), m_activeDocument( 0 ), m_activeView( 0 ), m_activeSelection( 0 ), m_activeEditor( 0 ), m_activeViewCursor( 0 ), m_projectClosed( true ), m_valid( false ) { @@ -127,7 +127,7 @@ JavaSupportPart::JavaSupportPart(TQObject *parent, const char *name, const TQStr m_driver = new JavaDriver( this ); - setXMLFile( "kdevjavasupport.rc" ); + setXMLFile( "tdevjavasupport.rc" ); m_catalogList.setAutoDelete( true ); setupCatalog(); @@ -167,7 +167,7 @@ JavaSupportPart::JavaSupportPart(TQObject *parent, const char *name, const TQStr connect( core( ), TQT_SIGNAL( projectConfigWidget( KDialogBase* ) ), this, TQT_SLOT( projectConfigWidget( KDialogBase* ) ) ); - new KDevJavaSupportIface( this ); + new TDevJavaSupportIface( this ); //(void) dcopClient(); } @@ -434,7 +434,7 @@ TQString JavaSupportPart::findSourceFile() return m_activeFileName; } -KDevLanguageSupport::Features JavaSupportPart::features() +TDevLanguageSupport::Features JavaSupportPart::features() { return Features( Classes | Functions | Variables ); } @@ -830,7 +830,7 @@ TQString JavaSupportPart::formatModelItem( const CodeModelItem *item, bool short return arg.stripWhiteSpace(); } else - return KDevLanguageSupport::formatModelItem( item, shortDescription ); + return TDevLanguageSupport::formatModelItem( item, shortDescription ); } void JavaSupportPart::addClass( ) diff --git a/languages/java/javasupportpart.h b/languages/java/javasupportpart.h index a69e3524..6154cb8f 100644 --- a/languages/java/javasupportpart.h +++ b/languages/java/javasupportpart.h @@ -16,8 +16,8 @@ #ifndef _JAVASUPPORTPART_H_ #define _JAVASUPPORTPART_H_ -#include <kdevcore.h> -#include <kdevlanguagesupport.h> +#include <tdevcore.h> +#include <tdevlanguagesupport.h> #include <kdialogbase.h> #include <tqguardedptr.h> @@ -46,7 +46,7 @@ namespace KTextEditor class ViewCursorInterface; } -class JavaSupportPart : public KDevLanguageSupport +class JavaSupportPart : public TDevLanguageSupport { Q_OBJECT @@ -82,7 +82,7 @@ signals: void fileParsed( const TQString& fileName ); protected: - virtual KDevLanguageSupport::Features features(); + virtual TDevLanguageSupport::Features features(); virtual KMimeType::List mimeTypes(); virtual TQString formatClassName(const TQString &name); virtual TQString unformatClassName(const TQString &name); @@ -159,7 +159,7 @@ private: FunctionDom m_activeFunction; VariableDom m_activeVariable; - friend class KDevJavaSupportIface; + friend class TDevJavaSupportIface; friend class JavaDriver; }; diff --git a/languages/java/newclass_templates/Makefile.am b/languages/java/newclass_templates/Makefile.am index d24c99ef..f8b9e3bd 100644 --- a/languages/java/newclass_templates/Makefile.am +++ b/languages/java/newclass_templates/Makefile.am @@ -1,4 +1,4 @@ -javasupportdatadir = ${kde_datadir}/kdevjavasupport +javasupportdatadir = ${kde_datadir}/tdevjavasupport newclassdir = ${javasupportdatadir}/newclass newclass_DATA = java_source diff --git a/languages/java/problemreporter.cpp b/languages/java/problemreporter.cpp index 4d4f47af..6b6a46e6 100644 --- a/languages/java/problemreporter.cpp +++ b/languages/java/problemreporter.cpp @@ -21,8 +21,8 @@ #include "configproblemreporter.h" #include "backgroundparser.h" -#include <kdevpartcontroller.h> -#include <kdevmainwindow.h> +#include <tdevpartcontroller.h> +#include <tdevmainwindow.h> #include <tdeversion.h> #include <tdeparts/part.h> diff --git a/languages/java/kdevdeepcopy.h b/languages/java/tdevdeepcopy.h index dd4d8f4d..c4f889c1 100644 --- a/languages/java/kdevdeepcopy.h +++ b/languages/java/tdevdeepcopy.h @@ -1,5 +1,5 @@ -#ifndef KDEVDEEPCOPY_H -#define KDEVDEEPCOPY_H +#ifndef TDEVDEEPCOPY_H +#define TDEVDEEPCOPY_H #include <tqstring.h> diff --git a/languages/java/kdevdriver.cpp b/languages/java/tdevdriver.cpp index d19a20c3..d36a23f3 100644 --- a/languages/java/kdevdriver.cpp +++ b/languages/java/tdevdriver.cpp @@ -1,20 +1,20 @@ -#include "kdevdriver.h" +#include "tdevdriver.h" #include "JavaLexer.hpp" #include <unistd.h> #include <tqfileinfo.h> -KDevDriver::KDevDriver( JavaSupportPart* javaSupport ) +TDevDriver::TDevDriver( JavaSupportPart* javaSupport ) : m_javaSupport( javaSupport ) { } -JavaSupportPart* KDevDriver::javaSupport() +JavaSupportPart* TDevDriver::javaSupport() { return m_javaSupport; } -void KDevDriver::setupProject() +void TDevDriver::setupProject() { TQMap<TQString, bool> map; @@ -38,7 +38,7 @@ void KDevDriver::setupProject() } } -void KDevDriver::setupLexer( JavaLexer* lexer ) +void TDevDriver::setupLexer( JavaLexer* lexer ) { Driver::setupLexer( lexer ); } diff --git a/languages/java/kdevdriver.h b/languages/java/tdevdriver.h index cc0a1393..27fd7854 100644 --- a/languages/java/kdevdriver.h +++ b/languages/java/tdevdriver.h @@ -1,10 +1,10 @@ -#ifndef __kdevdriver_h -#define __kdevdriver_h +#ifndef __tdevdriver_h +#define __tdevdriver_h #include "javasupportpart.h" -#include <kdevproject.h> +#include <tdevproject.h> #include <tdeversion.h> #include "driver.h" @@ -12,10 +12,10 @@ #include <cstdlib> #include <unistd.h> -class KDevDriver: public Driver +class TDevDriver: public Driver { public: - KDevDriver( JavaSupportPart* javaSupport ); + TDevDriver( JavaSupportPart* javaSupport ); JavaSupportPart* javaSupport(); void setupProject(); diff --git a/languages/java/kdevjavasupport.desktop b/languages/java/tdevjavasupport.desktop index 620fb10f..6d3553d7 100644 --- a/languages/java/kdevjavasupport.desktop +++ b/languages/java/tdevjavasupport.desktop @@ -35,7 +35,7 @@ Comment[tg]=Ёрӣ намудани забони Java Comment[tr]=Java Desteği Comment[zh_CN]=Java 支持 Comment[zh_TW]=Java 支援 -Name=KDevJavaSupport +Name=TDevJavaSupport Name[da]=TDevelop Java-understøttelse Name[de]=Unterstützung für Java (TDevelop) Name[hi]=के-डेव-जावा-समर्थन @@ -79,7 +79,7 @@ GenericName[tr]=Java Desteği GenericName[zh_CN]=Java 支持 GenericName[zh_TW]=Java 支援 ServiceTypes=TDevelop/LanguageSupport -X-TDE-Library=libkdevjavasupport +X-TDE-Library=libtdevjavasupport X-TDevelop-Version=5 X-TDevelop-Language=Java X-TDevelop-Args=Java diff --git a/languages/java/kdevjavasupport.rc b/languages/java/tdevjavasupport.rc index e9b80d0d..66c7975c 100644 --- a/languages/java/kdevjavasupport.rc +++ b/languages/java/tdevjavasupport.rc @@ -1,4 +1,4 @@ <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> -<kpartgui name="KDevJavaSupport" version="4"> +<kpartgui name="TDevJavaSupport" version="4"> </kpartgui> |