diff options
Diffstat (limited to 'languages/perl')
-rw-r--r-- | languages/perl/CMakeLists.txt | 8 | ||||
-rw-r--r-- | languages/perl/Makefile.am | 14 | ||||
-rw-r--r-- | languages/perl/app_templates/perlhello/CMakeLists.txt | 6 | ||||
-rw-r--r-- | languages/perl/app_templates/perlhello/Makefile.am | 4 | ||||
-rw-r--r-- | languages/perl/app_templates/perlhello/app.tdevelop | 12 | ||||
-rw-r--r-- | languages/perl/app_templates/perlhello/perlhello.tdevtemplate (renamed from languages/perl/app_templates/perlhello/perlhello.kdevtemplate) | 0 | ||||
-rw-r--r-- | languages/perl/doc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | languages/perl/doc/Makefile.am | 2 | ||||
-rw-r--r-- | languages/perl/file_templates/CMakeLists.txt | 2 | ||||
-rw-r--r-- | languages/perl/file_templates/Makefile.am | 2 | ||||
-rw-r--r-- | languages/perl/perlparser.cpp | 2 | ||||
-rw-r--r-- | languages/perl/perlparser.h | 6 | ||||
-rw-r--r-- | languages/perl/perlsupportpart.cpp | 30 | ||||
-rw-r--r-- | languages/perl/perlsupportpart.h | 4 | ||||
-rw-r--r-- | languages/perl/tdevperlsupport.desktop (renamed from languages/perl/kdevperlsupport.desktop) | 2 | ||||
-rw-r--r-- | languages/perl/tdevperlsupport.rc (renamed from languages/perl/kdevperlsupport.rc) | 0 |
16 files changed, 48 insertions, 48 deletions
diff --git a/languages/perl/CMakeLists.txt b/languages/perl/CMakeLists.txt index e458c240..01327acb 100644 --- a/languages/perl/CMakeLists.txt +++ b/languages/perl/CMakeLists.txt @@ -30,13 +30,13 @@ link_directories( ##### other data ################################ -install( FILES kdevperlsupport.desktop perldoc.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES kdevperlsupport.rc DESTINATION ${DATA_INSTALL_DIR}/kdevperlsupport ) +install( FILES tdevperlsupport.desktop perldoc.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevperlsupport.rc DESTINATION ${DATA_INSTALL_DIR}/tdevperlsupport ) -##### libkdevperlsupport (module) ############### +##### libtdevperlsupport (module) ############### -tde_add_kpart( libkdevperlsupport AUTOMOC +tde_add_kpart( libtdevperlsupport AUTOMOC SOURCES perlparser.cpp perlsupportpart.cpp perlconfigwidget.cpp perlconfigwidgetbase.ui diff --git a/languages/perl/Makefile.am b/languages/perl/Makefile.am index fcedfa23..f498dfd3 100644 --- a/languages/perl/Makefile.am +++ b/languages/perl/Makefile.am @@ -6,11 +6,11 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \ SUBDIRS = app_templates file_templates doc -kde_module_LTLIBRARIES = libkdevperlsupport.la tdeio_perldoc.la -libkdevperlsupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevperlsupport_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libtdevperlsupport.la tdeio_perldoc.la +libtdevperlsupport_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevperlsupport_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libkdevperlsupport_la_SOURCES = perlparser.cpp perlsupportpart.cpp perlconfigwidget.cpp perlconfigwidgetbase.ui +libtdevperlsupport_la_SOURCES = perlparser.cpp perlsupportpart.cpp perlconfigwidget.cpp perlconfigwidgetbase.ui tdeio_perldoc_la_SOURCES = perldoc.cpp tdeio_perldoc_la_LIBADD = $(LIB_TDEIO) @@ -19,7 +19,7 @@ tdeio_perldoc_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevperlsupport.desktop perldoc.protocol +service_DATA = tdevperlsupport.desktop perldoc.protocol -rcdir = $(kde_datadir)/kdevperlsupport -rc_DATA = kdevperlsupport.rc +rcdir = $(kde_datadir)/tdevperlsupport +rc_DATA = tdevperlsupport.rc diff --git a/languages/perl/app_templates/perlhello/CMakeLists.txt b/languages/perl/app_templates/perlhello/CMakeLists.txt index bf51d851..6537b51c 100644 --- a/languages/perl/app_templates/perlhello/CMakeLists.txt +++ b/languages/perl/app_templates/perlhello/CMakeLists.txt @@ -17,9 +17,9 @@ add_custom_target( perlhello.tar.gz ALL install( FILES ${CMAKE_CURRENT_BINARY_DIR}/perlhello.tar.gz perlhello.png - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) + DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard ) install( FILES - perlhello.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates ) + perlhello.tdevtemplate + DESTINATION ${DATA_INSTALL_DIR}/tdevappwizard/templates ) diff --git a/languages/perl/app_templates/perlhello/Makefile.am b/languages/perl/app_templates/perlhello/Makefile.am index b483b35b..a7987969 100644 --- a/languages/perl/app_templates/perlhello/Makefile.am +++ b/languages/perl/app_templates/perlhello/Makefile.am @@ -2,10 +2,10 @@ dataFiles = app.pl app.tdevelop templateName = perlhello ### 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/perl/app_templates/perlhello/app.tdevelop b/languages/perl/app_templates/perlhello/app.tdevelop index a83391b7..2ae93215 100644 --- a/languages/perl/app_templates/perlhello/app.tdevelop +++ b/languages/perl/app_templates/perlhello/app.tdevelop @@ -9,7 +9,7 @@ <projectdirectory>.</projectdirectory> <absoluteprojectpath>false</absoluteprojectpath> </general> - <kdevscriptproject> + <tdevscriptproject> <run> <mainprogram>./%{APPNAMELC}.pl</mainprogram> </run> @@ -17,8 +17,8 @@ <includepatterns>*.pl,*.pm</includepatterns> <excludepatterns>*~</excludepatterns> </general> - </kdevscriptproject> - <kdevdoctreeview> + </tdevscriptproject> + <tdevdoctreeview> <ignoretocs> <toc>ada</toc> <toc>ada_bugs_gcc</toc> @@ -65,13 +65,13 @@ <ignoredoxygen> <toc>KDE Libraries (Doxygen)</toc> </ignoredoxygen> - </kdevdoctreeview> - <kdevfilecreate> + </tdevdoctreeview> + <tdevfilecreate> <filetypes/> <useglobaltypes> <type ext="" /> <type ext="pl" /> <type ext="pm" /> </useglobaltypes> - </kdevfilecreate> + </tdevfilecreate> </tdevelop> diff --git a/languages/perl/app_templates/perlhello/perlhello.kdevtemplate b/languages/perl/app_templates/perlhello/perlhello.tdevtemplate index 8ec5a560..8ec5a560 100644 --- a/languages/perl/app_templates/perlhello/perlhello.kdevtemplate +++ b/languages/perl/app_templates/perlhello/perlhello.tdevtemplate diff --git a/languages/perl/doc/CMakeLists.txt b/languages/perl/doc/CMakeLists.txt index 653dc0d7..2e8ed498 100644 --- a/languages/perl/doc/CMakeLists.txt +++ b/languages/perl/doc/CMakeLists.txt @@ -11,4 +11,4 @@ install( FILES perl.toc perl_bugs.toc - DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation/tocs ) + DESTINATION ${DATA_INSTALL_DIR}/tdevdocumentation/tocs ) diff --git a/languages/perl/doc/Makefile.am b/languages/perl/doc/Makefile.am index dae5d699..b62295ed 100644 --- a/languages/perl/doc/Makefile.am +++ b/languages/perl/doc/Makefile.am @@ -1,4 +1,4 @@ -tocdir = ${kde_datadir}/kdevdocumentation/tocs +tocdir = ${kde_datadir}/tdevdocumentation/tocs toc_DATA = perl.toc perl_bugs.toc #indexdir = ${kde_datadir}/devdoctreeview/indices diff --git a/languages/perl/file_templates/CMakeLists.txt b/languages/perl/file_templates/CMakeLists.txt index 7faec8fc..96c5fa74 100644 --- a/languages/perl/file_templates/CMakeLists.txt +++ b/languages/perl/file_templates/CMakeLists.txt @@ -11,4 +11,4 @@ install( FILES pl pm - DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) + DESTINATION ${DATA_INSTALL_DIR}/tdevfilecreate/file-templates ) diff --git a/languages/perl/file_templates/Makefile.am b/languages/perl/file_templates/Makefile.am index f1f8457d..5dd94646 100644 --- a/languages/perl/file_templates/Makefile.am +++ b/languages/perl/file_templates/Makefile.am @@ -1,4 +1,4 @@ -templatedir = $(kde_datadir)/kdevfilecreate/file-templates +templatedir = $(kde_datadir)/tdevfilecreate/file-templates template_DATA = pl pm diff --git a/languages/perl/perlparser.cpp b/languages/perl/perlparser.cpp index 60cca8f5..ca7b8dff 100644 --- a/languages/perl/perlparser.cpp +++ b/languages/perl/perlparser.cpp @@ -22,7 +22,7 @@ #include <tqregexp.h> #include <tqfileinfo.h> -perlparser::perlparser(KDevCore* core,CodeModel* model, TQString interpreter) { +perlparser::perlparser(TDevCore* core,CodeModel* model, TQString interpreter) { m_core = core; m_model = model; m_interpreter=interpreter; diff --git a/languages/perl/perlparser.h b/languages/perl/perlparser.h index b536596b..6249ce15 100644 --- a/languages/perl/perlparser.h +++ b/languages/perl/perlparser.h @@ -18,7 +18,7 @@ #ifndef PERLPARSER_H #define PERLPARSER_H -#include "kdevlanguagesupport.h" +#include "tdevlanguagesupport.h" #include <codemodel.h> @@ -28,7 +28,7 @@ class perlparser { public: - perlparser(KDevCore* core,CodeModel* model, TQString interpreter); + perlparser(TDevCore* core,CodeModel* model, TQString interpreter); perlparser(); ~perlparser(); @@ -70,7 +70,7 @@ class perlparser { //CodeModel CodeModel* m_model; - KDevCore* m_core; + TDevCore* m_core; FileDom m_file; //this willhav a list of INC paths diff --git a/languages/perl/perlsupportpart.cpp b/languages/perl/perlsupportpart.cpp index c8379c77..08627ea5 100644 --- a/languages/perl/perlsupportpart.cpp +++ b/languages/perl/perlsupportpart.cpp @@ -19,24 +19,24 @@ #include <tdeaction.h> #include <tdeapplication.h> #include <kdebug.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> #include <kinputdialog.h> #include <tdelocale.h> #include <tqregexp.h> #include <codemodel.h> #include <tqprogressbar.h> #include <kstatusbar.h> -#include "kdevmainwindow.h" +#include "tdevmainwindow.h" #include <kprocess.h> #include <stdlib.h> #include <unistd.h> -#include "kdevcore.h" -#include "kdevproject.h" -#include "kdevpartcontroller.h" -#include "kdevplugininfo.h" -#include "kdevappfrontend.h" +#include "tdevcore.h" +#include "tdevproject.h" +#include "tdevpartcontroller.h" +#include "tdevplugininfo.h" +#include "tdevappfrontend.h" //#include "classstore.h" //#include "parsedclass.h" //#include "parsedmethod.h" @@ -44,16 +44,16 @@ #include "domutil.h" //#include "programmingbycontract.h" -typedef KDevGenericFactory<PerlSupportPart> PerlSupportFactory; -static const KDevPluginInfo data("kdevperlsupport"); -K_EXPORT_COMPONENT_FACTORY( libkdevperlsupport, PerlSupportFactory( data ) ) +typedef TDevGenericFactory<PerlSupportPart> PerlSupportFactory; +static const TDevPluginInfo data("tdevperlsupport"); +K_EXPORT_COMPONENT_FACTORY( libtdevperlsupport, PerlSupportFactory( data ) ) PerlSupportPart::PerlSupportPart(TQObject *parent, const char *name, const TQStringList &) - : KDevLanguageSupport(&data, parent, name ? name : "PerlSupportPart") + : TDevLanguageSupport(&data, parent, name ? name : "PerlSupportPart") { setInstance(PerlSupportFactory::instance()); - setXMLFile("kdevperlsupport.rc"); + setXMLFile("tdevperlsupport.rc"); connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()) ); connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()) ); @@ -174,9 +174,9 @@ void PerlSupportPart::savedFile(const KURL &fileName) } -KDevLanguageSupport::Features PerlSupportPart::features() +TDevLanguageSupport::Features PerlSupportPart::features() { - return KDevLanguageSupport::Features(Classes | Functions | Variables | Namespaces | /*Scripts | */NewClass | AddMethod | AddAttribute /*| NewScript*/); + return TDevLanguageSupport::Features(Classes | Functions | Variables | Namespaces | /*Scripts | */NewClass | AddMethod | AddAttribute /*| NewScript*/); // return Functions; } @@ -193,7 +193,7 @@ TQString PerlSupportPart::interpreter() void PerlSupportPart::startApplication(const TQString &program) { bool inTerminal = DomUtil::readBoolEntry(*projectDom(), "/kdevperlsupport/run/terminal"); - if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend")) + if (TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend")) appFrontend->startAppCommand(TQString(), program, inTerminal); } diff --git a/languages/perl/perlsupportpart.h b/languages/perl/perlsupportpart.h index 00c6bc69..b6517bbc 100644 --- a/languages/perl/perlsupportpart.h +++ b/languages/perl/perlsupportpart.h @@ -12,11 +12,11 @@ #ifndef _PERLSUPPORTPART_H_ #define _PERLSUPPORTPART_H_ -#include "kdevlanguagesupport.h" +#include "tdevlanguagesupport.h" #include <codemodel.h> #include "perlparser.h" -class PerlSupportPart : public KDevLanguageSupport +class PerlSupportPart : public TDevLanguageSupport { Q_OBJECT diff --git a/languages/perl/kdevperlsupport.desktop b/languages/perl/tdevperlsupport.desktop index 9c637679..472be4f3 100644 --- a/languages/perl/kdevperlsupport.desktop +++ b/languages/perl/tdevperlsupport.desktop @@ -79,7 +79,7 @@ GenericName[tr]=Perl Desteği GenericName[zh_CN]=Perl 支持 GenericName[zh_TW]=Perl 支援 ServiceTypes=TDevelop/LanguageSupport -X-TDE-Library=libkdevperlsupport +X-TDE-Library=libtdevperlsupport X-TDevelop-Version=5 X-TDevelop-Language=Perl diff --git a/languages/perl/kdevperlsupport.rc b/languages/perl/tdevperlsupport.rc index 9f5f4ee9..9f5f4ee9 100644 --- a/languages/perl/kdevperlsupport.rc +++ b/languages/perl/tdevperlsupport.rc |