From 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 2 Mar 2014 20:05:33 +0100 Subject: Finish renaming tdevelop components --- vcs/clearcase/CMakeLists.txt | 8 +- vcs/clearcase/Makefile.am | 10 +- vcs/clearcase/clearcasefileinfoprovider.cpp | 4 +- vcs/clearcase/clearcasefileinfoprovider.h | 2 +- vcs/clearcase/clearcasemanipulator.h | 2 +- vcs/clearcase/clearcasepart.cpp | 40 +-- vcs/clearcase/clearcasepart.h | 8 +- vcs/clearcase/integrator/CMakeLists.txt | 4 +- vcs/clearcase/integrator/Makefile.am | 4 +- vcs/clearcase/integrator/ccintegratordlg.h | 2 +- vcs/clearcase/integrator/clearcaseintegrator.cpp | 10 +- vcs/clearcase/integrator/clearcaseintegrator.h | 4 +- .../integrator/kdevclearcaseintegrator.desktop | 44 --- .../integrator/tdevclearcaseintegrator.desktop | 44 +++ vcs/clearcase/kdevclearcase.desktop | 82 ----- vcs/clearcase/tdevclearcase.desktop | 82 +++++ vcs/cvsservice/CMakeLists.txt | 12 +- vcs/cvsservice/Makefile.am | 18 +- vcs/cvsservice/README.dox | 2 +- vcs/cvsservice/bufferedstringreader.h | 2 +- vcs/cvsservice/cvsentry.h | 2 +- vcs/cvsservice/cvsfileinfoprovider.cpp | 4 +- vcs/cvsservice/cvsfileinfoprovider.h | 4 +- vcs/cvsservice/cvsoptions.cpp | 10 +- vcs/cvsservice/cvsoptions.h | 6 +- vcs/cvsservice/cvspart.cpp | 38 +- vcs/cvsservice/cvspart.h | 8 +- vcs/cvsservice/cvspartimpl.cpp | 24 +- vcs/cvsservice/cvspartimpl.h | 18 +- vcs/cvsservice/cvsprocesswidget.cpp | 6 +- vcs/cvsservice/integrator/CMakeLists.txt | 4 +- vcs/cvsservice/integrator/Makefile.am | 4 +- vcs/cvsservice/integrator/cvsserviceintegrator.cpp | 10 +- vcs/cvsservice/integrator/cvsserviceintegrator.h | 4 +- .../integrator/kdevcvsserviceintegrator.desktop | 45 --- .../integrator/tdevcvsserviceintegrator.desktop | 45 +++ vcs/cvsservice/kdev_cvs.png | Bin 721 -> 0 bytes vcs/cvsservice/kdev_cvs.xcf | Bin 18033 -> 0 bytes vcs/cvsservice/kdevcvsservice.desktop | 77 ---- vcs/cvsservice/kdevcvsservicepart.rc | 36 -- vcs/cvsservice/tdev_cvs.png | Bin 0 -> 721 bytes vcs/cvsservice/tdev_cvs.xcf | Bin 0 -> 18033 bytes vcs/cvsservice/tdevcvsservice.desktop | 77 ++++ vcs/cvsservice/tdevcvsservicepart.rc | 36 ++ vcs/perforce/CMakeLists.txt | 8 +- vcs/perforce/Makefile.am | 12 +- vcs/perforce/integrator/CMakeLists.txt | 4 +- vcs/perforce/integrator/Makefile.am | 4 +- .../integrator/kdevperforceintegrator.desktop | 44 --- vcs/perforce/integrator/perforceintegrator.cpp | 10 +- vcs/perforce/integrator/perforceintegrator.h | 4 +- vcs/perforce/integrator/pfintegratordlg.h | 2 +- .../integrator/tdevperforceintegrator.desktop | 44 +++ vcs/perforce/kdevperforce.desktop | 82 ----- vcs/perforce/kdevperforcepart.rc | 23 -- vcs/perforce/perforcepart.cpp | 28 +- vcs/perforce/perforcepart.h | 6 +- vcs/perforce/tdevperforce.desktop | 82 +++++ vcs/perforce/tdevperforcepart.rc | 23 ++ vcs/subversion/CMakeLists.txt | 26 +- vcs/subversion/Makefile.am | 30 +- vcs/subversion/integrator/CMakeLists.txt | 4 +- vcs/subversion/integrator/Makefile.am | 4 +- .../integrator/kdevsubversionintegrator.desktop | 45 --- vcs/subversion/integrator/subversionintegrator.cpp | 10 +- vcs/subversion/integrator/subversionintegrator.h | 4 +- vcs/subversion/integrator/svnintegratordlg.cpp | 2 +- vcs/subversion/integrator/svnintegratordlg.h | 2 +- .../integrator/tdevsubversionintegrator.desktop | 45 +++ vcs/subversion/kdevpart_subversion.rc | 31 -- vcs/subversion/kdevsubversion.desktop | 34 -- vcs/subversion/kdevsvn+file.protocol | 39 -- vcs/subversion/kdevsvn+http.protocol | 39 -- vcs/subversion/kdevsvn+https.protocol | 39 -- vcs/subversion/kdevsvn+ssh.protocol | 39 -- vcs/subversion/kdevsvn+svn.protocol | 39 -- vcs/subversion/kdevsvnd.cpp | 394 --------------------- vcs/subversion/kdevsvnd.desktop | 32 -- vcs/subversion/kdevsvnd.h | 51 --- vcs/subversion/kdevsvnd_widgets.cpp | 70 ---- vcs/subversion/kdevsvnd_widgets.h | 42 --- vcs/subversion/subversion_core.cpp | 26 +- vcs/subversion/subversion_core.h | 4 +- vcs/subversion/subversion_fileinfo.cpp | 6 +- vcs/subversion/subversion_fileinfo.h | 4 +- vcs/subversion/subversion_part.cpp | 26 +- vcs/subversion/subversion_part.h | 12 +- vcs/subversion/subversion_widget.cpp | 2 +- vcs/subversion/svn_fileselectdlg_commit.cpp | 4 +- vcs/subversion/svn_logviewwidget.cpp | 2 +- vcs/subversion/svn_tdeio.cpp | 4 +- vcs/subversion/tdevpart_subversion.rc | 31 ++ vcs/subversion/tdevsubversion.desktop | 34 ++ vcs/subversion/tdevsvn+file.protocol | 39 ++ vcs/subversion/tdevsvn+http.protocol | 39 ++ vcs/subversion/tdevsvn+https.protocol | 39 ++ vcs/subversion/tdevsvn+ssh.protocol | 39 ++ vcs/subversion/tdevsvn+svn.protocol | 39 ++ vcs/subversion/tdevsvnd.cpp | 394 +++++++++++++++++++++ vcs/subversion/tdevsvnd.desktop | 32 ++ vcs/subversion/tdevsvnd.h | 51 +++ vcs/subversion/tdevsvnd_widgets.cpp | 70 ++++ vcs/subversion/tdevsvnd_widgets.h | 42 +++ 103 files changed, 1589 insertions(+), 1589 deletions(-) delete mode 100644 vcs/clearcase/integrator/kdevclearcaseintegrator.desktop create mode 100644 vcs/clearcase/integrator/tdevclearcaseintegrator.desktop delete mode 100644 vcs/clearcase/kdevclearcase.desktop create mode 100644 vcs/clearcase/tdevclearcase.desktop delete mode 100644 vcs/cvsservice/integrator/kdevcvsserviceintegrator.desktop create mode 100644 vcs/cvsservice/integrator/tdevcvsserviceintegrator.desktop delete mode 100644 vcs/cvsservice/kdev_cvs.png delete mode 100644 vcs/cvsservice/kdev_cvs.xcf delete mode 100644 vcs/cvsservice/kdevcvsservice.desktop delete mode 100644 vcs/cvsservice/kdevcvsservicepart.rc create mode 100644 vcs/cvsservice/tdev_cvs.png create mode 100644 vcs/cvsservice/tdev_cvs.xcf create mode 100644 vcs/cvsservice/tdevcvsservice.desktop create mode 100644 vcs/cvsservice/tdevcvsservicepart.rc delete mode 100644 vcs/perforce/integrator/kdevperforceintegrator.desktop create mode 100644 vcs/perforce/integrator/tdevperforceintegrator.desktop delete mode 100644 vcs/perforce/kdevperforce.desktop delete mode 100644 vcs/perforce/kdevperforcepart.rc create mode 100644 vcs/perforce/tdevperforce.desktop create mode 100644 vcs/perforce/tdevperforcepart.rc delete mode 100644 vcs/subversion/integrator/kdevsubversionintegrator.desktop create mode 100644 vcs/subversion/integrator/tdevsubversionintegrator.desktop delete mode 100644 vcs/subversion/kdevpart_subversion.rc delete mode 100644 vcs/subversion/kdevsubversion.desktop delete mode 100644 vcs/subversion/kdevsvn+file.protocol delete mode 100644 vcs/subversion/kdevsvn+http.protocol delete mode 100644 vcs/subversion/kdevsvn+https.protocol delete mode 100644 vcs/subversion/kdevsvn+ssh.protocol delete mode 100644 vcs/subversion/kdevsvn+svn.protocol delete mode 100644 vcs/subversion/kdevsvnd.cpp delete mode 100644 vcs/subversion/kdevsvnd.desktop delete mode 100644 vcs/subversion/kdevsvnd.h delete mode 100644 vcs/subversion/kdevsvnd_widgets.cpp delete mode 100644 vcs/subversion/kdevsvnd_widgets.h create mode 100644 vcs/subversion/tdevpart_subversion.rc create mode 100644 vcs/subversion/tdevsubversion.desktop create mode 100644 vcs/subversion/tdevsvn+file.protocol create mode 100644 vcs/subversion/tdevsvn+http.protocol create mode 100644 vcs/subversion/tdevsvn+https.protocol create mode 100644 vcs/subversion/tdevsvn+ssh.protocol create mode 100644 vcs/subversion/tdevsvn+svn.protocol create mode 100644 vcs/subversion/tdevsvnd.cpp create mode 100644 vcs/subversion/tdevsvnd.desktop create mode 100644 vcs/subversion/tdevsvnd.h create mode 100644 vcs/subversion/tdevsvnd_widgets.cpp create mode 100644 vcs/subversion/tdevsvnd_widgets.h (limited to 'vcs') diff --git a/vcs/clearcase/CMakeLists.txt b/vcs/clearcase/CMakeLists.txt index 4dbed390..94ca0536 100644 --- a/vcs/clearcase/CMakeLists.txt +++ b/vcs/clearcase/CMakeLists.txt @@ -27,15 +27,15 @@ link_directories( ##### other data ################################ -install( FILES kdevclearcase.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevclearcase.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -##### libkdevclearcase (module) ################# +##### libtdevclearcase (module) ################# -tde_add_kpart( libkdevclearcase AUTOMOC +tde_add_kpart( libtdevclearcase AUTOMOC SOURCES clearcasepart.cpp commentdlg.cpp clearcasefileinfoprovider.cpp clearcasemanipulator.cpp - LINK kdevextensions-static tdevelop-shared + LINK tdevextensions-static tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/vcs/clearcase/Makefile.am b/vcs/clearcase/Makefile.am index 630a1346..36a2e7b6 100644 --- a/vcs/clearcase/Makefile.am +++ b/vcs/clearcase/Makefile.am @@ -3,16 +3,16 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes) -kde_module_LTLIBRARIES = libkdevclearcase.la -libkdevclearcase_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevclearcase_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/interfaces/extensions/libkdevextensions.la +kde_module_LTLIBRARIES = libtdevclearcase.la +libtdevclearcase_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevclearcase_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/interfaces/extensions/libtdevextensions.la -libkdevclearcase_la_SOURCES = clearcasepart.cpp commentdlg.cpp \ +libtdevclearcase_la_SOURCES = clearcasepart.cpp commentdlg.cpp \ clearcasefileinfoprovider.cpp clearcasemanipulator.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevclearcase.desktop +service_DATA = tdevclearcase.desktop SUBDIRS = integrator diff --git a/vcs/clearcase/clearcasefileinfoprovider.cpp b/vcs/clearcase/clearcasefileinfoprovider.cpp index 1e18f8e1..db7cbcc1 100644 --- a/vcs/clearcase/clearcasefileinfoprovider.cpp +++ b/vcs/clearcase/clearcasefileinfoprovider.cpp @@ -11,13 +11,13 @@ // #include "clearcasefileinfoprovider.h" #include "clearcasepart.h" -#include "kdevversioncontrol.h" +#include "tdevversioncontrol.h" #include #include ClearcaseFileinfoProvider::ClearcaseFileinfoProvider(ClearcasePart *parent) - : KDevVCSFileInfoProvider( (KDevVersionControl*) parent, "clearcasefileinfoprovider") + : TDevVCSFileInfoProvider( (TDevVersionControl*) parent, "clearcasefileinfoprovider") { vcsInfo_ = NULL; diff --git a/vcs/clearcase/clearcasefileinfoprovider.h b/vcs/clearcase/clearcasefileinfoprovider.h index 0f6f7d06..4c29da44 100644 --- a/vcs/clearcase/clearcasefileinfoprovider.h +++ b/vcs/clearcase/clearcasefileinfoprovider.h @@ -19,7 +19,7 @@ /** @author KDevelop Authors */ -class ClearcaseFileinfoProvider : public KDevVCSFileInfoProvider +class ClearcaseFileinfoProvider : public TDevVCSFileInfoProvider { Q_OBJECT diff --git a/vcs/clearcase/clearcasemanipulator.h b/vcs/clearcase/clearcasemanipulator.h index 0cb795e3..42a5cee0 100644 --- a/vcs/clearcase/clearcasemanipulator.h +++ b/vcs/clearcase/clearcasemanipulator.h @@ -12,7 +12,7 @@ #ifndef CLEARCASEMANIPULATOR_H #define CLEARCASEMANIPULATOR_H -#include "kdevversioncontrol.h" +#include "tdevversioncontrol.h" #include diff --git a/vcs/clearcase/clearcasepart.cpp b/vcs/clearcase/clearcasepart.cpp index aeb1eea9..338675d5 100644 --- a/vcs/clearcase/clearcasepart.cpp +++ b/vcs/clearcase/clearcasepart.cpp @@ -17,33 +17,33 @@ #include #include -#include +#include #include #include #include #include -#include "kdevcore.h" -#include "kdevmakefrontend.h" -#include "kdevdifffrontend.h" -#include "kdevappfrontend.h" +#include "tdevcore.h" +#include "tdevmakefrontend.h" +#include "tdevdifffrontend.h" +#include "tdevappfrontend.h" #include "execcommand.h" #include "domutil.h" -#include "kdevmainwindow.h" -#include "kdevproject.h" -#include "kdevplugininfo.h" +#include "tdevmainwindow.h" +#include "tdevproject.h" +#include "tdevplugininfo.h" #include "clearcasefileinfoprovider.h" #include "clearcasemanipulator.h" -static const KDevPluginInfo data("kdevclearcase"); +static const TDevPluginInfo data("tdevclearcase"); -typedef KDevGenericFactory ClearcaseFactory; -K_EXPORT_COMPONENT_FACTORY( libkdevclearcase, ClearcaseFactory( data ) ) +typedef TDevGenericFactory ClearcaseFactory; +K_EXPORT_COMPONENT_FACTORY( libtdevclearcase, ClearcaseFactory( data ) ) ClearcasePart::ClearcasePart( TQObject *parent, const char *name, const TQStringList & ) - : KDevVersionControl( &data, parent, name ? name : "ClearcasePart" ), + : TDevVersionControl( &data, parent, name ? name : "ClearcasePart" ), default_checkin(""), default_checkout(""), default_uncheckout("-rm"), @@ -144,7 +144,7 @@ void ClearcasePart::slotCheckin() command += " "; command += KShellProcess::quote(name); - if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir, command); } @@ -176,7 +176,7 @@ void ClearcasePart::slotCheckout() command += " "; command += KShellProcess::quote(name); - if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir, command); emit finishedFetching(dir); @@ -199,7 +199,7 @@ void ClearcasePart::slotUncheckout() command += " "; command += KShellProcess::quote(name); - if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir, command); emit finishedFetching(dir); @@ -228,7 +228,7 @@ void ClearcasePart::slotCreate() command += " "; command += KShellProcess::quote(name); - if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir, command); emit finishedFetching(dir); @@ -255,7 +255,7 @@ void ClearcasePart::slotRemove() command += " "; command += KShellProcess::quote(name); - if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir, command); emit finishedFetching(dir); @@ -279,7 +279,7 @@ void ClearcasePart::slotListHistory() command += " "; command += KShellProcess::quote(name); - if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir, command); } @@ -333,7 +333,7 @@ void ClearcasePart::slotDiffFinished( const TQString& diff, const TQString& err return; } - if (KDevDiffFrontend *diffFrontend = extension("TDevelop/DiffFrontend")) + if (TDevDiffFrontend *diffFrontend = extension("TDevelop/DiffFrontend")) diffFrontend->showDiff( diff ); } @@ -354,7 +354,7 @@ void ClearcasePart::slotListCheckouts() command += " && cleartool lsco "; command += DomUtil::readEntry(dom, "/kdevclearcase/lscheckout_options", default_lscheckout); - if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir, command); } diff --git a/vcs/clearcase/clearcasepart.h b/vcs/clearcase/clearcasepart.h index be63e674..52129141 100644 --- a/vcs/clearcase/clearcasepart.h +++ b/vcs/clearcase/clearcasepart.h @@ -12,12 +12,12 @@ #ifndef _CLEARCASEPART_H_ #define _CLEARCASEPART_H_ -#include +#include class Context; class TQPopupMenu; -class ClearcasePart : public KDevVersionControl { +class ClearcasePart : public TDevVersionControl { Q_OBJECT @@ -36,7 +36,7 @@ public: virtual void createNewProject(const TQString& dir) {} virtual bool fetchFromRepository() { return true; } - virtual KDevVCSFileInfoProvider *fileInfoProvider() const { return fileInfoProvider_; } + virtual TDevVCSFileInfoProvider *fileInfoProvider() const { return fileInfoProvider_; } virtual bool isValidDirectory(const TQString &dirPath) const; private slots: @@ -60,7 +60,7 @@ private: TQString popupfile_; TQString viewname; - KDevVCSFileInfoProvider *fileInfoProvider_; + TDevVCSFileInfoProvider *fileInfoProvider_; }; #endif diff --git a/vcs/clearcase/integrator/CMakeLists.txt b/vcs/clearcase/integrator/CMakeLists.txt index ccc3348f..bd527272 100644 --- a/vcs/clearcase/integrator/CMakeLists.txt +++ b/vcs/clearcase/integrator/CMakeLists.txt @@ -26,7 +26,7 @@ link_directories( ##### other data ################################ -install( FILES kdevclearcaseintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevclearcaseintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) ##### libclearcaseintegrator (module) ########### @@ -35,6 +35,6 @@ tde_add_kpart( libclearcaseintegrator AUTOMOC SOURCES clearcaseintegrator.cpp ccintegratordlgbase.ui ccintegratordlg.cpp - LINK kdevextras-shared tdevelop-shared + LINK tdevextras-shared tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/vcs/clearcase/integrator/Makefile.am b/vcs/clearcase/integrator/Makefile.am index a9d50a98..98e39465 100644 --- a/vcs/clearcase/integrator/Makefile.am +++ b/vcs/clearcase/integrator/Makefile.am @@ -5,9 +5,9 @@ METASOURCES = AUTO kde_module_LTLIBRARIES = libclearcaseintegrator.la libclearcaseintegrator_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries) libclearcaseintegrator_la_LIBADD =\ - $(top_builddir)/lib/interfaces/extras/libkdevextras.la\ + $(top_builddir)/lib/interfaces/extras/libtdevextras.la\ $(top_builddir)/lib/libtdevelop.la -kde_services_DATA = kdevclearcaseintegrator.desktop +kde_services_DATA = tdevclearcaseintegrator.desktop noinst_HEADERS = clearcaseintegrator.h ccintegratordlg.h libclearcaseintegrator_la_SOURCES = clearcaseintegrator.cpp \ ccintegratordlgbase.ui ccintegratordlg.cpp diff --git a/vcs/clearcase/integrator/ccintegratordlg.h b/vcs/clearcase/integrator/ccintegratordlg.h index f427b2b3..2eb1e2e3 100644 --- a/vcs/clearcase/integrator/ccintegratordlg.h +++ b/vcs/clearcase/integrator/ccintegratordlg.h @@ -21,7 +21,7 @@ #define CCINTEGRATORDLG_H #include "ccintegratordlgbase.h" -#include +#include class CCIntegratorDlg: public CCIntegratorDlgBase, public VCSDialog { Q_OBJECT diff --git a/vcs/clearcase/integrator/clearcaseintegrator.cpp b/vcs/clearcase/integrator/clearcaseintegrator.cpp index 4e8c1a0b..f00783b4 100644 --- a/vcs/clearcase/integrator/clearcaseintegrator.cpp +++ b/vcs/clearcase/integrator/clearcaseintegrator.cpp @@ -19,19 +19,19 @@ ***************************************************************************/ #include "clearcaseintegrator.h" -#include -#include +#include +#include #include "ccintegratordlg.h" -static const KDevPluginInfo data("kdevclearcaseintegrator"); -typedef KDevGenericFactory ClearcaseIntegratorFactory; +static const TDevPluginInfo data("tdevclearcaseintegrator"); +typedef TDevGenericFactory ClearcaseIntegratorFactory; K_EXPORT_COMPONENT_FACTORY( libclearcaseintegrator, ClearcaseIntegratorFactory(data) ) ClearcaseIntegrator::ClearcaseIntegrator(TQObject* parent, const char* name, const TQStringList // args ) - :KDevVCSIntegrator(parent, name) + :TDevVCSIntegrator(parent, name) { } diff --git a/vcs/clearcase/integrator/clearcaseintegrator.h b/vcs/clearcase/integrator/clearcaseintegrator.h index 3859c1f9..4e431da6 100644 --- a/vcs/clearcase/integrator/clearcaseintegrator.h +++ b/vcs/clearcase/integrator/clearcaseintegrator.h @@ -20,11 +20,11 @@ #ifndef CLEARCASEINTEGRATOR_H #define CLEARCASEINTEGRATOR_H -#include +#include #include -class ClearcaseIntegrator : public KDevVCSIntegrator +class ClearcaseIntegrator : public TDevVCSIntegrator { Q_OBJECT diff --git a/vcs/clearcase/integrator/kdevclearcaseintegrator.desktop b/vcs/clearcase/integrator/kdevclearcaseintegrator.desktop deleted file mode 100644 index 4bc49cfc..00000000 --- a/vcs/clearcase/integrator/kdevclearcaseintegrator.desktop +++ /dev/null @@ -1,44 +0,0 @@ -[Desktop Entry] -Type=Service -Name=KDevClearcaseIntegrator -Name[da]=TDevelop Clearcase-integration -Name[nds]=TDevelop-Clearcase-Integreren -Name[sk]=KDev ClearCase integrácia -Name[sv]=TDevelop Clearcase-integration -Name[zh_TW]=TDevelop Clearcase 整合器 -Comment=Clearcase Project Integration Facility -Comment[ca]=Faciliat per a la integració amb projectes Clearcase -Comment[da]=Clearcase projektintegration -Comment[de]=Clearcase-Integration -Comment[el]=Λειτουργία ενσωμάτωσης Clearcase στο έργο -Comment[es]=Facilidad para integración con proyectos Clearcase -Comment[et]=Clearcase projekti põimimisvahend -Comment[eu]=Clearcase proiektu-integraziorako tresna -Comment[fa]=تسهیلات مجتمع‌سازی پروژۀ Clearcase -Comment[fr]=Fonction d'intégration pour un projet utilisant Clearcase -Comment[gl]=Utilidade para a integración de proxectos ClearCase -Comment[hu]=Integrálás Clearcase-projektekkel -Comment[it]=Funzione di integrazione del progetto ClearCase -Comment[ja]=Clearcase プロジェクト統合ツール -Comment[ms]=Kemudahan Integrasi Projek Clearcase -Comment[nds]=Projektintegreren för Clearcase -Comment[ne]=क्लेयरकेस परियोजना एकिकरण सुविधा -Comment[nl]=Clearcase-projectintegratie -Comment[pl]=Integracja z Clearcase -Comment[pt]=Integração com Projectos Clearcase -Comment[pt_BR]=Facilidade de Integração ao Projeto de Clearcase -Comment[ru]=Интеграция Clearcase -Comment[sk]=Integrácia ClearCase projektu -Comment[sr]=Интеграција Clearcase-а у пројекат -Comment[sr@Latn]=Integracija Clearcase-a u projekat -Comment[sv]=Funktion för integrering av Clearcase i projekt -Comment[tr]=Clearcase Proje Bütünleştirilmesi Aracı -Comment[zh_CN]=Clearcase 工程集成功能 -Comment[zh_TW]=Clearcase 專案整合工具 -Exec=blubb -ServiceTypes=TDevelop/VCSIntegrator -X-TDE-Library=libclearcaseintegrator -X-TDevelop-Default=false -X-TDevelop-VCS=ClearCase -X-TDevelop-VCSPlugin=kdevclearcase -X-TDevelop-Version=5 diff --git a/vcs/clearcase/integrator/tdevclearcaseintegrator.desktop b/vcs/clearcase/integrator/tdevclearcaseintegrator.desktop new file mode 100644 index 00000000..4bc49cfc --- /dev/null +++ b/vcs/clearcase/integrator/tdevclearcaseintegrator.desktop @@ -0,0 +1,44 @@ +[Desktop Entry] +Type=Service +Name=KDevClearcaseIntegrator +Name[da]=TDevelop Clearcase-integration +Name[nds]=TDevelop-Clearcase-Integreren +Name[sk]=KDev ClearCase integrácia +Name[sv]=TDevelop Clearcase-integration +Name[zh_TW]=TDevelop Clearcase 整合器 +Comment=Clearcase Project Integration Facility +Comment[ca]=Faciliat per a la integració amb projectes Clearcase +Comment[da]=Clearcase projektintegration +Comment[de]=Clearcase-Integration +Comment[el]=Λειτουργία ενσωμάτωσης Clearcase στο έργο +Comment[es]=Facilidad para integración con proyectos Clearcase +Comment[et]=Clearcase projekti põimimisvahend +Comment[eu]=Clearcase proiektu-integraziorako tresna +Comment[fa]=تسهیلات مجتمع‌سازی پروژۀ Clearcase +Comment[fr]=Fonction d'intégration pour un projet utilisant Clearcase +Comment[gl]=Utilidade para a integración de proxectos ClearCase +Comment[hu]=Integrálás Clearcase-projektekkel +Comment[it]=Funzione di integrazione del progetto ClearCase +Comment[ja]=Clearcase プロジェクト統合ツール +Comment[ms]=Kemudahan Integrasi Projek Clearcase +Comment[nds]=Projektintegreren för Clearcase +Comment[ne]=क्लेयरकेस परियोजना एकिकरण सुविधा +Comment[nl]=Clearcase-projectintegratie +Comment[pl]=Integracja z Clearcase +Comment[pt]=Integração com Projectos Clearcase +Comment[pt_BR]=Facilidade de Integração ao Projeto de Clearcase +Comment[ru]=Интеграция Clearcase +Comment[sk]=Integrácia ClearCase projektu +Comment[sr]=Интеграција Clearcase-а у пројекат +Comment[sr@Latn]=Integracija Clearcase-a u projekat +Comment[sv]=Funktion för integrering av Clearcase i projekt +Comment[tr]=Clearcase Proje Bütünleştirilmesi Aracı +Comment[zh_CN]=Clearcase 工程集成功能 +Comment[zh_TW]=Clearcase 專案整合工具 +Exec=blubb +ServiceTypes=TDevelop/VCSIntegrator +X-TDE-Library=libclearcaseintegrator +X-TDevelop-Default=false +X-TDevelop-VCS=ClearCase +X-TDevelop-VCSPlugin=kdevclearcase +X-TDevelop-Version=5 diff --git a/vcs/clearcase/kdevclearcase.desktop b/vcs/clearcase/kdevclearcase.desktop deleted file mode 100644 index 9b3df9df..00000000 --- a/vcs/clearcase/kdevclearcase.desktop +++ /dev/null @@ -1,82 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=A plugin that provides support for Rational ClearCase, a large version control and build management system. http://www.rational.com/products/clearcase/index.jsp -Comment[ca]=Un connector que proporciona suport per a ClearCase de Rational, un potent sistema de control de versions i gestió de compilacions. http://www.rational.com/products/clearcase/index.jsp -Comment[da]=Et plugin der sørger for støtte for Rational ClearCase, et stort versionskontrol og byggehåndteringssystem. http://www.rational.com/products/clearcase/index.jsp -Comment[de]=Eine Komponente, die eine Schnittstelle zu Rational ClearCase zur Verfügung stellt, einem umfangreichen Werkzeug zur Verwaltung von Versionen und Erstellungsvorgängen. http://www.rational.com/products/clearcase/index.jsp -Comment[el]=Ένα πρόσθετο που προσφέρει υποστήριξη για το Rational ClearCase, ένα μεγάλο σύστημα διαχείρισης ελέγχου εκδόσεων και κατασκευής. http://www.rational.com/products/clearcase/index.jsp -Comment[es]=Un complemento que proporciona soporte para Rational ClearCase, un potente sistema de control de versiones y administración de compilaciones (http://www.rational.com/products/clearcase/index.jsp) -Comment[et]=See plugin pakub suure versioonikontrolli ja ehitamise haldamise süsteemi Rational ClearCase toetust. http://www.rational.com/products/clearcase/index.jsp -Comment[eu]=Rational ClearCase euskarri plugin bat. ClearCase bertsio kontrol eta eraikuntza kudeaketa sistema handi bat da. http://www.rational.com/products/clearcase/index.jsp -Comment[fa]=وصله‌ای که پشتیبانی برای Rational ClearCase، یک کنترل نسخۀ بزرگ و سیستم مدیریت ساختن فراهم ‌می‌کند. http://www.rational.com/products/clearcase/index.jsp -Comment[fr]=Un module externe qui offre une prise en charge pour Rational ClearCase, un puissant système de contrôle de versions et de gestion de compilation. http://www.rational.com/products/clearcase/index.jsp -Comment[gl]=Extensión que proporciona soporte para Rational ClearCase, un gran sistema de control de versións e xestión da compilación. http://www.rational.com/products/clearcase/index.jsp -Comment[hu]=Bővítőmodul a Rational ClearCase komplex verziókövető rendszerhez. http://www.rational.com/products/clearcase/index.jsp -Comment[it]=Un plugin che offre il supporto per Rational ClearCase, un sistema molto vasto per il controllo di versione e la compilazione. http://www.rational.com/products/clearcase/index.jsp -Comment[ja]=大規模なバージョンコントロールやビルド管理システムの合理的な ClearCase の支援を提供するプラグイン。http://www.rational.com/products/clearcase/index.jsp -Comment[ms]=Plugin yang menyediakan sokongan untuk Rational ClearCase, sistem kawalan versi dan pengurus pembinaan yang besar. http://www.rational.com/products/clearcase/index.jsp -Comment[nds]=En Moduul, dat Ünnerstütten för "Rational ClearCase" praatstellt, en groot Verschoonkuntrull- un Opstellen-Pleegsysteem. http://www.rational.com/products/clearcase/index.jsp -Comment[ne]=एउटा प्लगइन जसले र्यासनल क्लेयरकेस, एउटा ठूलो संस्करण नियन्त्रण र निर्माण व्यवस्थापन प्रणालीका लागि समर्थन प्रदान गर्दछ । http://www.rational.com/products/clearcase/index.jsp -Comment[nl]=Een plugin die ondersteuning biedt voor Rational ClearCase, een omvangrijk versiebeheer en buildmanagement-systeem. Zie http://www.rational.com/products/clearcase/index.jsp -Comment[pl]=Wtyczka udostępniająca obsługę Rational ClearCase, dużego systemu kontroli wersji i zarządzania budowaniem. http://www.rational.com/products/clearcase/index.jsp -Comment[pt]=Um 'plugin' que oferece o suporte para o ClearCase da Rational, um sistema grande de controlo de versões e de gestão de compilações. http://www.rational.com/products/clearcase/index.jsp -Comment[pt_BR]=Um plug-in que fornece suporte para o Rational ClearCase, um grande sistema de controle de versão e gerenciamento de compilação. http://www.rational.com/products/clearcase/index.jsp -Comment[ru]=Модуль поддержки Rational ClearCase, мощной системы контроля версий и управления проектом. http://www.rational.com/products/clearcase/index.jsp -Comment[sk]=Modul poskytuje podporu pre Rational ClearCase, riadenie verzií a projektový manažment. -Comment[sl]=Vstavek, ki omogoča podporo za Rational ClearCase, velik sistem za upravljanje z različicami in grajenjem. http://www.rational.com/products/clearcase/index.jsp -Comment[sr]=Прикључак који обезбеђује подршку за Rational-ов ClearCase, велики систем за контролу верзија и управљање градњом. http://www.rational.com/products/clearcase/index.jsp -Comment[sr@Latn]=Priključak koji obezbeđuje podršku za Rational-ov ClearCase, veliki sistem za kontrolu verzija i upravljanje gradnjom. http://www.rational.com/products/clearcase/index.jsp -Comment[sv]=Ett insticksprogram som stöder Rational ClearCase, ett omfattande versions- och bygghanteringssystem. http://www.rational.com/products/clearcase/index.jsp -Comment[ta]=சொருகி ரெஷியனல் தெளிவான எழுத்தை ஆதரிக்கும்,கடைசி பதிப்பை இயக்க மற்றும் மேலாளர் அமைப்பை கட்ட.http://www.rational.com/products/clearcase/index.jsp -Comment[tg]=Модули тарафдори Rational ClearCase, барномаи назораткунандаи калони тафсир ва идоракунии лоиҳаҳо мебошад.http://www.rational.com/products/clearcase/index.jsp -Comment[tr]=Mantıksal ClearCase, büyük bir kontrol ve yapım yönetim sistemi, için destek sağlayan bir eklenti. http://www.rational.com/products/clearcase/index.jsp -Comment[zh_CN]=提供 Rational ClearCase 支持,一个大型的版本控制和编译管理系统。http://www.rational.com/products/clearcase/index.jsp -Comment[zh_TW]=提供支援 Rational ClearCase,大型的版本控制與建立管理系統的外掛程式。http://www.rational.com/products/clearcase/index.jsp -Name=KDevClearCase -Name[da]=TDevelop ClearCase -Name[de]=Unterstützung für ClearCase (TDevelop) -Name[hi]=के-डेव-क्लीयर-केस -Name[nds]=ClearCase-Ünnerstütten för TDevelop -Name[sk]=KDev ClearCase -Name[sv]=TDevelop ClearCase -Name[ta]=KDevதெளிவானஎழுத்து -Name[zh_TW]=TDevelop ClearCase -GenericName=ClearCase Integration -GenericName[ca]=Integració amb ClearClase -GenericName[da]=ClearCase integration -GenericName[de]=ClearCase-Integration -GenericName[el]=Ενσωμάτωση ClearCase -GenericName[es]=Integración con ClearClase -GenericName[et]=ClearCase'i integratsioon -GenericName[eu]=ClearCase integrazioa -GenericName[fa]=مجتمع‌سازی ClearCase -GenericName[fr]=Intégration de « ClearCase » -GenericName[ga]=Comhtháthú ClearCase -GenericName[gl]=Integración de ClearCase -GenericName[hi]=क्लीयर-केस इंटीग्रेशन -GenericName[hu]=ClearCase-integráció -GenericName[it]=Integrazione di ClearCase -GenericName[ja]=ClearCase 統合 -GenericName[ms]=Intergrasi ClearCase -GenericName[nds]=ClearCase-Integreren -GenericName[ne]=क्लेयरकेस एकिकरण -GenericName[nl]=ClearCase-integratie -GenericName[pl]=Integracja z ClearCase -GenericName[pt]=Integração com o ClearCase -GenericName[pt_BR]=Integração com o ClearCase -GenericName[ru]=Интеграция ClearCase -GenericName[sk]=Integrácia ClearCase -GenericName[sl]=Integracija ClearCase -GenericName[sr]=Интеграција ClearCase-а -GenericName[sr@Latn]=Integracija ClearCase-a -GenericName[sv]=Integrering av ClearCase -GenericName[ta]=தெளிவான எழுத்து ஒருங்கிணைப்பு -GenericName[tg]=Интегратсияи ClearCase -GenericName[tr]=ClearCase Bütünleştirmesi -GenericName[zh_CN]=ClearCase集成 -GenericName[zh_TW]=ClearCase 整合 -ServiceTypes=TDevelop/VersionControl -X-TDE-Library=libkdevclearcase -X-TDevelop-Version=5 -X-TDevelop-Properties=VCS,ClearcaseVCS diff --git a/vcs/clearcase/tdevclearcase.desktop b/vcs/clearcase/tdevclearcase.desktop new file mode 100644 index 00000000..687e5c67 --- /dev/null +++ b/vcs/clearcase/tdevclearcase.desktop @@ -0,0 +1,82 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=A plugin that provides support for Rational ClearCase, a large version control and build management system. http://www.rational.com/products/clearcase/index.jsp +Comment[ca]=Un connector que proporciona suport per a ClearCase de Rational, un potent sistema de control de versions i gestió de compilacions. http://www.rational.com/products/clearcase/index.jsp +Comment[da]=Et plugin der sørger for støtte for Rational ClearCase, et stort versionskontrol og byggehåndteringssystem. http://www.rational.com/products/clearcase/index.jsp +Comment[de]=Eine Komponente, die eine Schnittstelle zu Rational ClearCase zur Verfügung stellt, einem umfangreichen Werkzeug zur Verwaltung von Versionen und Erstellungsvorgängen. http://www.rational.com/products/clearcase/index.jsp +Comment[el]=Ένα πρόσθετο που προσφέρει υποστήριξη για το Rational ClearCase, ένα μεγάλο σύστημα διαχείρισης ελέγχου εκδόσεων και κατασκευής. http://www.rational.com/products/clearcase/index.jsp +Comment[es]=Un complemento que proporciona soporte para Rational ClearCase, un potente sistema de control de versiones y administración de compilaciones (http://www.rational.com/products/clearcase/index.jsp) +Comment[et]=See plugin pakub suure versioonikontrolli ja ehitamise haldamise süsteemi Rational ClearCase toetust. http://www.rational.com/products/clearcase/index.jsp +Comment[eu]=Rational ClearCase euskarri plugin bat. ClearCase bertsio kontrol eta eraikuntza kudeaketa sistema handi bat da. http://www.rational.com/products/clearcase/index.jsp +Comment[fa]=وصله‌ای که پشتیبانی برای Rational ClearCase، یک کنترل نسخۀ بزرگ و سیستم مدیریت ساختن فراهم ‌می‌کند. http://www.rational.com/products/clearcase/index.jsp +Comment[fr]=Un module externe qui offre une prise en charge pour Rational ClearCase, un puissant système de contrôle de versions et de gestion de compilation. http://www.rational.com/products/clearcase/index.jsp +Comment[gl]=Extensión que proporciona soporte para Rational ClearCase, un gran sistema de control de versións e xestión da compilación. http://www.rational.com/products/clearcase/index.jsp +Comment[hu]=Bővítőmodul a Rational ClearCase komplex verziókövető rendszerhez. http://www.rational.com/products/clearcase/index.jsp +Comment[it]=Un plugin che offre il supporto per Rational ClearCase, un sistema molto vasto per il controllo di versione e la compilazione. http://www.rational.com/products/clearcase/index.jsp +Comment[ja]=大規模なバージョンコントロールやビルド管理システムの合理的な ClearCase の支援を提供するプラグイン。http://www.rational.com/products/clearcase/index.jsp +Comment[ms]=Plugin yang menyediakan sokongan untuk Rational ClearCase, sistem kawalan versi dan pengurus pembinaan yang besar. http://www.rational.com/products/clearcase/index.jsp +Comment[nds]=En Moduul, dat Ünnerstütten för "Rational ClearCase" praatstellt, en groot Verschoonkuntrull- un Opstellen-Pleegsysteem. http://www.rational.com/products/clearcase/index.jsp +Comment[ne]=एउटा प्लगइन जसले र्यासनल क्लेयरकेस, एउटा ठूलो संस्करण नियन्त्रण र निर्माण व्यवस्थापन प्रणालीका लागि समर्थन प्रदान गर्दछ । http://www.rational.com/products/clearcase/index.jsp +Comment[nl]=Een plugin die ondersteuning biedt voor Rational ClearCase, een omvangrijk versiebeheer en buildmanagement-systeem. Zie http://www.rational.com/products/clearcase/index.jsp +Comment[pl]=Wtyczka udostępniająca obsługę Rational ClearCase, dużego systemu kontroli wersji i zarządzania budowaniem. http://www.rational.com/products/clearcase/index.jsp +Comment[pt]=Um 'plugin' que oferece o suporte para o ClearCase da Rational, um sistema grande de controlo de versões e de gestão de compilações. http://www.rational.com/products/clearcase/index.jsp +Comment[pt_BR]=Um plug-in que fornece suporte para o Rational ClearCase, um grande sistema de controle de versão e gerenciamento de compilação. http://www.rational.com/products/clearcase/index.jsp +Comment[ru]=Модуль поддержки Rational ClearCase, мощной системы контроля версий и управления проектом. http://www.rational.com/products/clearcase/index.jsp +Comment[sk]=Modul poskytuje podporu pre Rational ClearCase, riadenie verzií a projektový manažment. +Comment[sl]=Vstavek, ki omogoča podporo za Rational ClearCase, velik sistem za upravljanje z različicami in grajenjem. http://www.rational.com/products/clearcase/index.jsp +Comment[sr]=Прикључак који обезбеђује подршку за Rational-ов ClearCase, велики систем за контролу верзија и управљање градњом. http://www.rational.com/products/clearcase/index.jsp +Comment[sr@Latn]=Priključak koji obezbeđuje podršku za Rational-ov ClearCase, veliki sistem za kontrolu verzija i upravljanje gradnjom. http://www.rational.com/products/clearcase/index.jsp +Comment[sv]=Ett insticksprogram som stöder Rational ClearCase, ett omfattande versions- och bygghanteringssystem. http://www.rational.com/products/clearcase/index.jsp +Comment[ta]=சொருகி ரெஷியனல் தெளிவான எழுத்தை ஆதரிக்கும்,கடைசி பதிப்பை இயக்க மற்றும் மேலாளர் அமைப்பை கட்ட.http://www.rational.com/products/clearcase/index.jsp +Comment[tg]=Модули тарафдори Rational ClearCase, барномаи назораткунандаи калони тафсир ва идоракунии лоиҳаҳо мебошад.http://www.rational.com/products/clearcase/index.jsp +Comment[tr]=Mantıksal ClearCase, büyük bir kontrol ve yapım yönetim sistemi, için destek sağlayan bir eklenti. http://www.rational.com/products/clearcase/index.jsp +Comment[zh_CN]=提供 Rational ClearCase 支持,一个大型的版本控制和编译管理系统。http://www.rational.com/products/clearcase/index.jsp +Comment[zh_TW]=提供支援 Rational ClearCase,大型的版本控制與建立管理系統的外掛程式。http://www.rational.com/products/clearcase/index.jsp +Name=KDevClearCase +Name[da]=TDevelop ClearCase +Name[de]=Unterstützung für ClearCase (TDevelop) +Name[hi]=के-डेव-क्लीयर-केस +Name[nds]=ClearCase-Ünnerstütten för TDevelop +Name[sk]=KDev ClearCase +Name[sv]=TDevelop ClearCase +Name[ta]=KDevதெளிவானஎழுத்து +Name[zh_TW]=TDevelop ClearCase +GenericName=ClearCase Integration +GenericName[ca]=Integració amb ClearClase +GenericName[da]=ClearCase integration +GenericName[de]=ClearCase-Integration +GenericName[el]=Ενσωμάτωση ClearCase +GenericName[es]=Integración con ClearClase +GenericName[et]=ClearCase'i integratsioon +GenericName[eu]=ClearCase integrazioa +GenericName[fa]=مجتمع‌سازی ClearCase +GenericName[fr]=Intégration de « ClearCase » +GenericName[ga]=Comhtháthú ClearCase +GenericName[gl]=Integración de ClearCase +GenericName[hi]=क्लीयर-केस इंटीग्रेशन +GenericName[hu]=ClearCase-integráció +GenericName[it]=Integrazione di ClearCase +GenericName[ja]=ClearCase 統合 +GenericName[ms]=Intergrasi ClearCase +GenericName[nds]=ClearCase-Integreren +GenericName[ne]=क्लेयरकेस एकिकरण +GenericName[nl]=ClearCase-integratie +GenericName[pl]=Integracja z ClearCase +GenericName[pt]=Integração com o ClearCase +GenericName[pt_BR]=Integração com o ClearCase +GenericName[ru]=Интеграция ClearCase +GenericName[sk]=Integrácia ClearCase +GenericName[sl]=Integracija ClearCase +GenericName[sr]=Интеграција ClearCase-а +GenericName[sr@Latn]=Integracija ClearCase-a +GenericName[sv]=Integrering av ClearCase +GenericName[ta]=தெளிவான எழுத்து ஒருங்கிணைப்பு +GenericName[tg]=Интегратсияи ClearCase +GenericName[tr]=ClearCase Bütünleştirmesi +GenericName[zh_CN]=ClearCase集成 +GenericName[zh_TW]=ClearCase 整合 +ServiceTypes=TDevelop/VersionControl +X-TDE-Library=libtdevclearcase +X-TDevelop-Version=5 +X-TDevelop-Properties=VCS,ClearcaseVCS diff --git a/vcs/cvsservice/CMakeLists.txt b/vcs/cvsservice/CMakeLists.txt index dc50d646..c8cd2b35 100644 --- a/vcs/cvsservice/CMakeLists.txt +++ b/vcs/cvsservice/CMakeLists.txt @@ -30,14 +30,14 @@ link_directories( ##### other data ################################ tde_install_icons( ) -install( FILES kdevcvsservice.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES kdev_cvs.png DESTINATION ${DATA_INSTALL_DIR}/kdevcvsservice/pics ) -install( FILES buildcvs.sh DESTINATION ${DATA_INSTALL_DIR}/kdevcvsservice ) +install( FILES tdevcvsservice.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdev_cvs.png DESTINATION ${DATA_INSTALL_DIR}/tdevcvsservice/pics ) +install( FILES buildcvs.sh DESTINATION ${DATA_INSTALL_DIR}/tdevcvsservice ) -##### libkdevcvsservice (module) ################ +##### libtdevcvsservice (module) ################ -tde_add_kpart( libkdevcvsservice AUTOMOC +tde_add_kpart( libtdevcvsservice AUTOMOC SOURCES cvspart.cpp cvspartimpl.cpp cvsformbase.ui cvsform.cpp commitdialogbase.ui commitdlg.cpp cvsoptionswidgetbase.ui @@ -52,7 +52,7 @@ tde_add_kpart( libkdevcvsservice AUTOMOC editorsdialogbase.ui editorsdialog.cpp annotatedialog.cpp annotatepage.cpp annotateview.cpp LINK - kdevextensions-static kdevwidgets-shared tdevelop-shared + tdevextensions-static tdevwidgets-shared tdevelop-shared cvsservice tdehtml-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/vcs/cvsservice/Makefile.am b/vcs/cvsservice/Makefile.am index 63560056..3ce9dc40 100644 --- a/vcs/cvsservice/Makefile.am +++ b/vcs/cvsservice/Makefile.am @@ -3,12 +3,12 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets $(all_includes) -I$(kde_includes)/tde -kde_module_LTLIBRARIES = libkdevcvsservice.la -libkdevcvsservice_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevcvsservice_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ - $(top_builddir)/lib/widgets/libkdevwidgets.la $(LIB_TDEHTML) -lcvsservice $(top_builddir)/lib/interfaces/extensions/libkdevextensions.la +kde_module_LTLIBRARIES = libtdevcvsservice.la +libtdevcvsservice_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevcvsservice_la_LIBADD = $(top_builddir)/lib/libtdevelop.la \ + $(top_builddir)/lib/widgets/libtdevwidgets.la $(LIB_TDEHTML) -lcvsservice $(top_builddir)/lib/interfaces/extensions/libtdevextensions.la -libkdevcvsservice_la_SOURCES = cvspart.cpp cvspartimpl.cpp cvsformbase.ui \ +libtdevcvsservice_la_SOURCES = cvspart.cpp cvspartimpl.cpp cvsformbase.ui \ cvsform.cpp commitdialogbase.ui commitdlg.cpp cvsoptionswidgetbase.ui \ cvsoptionswidget.cpp cvsprocesswidget.cpp cvsentry.cpp cvsdir.cpp changelog.cpp \ cvsoptions.cpp checkoutdialogbase.ui checkoutdialog.cpp tagdialog.cpp tagdialogbase.ui \ @@ -29,12 +29,12 @@ METASOURCES = AUTO ICONS = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevcvsservice.desktop +service_DATA = tdevcvsservice.desktop -servicepicsdir = $(kde_datadir)/kdevcvsservice/pics -servicepics_DATA = kdev_cvs.png +servicepicsdir = $(kde_datadir)/tdevcvsservice/pics +servicepics_DATA = tdev_cvs.png -rcdir = $(kde_datadir)/kdevcvsservice +rcdir = $(kde_datadir)/tdevcvsservice rc_DATA = buildcvs.sh SUBDIRS = integrator diff --git a/vcs/cvsservice/README.dox b/vcs/cvsservice/README.dox index 1ff0b528..bb6dfd60 100644 --- a/vcs/cvsservice/README.dox +++ b/vcs/cvsservice/README.dox @@ -37,7 +37,7 @@ Implementation of this component is done by: one wants to perform: exception to this are the cvslog* classes which do start cvs jobs independently archiving parallelism with the CvsProcesssWidget. - CVSDir and CVSEntry provide abstraction for accessing to local CVS information - - CVSFileInfoProvider is an implementation of KDevVCSFileInfoProvider interface + - CVSFileInfoProvider is an implementation of TDevVCSFileInfoProvider interface and collects data about files stats: for CVS, both synch (fetch data from local sandbox) and asynch (fetch from repository server) are working with some minor bugs in the parsing of 'cvs status' output for the latter. (Sync means that information are collected diff --git a/vcs/cvsservice/bufferedstringreader.h b/vcs/cvsservice/bufferedstringreader.h index c7548b59..05ce6ad6 100644 --- a/vcs/cvsservice/bufferedstringreader.h +++ b/vcs/cvsservice/bufferedstringreader.h @@ -16,7 +16,7 @@ class CvsServicePart; class TDEConfig; -class KDevProject; +class TDevProject; /* This class helps when we have to collect a string list from a text * stream, just as many cvs commands do. The problem is that the these commands diff --git a/vcs/cvsservice/cvsentry.h b/vcs/cvsservice/cvsentry.h index 9a2e4d6d..d4e51de8 100644 --- a/vcs/cvsservice/cvsentry.h +++ b/vcs/cvsservice/cvsentry.h @@ -15,7 +15,7 @@ #include #include -#include +#include class CVSDir; diff --git a/vcs/cvsservice/cvsfileinfoprovider.cpp b/vcs/cvsservice/cvsfileinfoprovider.cpp index cbfc726f..2e0c960a 100644 --- a/vcs/cvsservice/cvsfileinfoprovider.cpp +++ b/vcs/cvsservice/cvsfileinfoprovider.cpp @@ -15,7 +15,7 @@ #include #include -#include +#include #include #include @@ -32,7 +32,7 @@ /////////////////////////////////////////////////////////////////////////////// CVSFileInfoProvider::CVSFileInfoProvider( CvsServicePart *parent, CvsService_stub *cvsService ) - : KDevVCSFileInfoProvider( parent, "cvsfileinfoprovider" ), + : TDevVCSFileInfoProvider( parent, "cvsfileinfoprovider" ), m_requestStatusJob( 0 ), m_cvsService( cvsService ), m_cachedDirEntries( 0 ) { connect( this, TQT_SIGNAL(needStatusUpdate(const CVSDir&)), this, TQT_SLOT(updateStatusFor(const CVSDir&))); diff --git a/vcs/cvsservice/cvsfileinfoprovider.h b/vcs/cvsservice/cvsfileinfoprovider.h index 8bc3a6fe..09b7b9b8 100644 --- a/vcs/cvsservice/cvsfileinfoprovider.h +++ b/vcs/cvsservice/cvsfileinfoprovider.h @@ -14,7 +14,7 @@ #include -#include +#include #include "cvsservicedcopIface.h" #include "cvsdir.h" #include "bufferedstringreader.h" @@ -28,7 +28,7 @@ Provider for CVS file information @author Mario Scalas */ -class CVSFileInfoProvider : public KDevVCSFileInfoProvider, virtual public CVSServiceDCOPIface +class CVSFileInfoProvider : public TDevVCSFileInfoProvider, virtual public CVSServiceDCOPIface { Q_OBJECT diff --git a/vcs/cvsservice/cvsoptions.cpp b/vcs/cvsservice/cvsoptions.cpp index 2cdf5c92..6511a38f 100644 --- a/vcs/cvsservice/cvsoptions.cpp +++ b/vcs/cvsservice/cvsoptions.cpp @@ -17,7 +17,7 @@ #include #include "domutil.h" -#include "kdevproject.h" +#include "tdevproject.h" #include "cvsoptions.h" /////////////////////////////////////////////////////////////////////////////// @@ -80,9 +80,9 @@ CvsOptions* CvsOptions::instance() /////////////////////////////////////////////////////////////////////////////// -void CvsOptions::save( KDevProject *project ) +void CvsOptions::save( TDevProject *project ) { - kdDebug( 9006 ) << " **** CvsOptions::save( KDevProject* ) here" << endl; + kdDebug( 9006 ) << " **** CvsOptions::save( TDevProject* ) here" << endl; Q_ASSERT( project ); TQDomDocument &dom = *project->projectDom(); @@ -105,9 +105,9 @@ void CvsOptions::save( KDevProject *project ) /////////////////////////////////////////////////////////////////////////////// -void CvsOptions::load( KDevProject *project ) +void CvsOptions::load( TDevProject *project ) { - kdDebug( 9006 ) << " **** CvsOptions::load( KDevProject* ) here" << endl; + kdDebug( 9006 ) << " **** CvsOptions::load( TDevProject* ) here" << endl; Q_ASSERT( project ); TQDomDocument &dom = *project->projectDom(); diff --git a/vcs/cvsservice/cvsoptions.h b/vcs/cvsservice/cvsoptions.h index c4daf301..f54e6273 100644 --- a/vcs/cvsservice/cvsoptions.h +++ b/vcs/cvsservice/cvsoptions.h @@ -17,7 +17,7 @@ class CvsServicePart; class TDEConfig; -class KDevProject; +class TDevProject; /* This class represents the command line options for the used cvs commands. * It uses the singleton pattern. @@ -32,9 +32,9 @@ public: virtual ~CvsOptions(); - void save( KDevProject *project ); + void save( TDevProject *project ); /// \FIXME parameter should be const!! - void load( KDevProject *project ); + void load( TDevProject *project ); void setRecursiveWhenCommitRemove( bool b ); bool recursiveWhenCommitRemove() const; diff --git a/vcs/cvsservice/cvspart.cpp b/vcs/cvsservice/cvspart.cpp index 2bda55f1..276a4d15 100644 --- a/vcs/cvsservice/cvspart.cpp +++ b/vcs/cvsservice/cvspart.cpp @@ -37,17 +37,17 @@ #include #include -#include -#include - -#include "kdevcore.h" -#include "kdevmakefrontend.h" -#include "kdevdifffrontend.h" -#include "kdevappfrontend.h" -#include "kdevplugininfo.h" +#include +#include + +#include "tdevcore.h" +#include "tdevmakefrontend.h" +#include "tdevdifffrontend.h" +#include "tdevappfrontend.h" +#include "tdevplugininfo.h" #include "domutil.h" -#include "kdevmainwindow.h" -#include "kdevproject.h" +#include "tdevmainwindow.h" +#include "tdevproject.h" #include "urlutil.h" #include "cvsform.h" @@ -72,16 +72,16 @@ bool g_projectWasJustCreated = false; // Plugin factory /////////////////////////////////////////////////////////////////////////////// -static const KDevPluginInfo data("kdevcvsservice"); -typedef KDevGenericFactory CvsFactory; -K_EXPORT_COMPONENT_FACTORY( libkdevcvsservice, CvsFactory( data ) ) +static const TDevPluginInfo data("tdevcvsservice"); +typedef TDevGenericFactory CvsFactory; +K_EXPORT_COMPONENT_FACTORY( libtdevcvsservice, CvsFactory( data ) ) /////////////////////////////////////////////////////////////////////////////// // class CvsServicePart /////////////////////////////////////////////////////////////////////////////// CvsServicePart::CvsServicePart( TQObject *parent, const char *name, const TQStringList & ) - : KDevVersionControl( &data, parent, + : TDevVersionControl( &data, parent, name ? name : "CvsService" ), actionCommit( 0 ), actionDiff( 0 ), actionLog( 0 ), actionAnnotate(0), actionAdd( 0 ), actionAddBinary( 0 ), actionRemove( 0 ), actionUpdate( 0 ), @@ -126,10 +126,10 @@ void CvsServicePart::init() this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) ); connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQT_SLOT(projectConfigWidget(KDialogBase*)) ); - connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)), - this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) ); + connect( core(), TQT_SIGNAL(stopButtonClicked(TDevPlugin*)), + this, TQT_SLOT(slotStopButtonClicked(TDevPlugin*)) ); - m_impl->m_widget->setIcon( UserIcon( "kdev_cvs", TDEIcon::DefaultState, CvsFactory::instance()) ); + m_impl->m_widget->setIcon( UserIcon( "tdev_cvs", TDEIcon::DefaultState, CvsFactory::instance()) ); TQWhatsThis::add( m_impl->processWidget(), i18n("CVS

Concurrent Versions System operations window. Shows output of Cervisia CVS Service.") ); m_impl->processWidget()->setCaption(i18n("CvsService Output")); mainWindow()->embedOutputView( m_impl->processWidget(), i18n("CvsService"), i18n("cvs output") ); @@ -243,7 +243,7 @@ bool CvsServicePart::fetchFromRepository() /////////////////////////////////////////////////////////////////////////////// -KDevVCSFileInfoProvider *CvsServicePart::fileInfoProvider() const +TDevVCSFileInfoProvider *CvsServicePart::fileInfoProvider() const { return m_impl->fileInfoProvider(); } @@ -704,7 +704,7 @@ void CvsServicePart::slotRemoveFromIgnoreList() /////////////////////////////////////////////////////////////////////////////// -void CvsServicePart::slotStopButtonClicked( KDevPlugin* which ) +void CvsServicePart::slotStopButtonClicked( TDevPlugin* which ) { if ( which != 0 && which != this ) return; diff --git a/vcs/cvsservice/cvspart.h b/vcs/cvsservice/cvspart.h index e2df8ce0..61015fda 100644 --- a/vcs/cvsservice/cvspart.h +++ b/vcs/cvsservice/cvspart.h @@ -17,7 +17,7 @@ #include #include #include -#include "kdevversioncontrol.h" +#include "tdevversioncontrol.h" class Context; class TQPopupMenu; @@ -34,7 +34,7 @@ class CvsService_stub; class Repository_stub; class CvsServicePartImpl; -class CvsServicePart : public KDevVersionControl +class CvsServicePart : public TDevVersionControl { Q_OBJECT @@ -63,7 +63,7 @@ public: /** * @return the info provider for VCS sandboxes */ - virtual KDevVCSFileInfoProvider *fileInfoProvider() const; + virtual TDevVCSFileInfoProvider *fileInfoProvider() const; /** * @param dirPath absolute path of the directory * @return true if the the directory is a valid CVS sandbox @@ -129,7 +129,7 @@ private slots: void projectConfigWidget( KDialogBase *dlg ); //! Called when the user wishes to stop an operation. - void slotStopButtonClicked( KDevPlugin* ); + void slotStopButtonClicked( TDevPlugin* ); private slots: void init(); diff --git a/vcs/cvsservice/cvspartimpl.cpp b/vcs/cvsservice/cvspartimpl.cpp index 01c85df3..112ea997 100644 --- a/vcs/cvsservice/cvspartimpl.cpp +++ b/vcs/cvsservice/cvspartimpl.cpp @@ -29,12 +29,12 @@ #include // KDevelop SDK stuff #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include // Part's widgets #include "cvsprocesswidget.h" #include "checkoutdialog.h" @@ -309,7 +309,7 @@ CvsProcessWidget *CvsServicePartImpl::processWidget() const /////////////////////////////////////////////////////////////////////////////// -KDevMainWindow *CvsServicePartImpl::mainWindow() const +TDevMainWindow *CvsServicePartImpl::mainWindow() const { return m_part->mainWindow(); } @@ -323,16 +323,16 @@ TQString CvsServicePartImpl::projectDirectory() const /////////////////////////////////////////////////////////////////////////////// -KDevCore *CvsServicePartImpl::core() const +TDevCore *CvsServicePartImpl::core() const { return m_part->core(); } /////////////////////////////////////////////////////////////////////////////// -KDevDiffFrontend *CvsServicePartImpl::diffFrontend() const +TDevDiffFrontend *CvsServicePartImpl::diffFrontend() const { - return m_part->extension("TDevelop/DiffFrontend"); + return m_part->extension("TDevelop/DiffFrontend"); } /////////////////////////////////////////////////////////////////////////////// @@ -774,7 +774,7 @@ void CvsServicePartImpl::createNewProject( const TQString &dirName, kdDebug( 9006 ) << " ** Will run the following command: " << endl << cmdLine << endl; kdDebug( 9006 ) << " ** on directory: " << dirName << endl; - if (KDevMakeFrontend *makeFrontend = m_part->extension("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = m_part->extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand( dirName, cmdLine ); } @@ -902,7 +902,7 @@ void CvsServicePartImpl::emitFileStateModified( const KURL::List &/*urls*/, VCSF /////////////////////////////////////////////////////////////////////////////// -KDevVCSFileInfoProvider *CvsServicePartImpl::fileInfoProvider() const +TDevVCSFileInfoProvider *CvsServicePartImpl::fileInfoProvider() const { return m_fileInfoProvider; } diff --git a/vcs/cvsservice/cvspartimpl.h b/vcs/cvsservice/cvspartimpl.h index ade7ffe4..32ee04f5 100644 --- a/vcs/cvsservice/cvspartimpl.h +++ b/vcs/cvsservice/cvspartimpl.h @@ -17,18 +17,18 @@ #include #include -#include +#include class CvsServicePart; class KDialogBase; class KURL; class CvsProcessWidget; -class KDevMainWindow; -class KDevCore; -class KDevDiffFrontend; +class TDevMainWindow; +class TDevCore; +class TDevDiffFrontend; class TQDir; class JobScheduler; -class KDevVCSFileInfoProvider; +class TDevVCSFileInfoProvider; class CVSFileInfoProvider; /** @@ -183,7 +183,7 @@ public: /** * @return a reference to the custom FileInforProvider object (FORWARDER) */ - KDevVCSFileInfoProvider *fileInfoProvider() const; + TDevVCSFileInfoProvider *fileInfoProvider() const; // Helpers @@ -309,10 +309,10 @@ private: static const TQString changeLogPrependString; // Internal short-cuts - KDevMainWindow *mainWindow() const; - KDevCore *core() const; + TDevMainWindow *mainWindow() const; + TDevCore *core() const; TQString projectDirectory() const; - KDevDiffFrontend *diffFrontend() const; + TDevDiffFrontend *diffFrontend() const; /** Locate and setup DCOP CvsService */ bool requestCvsService(); diff --git a/vcs/cvsservice/cvsprocesswidget.cpp b/vcs/cvsservice/cvsprocesswidget.cpp index bb8fb459..e218e00e 100644 --- a/vcs/cvsservice/cvsprocesswidget.cpp +++ b/vcs/cvsservice/cvsprocesswidget.cpp @@ -18,9 +18,9 @@ #include #include -#include "kdevpartcontroller.h" -#include "kdevmainwindow.h" -#include "kdevcore.h" +#include "tdevpartcontroller.h" +#include "tdevmainwindow.h" +#include "tdevcore.h" #include "cvspart.h" #include "cvsprocesswidget.h" diff --git a/vcs/cvsservice/integrator/CMakeLists.txt b/vcs/cvsservice/integrator/CMakeLists.txt index a17393d8..e615784e 100644 --- a/vcs/cvsservice/integrator/CMakeLists.txt +++ b/vcs/cvsservice/integrator/CMakeLists.txt @@ -25,7 +25,7 @@ link_directories( ##### other data ################################ -install( FILES kdevcvsserviceintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevcvsserviceintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) ##### libcvsserviceintegrator (module) ########## @@ -35,6 +35,6 @@ tde_add_kpart( libcvsserviceintegrator AUTOMOC cvsserviceintegrator.cpp integratordlgbase.ui fetcherdlgbase.ui integratordlg.cpp initdlg.ui LINK - kdevextras-shared tdevelop-shared cvsservice + tdevextras-shared tdevelop-shared cvsservice DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/vcs/cvsservice/integrator/Makefile.am b/vcs/cvsservice/integrator/Makefile.am index f3eb47fe..36f5dcee 100644 --- a/vcs/cvsservice/integrator/Makefile.am +++ b/vcs/cvsservice/integrator/Makefile.am @@ -5,8 +5,8 @@ METASOURCES = AUTO kde_module_LTLIBRARIES = libcvsserviceintegrator.la libcvsserviceintegrator_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries) libcvsserviceintegrator_la_LIBADD = \ - $(top_builddir)/lib/interfaces/extras/libkdevextras.la $(top_builddir)/lib/libtdevelop.la -lcvsservice + $(top_builddir)/lib/interfaces/extras/libtdevextras.la $(top_builddir)/lib/libtdevelop.la -lcvsservice noinst_HEADERS = cvsserviceintegrator.h integratordlg.h libcvsserviceintegrator_la_SOURCES = cvsserviceintegrator.cpp \ integratordlgbase.ui fetcherdlgbase.ui integratordlg.cpp initdlg.ui -kde_services_DATA = kdevcvsserviceintegrator.desktop +kde_services_DATA = tdevcvsserviceintegrator.desktop diff --git a/vcs/cvsservice/integrator/cvsserviceintegrator.cpp b/vcs/cvsservice/integrator/cvsserviceintegrator.cpp index 1bbc3b11..7f2fbbeb 100644 --- a/vcs/cvsservice/integrator/cvsserviceintegrator.cpp +++ b/vcs/cvsservice/integrator/cvsserviceintegrator.cpp @@ -19,18 +19,18 @@ ***************************************************************************/ #include "cvsserviceintegrator.h" -#include -#include +#include +#include #include "integratordlg.h" -static const KDevPluginInfo data("kdevcvsserviceintegrator"); -typedef KDevGenericFactory CVSIntegratorFactory; +static const TDevPluginInfo data("tdevcvsserviceintegrator"); +typedef TDevGenericFactory CVSIntegratorFactory; K_EXPORT_COMPONENT_FACTORY( libcvsserviceintegrator, CVSIntegratorFactory(data) ) CVSServiceIntegrator::CVSServiceIntegrator(TQObject* parent, const char* name, const TQStringList args) - :KDevVCSIntegrator(parent, name) + :TDevVCSIntegrator(parent, name) { } diff --git a/vcs/cvsservice/integrator/cvsserviceintegrator.h b/vcs/cvsservice/integrator/cvsserviceintegrator.h index ebf4224e..b3a8af9a 100644 --- a/vcs/cvsservice/integrator/cvsserviceintegrator.h +++ b/vcs/cvsservice/integrator/cvsserviceintegrator.h @@ -20,11 +20,11 @@ #ifndef CVSSERVICEINTEGRATOR_H #define CVSSERVICEINTEGRATOR_H -#include +#include #include -class CVSServiceIntegrator: public KDevVCSIntegrator { +class CVSServiceIntegrator: public TDevVCSIntegrator { Q_OBJECT public: diff --git a/vcs/cvsservice/integrator/kdevcvsserviceintegrator.desktop b/vcs/cvsservice/integrator/kdevcvsserviceintegrator.desktop deleted file mode 100644 index a6f189f7..00000000 --- a/vcs/cvsservice/integrator/kdevcvsserviceintegrator.desktop +++ /dev/null @@ -1,45 +0,0 @@ -[Desktop Entry] -Type=Service -Name=KDevCVSIntegrator -Name[da]=TDevelop CVS-integration -Name[nds]=TDevelop-CVS-Integreren -Name[sk]=KDev CVS integrácia -Name[sv]=TDevelop CVS-integration -Name[zh_TW]=TDevelop CVS 整合器 -Comment=CVS Service Project Integration Facility -Comment[ca]=Facilitat d'integració amb projectes que usin CVS -Comment[da]=CVS service projektintegration -Comment[de]=CVS-Dienst-Projektintegration -Comment[el]=Λειτουργία ενσωμάτωσης υπηρεσίας CVS στο έργο -Comment[es]=Facilidad de integración con proyectos que utilicen CVS -Comment[et]=CVS-teenuse projekti põimimisvahend -Comment[eu]=CVS zerbitzuen proiektuen integrazio-tresna -Comment[fa]=تسهیلات مجتمع‌سازی پروژۀ خدمت CVS -Comment[fr]=Fonction d'intégration pour un projet utilisant le service CVS -Comment[gl]=Utilidade para a integración de proxectos do servizo CVS -Comment[hu]=Integrálás a Cvsservice-szel -Comment[it]=Funzione di integrazione del progetto CVS Service -Comment[ja]=CVS サービス プロジェクト統合ツール -Comment[ms]=Kemudahan Integrasi Projek Servis CVS -Comment[nds]=Projektintegreren för den CVS-Deenst -Comment[ne]=CVS सेवा परियोजना एकिकरण सुविधा -Comment[nl]=CVS project-integratie -Comment[pl]=Integracja z usługą CVS -Comment[pt]=Integração com Projectos de Serviço CVS -Comment[pt_BR]=Facilidade de Integração ao Projeto do Serviço CVS -Comment[ru]=Интеграция CVS -Comment[sk]=Integrácia CVS projektu -Comment[sr]=Интеграција Cervisia-је у пројекат -Comment[sr@Latn]=Integracija Cervisia-je u projekat -Comment[sv]=Funktion för integrering av CVS-tjänst i projekt -Comment[tr]=CVS Servis Projesi Bütünleştirme Aracı -Comment[zh_CN]=CVS 服务工程集成功能 -Comment[zh_TW]=CVS 服務專案整合工具 -Icon=cervisia -Exec=blubb -ServiceTypes=TDevelop/VCSIntegrator -X-TDE-Library=libcvsserviceintegrator -X-TDevelop-Default=true -X-TDevelop-VCS=CVS -X-TDevelop-VCSPlugin=kdevcvsservice -X-TDevelop-Version=5 diff --git a/vcs/cvsservice/integrator/tdevcvsserviceintegrator.desktop b/vcs/cvsservice/integrator/tdevcvsserviceintegrator.desktop new file mode 100644 index 00000000..a6f189f7 --- /dev/null +++ b/vcs/cvsservice/integrator/tdevcvsserviceintegrator.desktop @@ -0,0 +1,45 @@ +[Desktop Entry] +Type=Service +Name=KDevCVSIntegrator +Name[da]=TDevelop CVS-integration +Name[nds]=TDevelop-CVS-Integreren +Name[sk]=KDev CVS integrácia +Name[sv]=TDevelop CVS-integration +Name[zh_TW]=TDevelop CVS 整合器 +Comment=CVS Service Project Integration Facility +Comment[ca]=Facilitat d'integració amb projectes que usin CVS +Comment[da]=CVS service projektintegration +Comment[de]=CVS-Dienst-Projektintegration +Comment[el]=Λειτουργία ενσωμάτωσης υπηρεσίας CVS στο έργο +Comment[es]=Facilidad de integración con proyectos que utilicen CVS +Comment[et]=CVS-teenuse projekti põimimisvahend +Comment[eu]=CVS zerbitzuen proiektuen integrazio-tresna +Comment[fa]=تسهیلات مجتمع‌سازی پروژۀ خدمت CVS +Comment[fr]=Fonction d'intégration pour un projet utilisant le service CVS +Comment[gl]=Utilidade para a integración de proxectos do servizo CVS +Comment[hu]=Integrálás a Cvsservice-szel +Comment[it]=Funzione di integrazione del progetto CVS Service +Comment[ja]=CVS サービス プロジェクト統合ツール +Comment[ms]=Kemudahan Integrasi Projek Servis CVS +Comment[nds]=Projektintegreren för den CVS-Deenst +Comment[ne]=CVS सेवा परियोजना एकिकरण सुविधा +Comment[nl]=CVS project-integratie +Comment[pl]=Integracja z usługą CVS +Comment[pt]=Integração com Projectos de Serviço CVS +Comment[pt_BR]=Facilidade de Integração ao Projeto do Serviço CVS +Comment[ru]=Интеграция CVS +Comment[sk]=Integrácia CVS projektu +Comment[sr]=Интеграција Cervisia-је у пројекат +Comment[sr@Latn]=Integracija Cervisia-je u projekat +Comment[sv]=Funktion för integrering av CVS-tjänst i projekt +Comment[tr]=CVS Servis Projesi Bütünleştirme Aracı +Comment[zh_CN]=CVS 服务工程集成功能 +Comment[zh_TW]=CVS 服務專案整合工具 +Icon=cervisia +Exec=blubb +ServiceTypes=TDevelop/VCSIntegrator +X-TDE-Library=libcvsserviceintegrator +X-TDevelop-Default=true +X-TDevelop-VCS=CVS +X-TDevelop-VCSPlugin=kdevcvsservice +X-TDevelop-Version=5 diff --git a/vcs/cvsservice/kdev_cvs.png b/vcs/cvsservice/kdev_cvs.png deleted file mode 100644 index 921b0674..00000000 Binary files a/vcs/cvsservice/kdev_cvs.png and /dev/null differ diff --git a/vcs/cvsservice/kdev_cvs.xcf b/vcs/cvsservice/kdev_cvs.xcf deleted file mode 100644 index aafee609..00000000 Binary files a/vcs/cvsservice/kdev_cvs.xcf and /dev/null differ diff --git a/vcs/cvsservice/kdevcvsservice.desktop b/vcs/cvsservice/kdevcvsservice.desktop deleted file mode 100644 index 921e91d1..00000000 --- a/vcs/cvsservice/kdevcvsservice.desktop +++ /dev/null @@ -1,77 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=CVS Integration using Cervisia's cvsservice. http://www.kde.org/apps/cervisia/ -Comment[ca]=Integració amb el CVS emprant el cvsservice de Cervisia. http://www.kde.org/apps/cervisia/ -Comment[da]=CVS Integration ved brug af Cervisias cvsservice. http://www.kde.org/apps/cervisia/ -Comment[de]=CVS-Integration mit Hilfe von Cervisias cvsservice. http://www.kde.org/apps/cervisia/ -Comment[el]=Ενσωμάτωση CVS χρησιμοποιώντας τη cvsservice του Cervisia. http://www.kde.org/apps/cervisia/ -Comment[es]=Integración con CVS utilizando el cvsservice. http://www.kde.org/apps/cervisia/ -Comment[et]=CVS põimimine Cervisia cvsservice'i abil. http://www.kde.org/apps/cervisia/ -Comment[eu]=CVS integrazioa Cervisia-ren cvsservice erabiliz. http://www.kde.org/apps/cervisia/ -Comment[fa]=مجتمع‌سازی CVS، با استفاده از خدمت cvs متعلق به Cervisia. http://www.kde.org/apps/cervisia/ -Comment[fr]=Intégration de CVS à l'aide du processus « cvsservice » de Cervisia. http://www.kde.org/apps/cervisia/ -Comment[ga]=Comhtháthú CVS le cvsservice Cervisia. http://www.kde.org/apps/cervisia/ -Comment[gl]=Integración CVS usando o servizo cvsservice de Cervisia. http://www.kde.org/apps/cervisia/ -Comment[hu]=CVS-integráció a Cervisia cvsservice segítségével. http://www.kde.org/apps/cervisia/ -Comment[it]=Integrazione del CVS utilizzando il cvsservice di Cervisia. http://www.kde.org/apps/cervisia/ -Comment[ja]=CVS 統合は、Cervisia の CVS サービスを利用します。http://www.kde.org/apps/cervisia/ -Comment[ms]=Integrasi CVS menggunakan cvsservice Cervisia. http://www.kde.org/apps/cervisia/ -Comment[nds]=CVS-Integreren över den CVS-Service vun Cervisia. http://www.kde.org/apps/cervisia/ -Comment[ne]= Cervisia's cvsservice प्रयोग गरेर CVS एकिकरण । http://www.kde.org/apps/cervisia/ -Comment[nl]=CVS-integratie via Cervisia's cvsservice. Zie http://www.kde.org/apps/cervisia/ -Comment[pl]=Integracja z CVS-em za pomocą usługi CVS Cervisii http://www.kde.org/apps/cervisia/ -Comment[pt]=Integração do CVS usando o cvsservice do Cervisia. http://www.kde.org/apps/cervisia/ -Comment[pt_BR]=Integração com o CVS usando o cvsservice do Cervisia. http://www.kde.org/apps/cervisia/ -Comment[ru]=Интеграция CVS с использованием Cervisia cvsservice. http://www.kde.org/apps/cervisia/ -Comment[sk]=Integrácia CVS pomocou Cervisia Cvs služby. http://www.kde.org/apps/cervisia/ -Comment[sl]=Integracija CVS z uporabo Cervisijeve cvsservice. http://www.kde.org/apps/cervisia/ -Comment[sr]=Интеграција CVS-а помоћу Cervisia-jиног cvsservice. http://www.kde.org/apps/cervisia/ -Comment[sr@Latn]=Integracija CVS-a pomoću Cervisia-jinog cvsservice. http://www.kde.org/apps/cervisia/ -Comment[sv]=Integrering av CVS med användning av Cervisias CVS-tjänst. http://www.kde.org/apps/cervisia/ -Comment[tr]=Cervisia'nın cvsservice'i kullanılarak CVS bütünleştirilmesi http://www.kde.org/apps/cervisia/ -Comment[zh_CN]=使用 Cervisia 的 cvsservice 的 CVS 集成。http://www.kde.org/apps/cervisia/ -Comment[zh_TW]=使用 Cervisia 服務做 CVS 整合。http://www.kde.org/apps/cervisia/ -Name=KDevCvsService -Name[da]=TDevelop CVS-service -Name[nds]=TDevelop-CVS-Deenst -Name[sk]=KDev Cvs služba -Name[sv]=TDevelop CVS-tjänst -Name[zh_TW]=TDevelop CVS 服務 -GenericName=CVS Integration (Cervisia) -GenericName[ca]=Integració amb CVS (Cervisia) -GenericName[de]=Unterstützung für CVS (Cervisia) -GenericName[el]=Ενσωμάτωση CVS (Cervisia) -GenericName[es]=Integración con CVS (Cervisia) -GenericName[et]=CVS põimimine (Cervisia) -GenericName[eu]=CVS integrazioa (Cervisia) -GenericName[fa]=مجتمع‌سازی CVS (Cervisia) -GenericName[fr]=Intégration de CVS (Cervisia) -GenericName[ga]=Comhtháthú CVS (Cervisia) -GenericName[gl]=Integración CVS (Cervisia) -GenericName[hu]=CVS-integráció (Cervisia) -GenericName[it]=Integrazione CVS (Cervisia) -GenericName[ja]=CVS 統合 (Cervisia) -GenericName[ms]=Integrasi CVS (Cervisia) -GenericName[nds]=Ünnerstütten för CVS (Cervisia) -GenericName[ne]=CVS एकिकरण (Cervisia) -GenericName[nl]=CVS-integratie (Cervisia) -GenericName[pl]=Integracja z CVS-em (Cervisia) -GenericName[pt]=Integração com CVS (Cervisia) -GenericName[pt_BR]=Integração com o CVS (Cervisia) -GenericName[ru]=Интеграция CVS (Cervisia) -GenericName[sk]=CVS integrácia (Cervisia) -GenericName[sl]=Integracija CVS (Cervisia) -GenericName[sr]=Интеграција CVS-а (Cervisia) -GenericName[sr@Latn]=Integracija CVS-a (Cervisia) -GenericName[sv]=Integrering av CVS (Cervisia) -GenericName[ta]=CVS ஒருங்கிணை (செர்விசியா) -GenericName[tg]=Интегратсияи CVS (Cervisia) -GenericName[tr]=CVS Bütünleştirmesi (Cervisia) -GenericName[zh_CN]=CVS 集成(Cervisia) -GenericName[zh_TW]=CVS 整合(Cervisia) -Icon=cervisia -ServiceTypes=TDevelop/VersionControl -X-TDE-Library=libkdevcvsservice -X-TDevelop-Version=5 -X-TDevelop-Properties=VCS,CVSService diff --git a/vcs/cvsservice/kdevcvsservicepart.rc b/vcs/cvsservice/kdevcvsservicepart.rc deleted file mode 100644 index a1bce434..00000000 --- a/vcs/cvsservice/kdevcvsservicepart.rc +++ /dev/null @@ -1,36 +0,0 @@ - - - -

- - &Version Control - - - &CVS Service - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vcs/cvsservice/tdev_cvs.png b/vcs/cvsservice/tdev_cvs.png new file mode 100644 index 00000000..921b0674 Binary files /dev/null and b/vcs/cvsservice/tdev_cvs.png differ diff --git a/vcs/cvsservice/tdev_cvs.xcf b/vcs/cvsservice/tdev_cvs.xcf new file mode 100644 index 00000000..aafee609 Binary files /dev/null and b/vcs/cvsservice/tdev_cvs.xcf differ diff --git a/vcs/cvsservice/tdevcvsservice.desktop b/vcs/cvsservice/tdevcvsservice.desktop new file mode 100644 index 00000000..5b8bb530 --- /dev/null +++ b/vcs/cvsservice/tdevcvsservice.desktop @@ -0,0 +1,77 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=CVS Integration using Cervisia's cvsservice. http://www.kde.org/apps/cervisia/ +Comment[ca]=Integració amb el CVS emprant el cvsservice de Cervisia. http://www.kde.org/apps/cervisia/ +Comment[da]=CVS Integration ved brug af Cervisias cvsservice. http://www.kde.org/apps/cervisia/ +Comment[de]=CVS-Integration mit Hilfe von Cervisias cvsservice. http://www.kde.org/apps/cervisia/ +Comment[el]=Ενσωμάτωση CVS χρησιμοποιώντας τη cvsservice του Cervisia. http://www.kde.org/apps/cervisia/ +Comment[es]=Integración con CVS utilizando el cvsservice. http://www.kde.org/apps/cervisia/ +Comment[et]=CVS põimimine Cervisia cvsservice'i abil. http://www.kde.org/apps/cervisia/ +Comment[eu]=CVS integrazioa Cervisia-ren cvsservice erabiliz. http://www.kde.org/apps/cervisia/ +Comment[fa]=مجتمع‌سازی CVS، با استفاده از خدمت cvs متعلق به Cervisia. http://www.kde.org/apps/cervisia/ +Comment[fr]=Intégration de CVS à l'aide du processus « cvsservice » de Cervisia. http://www.kde.org/apps/cervisia/ +Comment[ga]=Comhtháthú CVS le cvsservice Cervisia. http://www.kde.org/apps/cervisia/ +Comment[gl]=Integración CVS usando o servizo cvsservice de Cervisia. http://www.kde.org/apps/cervisia/ +Comment[hu]=CVS-integráció a Cervisia cvsservice segítségével. http://www.kde.org/apps/cervisia/ +Comment[it]=Integrazione del CVS utilizzando il cvsservice di Cervisia. http://www.kde.org/apps/cervisia/ +Comment[ja]=CVS 統合は、Cervisia の CVS サービスを利用します。http://www.kde.org/apps/cervisia/ +Comment[ms]=Integrasi CVS menggunakan cvsservice Cervisia. http://www.kde.org/apps/cervisia/ +Comment[nds]=CVS-Integreren över den CVS-Service vun Cervisia. http://www.kde.org/apps/cervisia/ +Comment[ne]= Cervisia's cvsservice प्रयोग गरेर CVS एकिकरण । http://www.kde.org/apps/cervisia/ +Comment[nl]=CVS-integratie via Cervisia's cvsservice. Zie http://www.kde.org/apps/cervisia/ +Comment[pl]=Integracja z CVS-em za pomocą usługi CVS Cervisii http://www.kde.org/apps/cervisia/ +Comment[pt]=Integração do CVS usando o cvsservice do Cervisia. http://www.kde.org/apps/cervisia/ +Comment[pt_BR]=Integração com o CVS usando o cvsservice do Cervisia. http://www.kde.org/apps/cervisia/ +Comment[ru]=Интеграция CVS с использованием Cervisia cvsservice. http://www.kde.org/apps/cervisia/ +Comment[sk]=Integrácia CVS pomocou Cervisia Cvs služby. http://www.kde.org/apps/cervisia/ +Comment[sl]=Integracija CVS z uporabo Cervisijeve cvsservice. http://www.kde.org/apps/cervisia/ +Comment[sr]=Интеграција CVS-а помоћу Cervisia-jиног cvsservice. http://www.kde.org/apps/cervisia/ +Comment[sr@Latn]=Integracija CVS-a pomoću Cervisia-jinog cvsservice. http://www.kde.org/apps/cervisia/ +Comment[sv]=Integrering av CVS med användning av Cervisias CVS-tjänst. http://www.kde.org/apps/cervisia/ +Comment[tr]=Cervisia'nın cvsservice'i kullanılarak CVS bütünleştirilmesi http://www.kde.org/apps/cervisia/ +Comment[zh_CN]=使用 Cervisia 的 cvsservice 的 CVS 集成。http://www.kde.org/apps/cervisia/ +Comment[zh_TW]=使用 Cervisia 服務做 CVS 整合。http://www.kde.org/apps/cervisia/ +Name=KDevCvsService +Name[da]=TDevelop CVS-service +Name[nds]=TDevelop-CVS-Deenst +Name[sk]=KDev Cvs služba +Name[sv]=TDevelop CVS-tjänst +Name[zh_TW]=TDevelop CVS 服務 +GenericName=CVS Integration (Cervisia) +GenericName[ca]=Integració amb CVS (Cervisia) +GenericName[de]=Unterstützung für CVS (Cervisia) +GenericName[el]=Ενσωμάτωση CVS (Cervisia) +GenericName[es]=Integración con CVS (Cervisia) +GenericName[et]=CVS põimimine (Cervisia) +GenericName[eu]=CVS integrazioa (Cervisia) +GenericName[fa]=مجتمع‌سازی CVS (Cervisia) +GenericName[fr]=Intégration de CVS (Cervisia) +GenericName[ga]=Comhtháthú CVS (Cervisia) +GenericName[gl]=Integración CVS (Cervisia) +GenericName[hu]=CVS-integráció (Cervisia) +GenericName[it]=Integrazione CVS (Cervisia) +GenericName[ja]=CVS 統合 (Cervisia) +GenericName[ms]=Integrasi CVS (Cervisia) +GenericName[nds]=Ünnerstütten för CVS (Cervisia) +GenericName[ne]=CVS एकिकरण (Cervisia) +GenericName[nl]=CVS-integratie (Cervisia) +GenericName[pl]=Integracja z CVS-em (Cervisia) +GenericName[pt]=Integração com CVS (Cervisia) +GenericName[pt_BR]=Integração com o CVS (Cervisia) +GenericName[ru]=Интеграция CVS (Cervisia) +GenericName[sk]=CVS integrácia (Cervisia) +GenericName[sl]=Integracija CVS (Cervisia) +GenericName[sr]=Интеграција CVS-а (Cervisia) +GenericName[sr@Latn]=Integracija CVS-a (Cervisia) +GenericName[sv]=Integrering av CVS (Cervisia) +GenericName[ta]=CVS ஒருங்கிணை (செர்விசியா) +GenericName[tg]=Интегратсияи CVS (Cervisia) +GenericName[tr]=CVS Bütünleştirmesi (Cervisia) +GenericName[zh_CN]=CVS 集成(Cervisia) +GenericName[zh_TW]=CVS 整合(Cervisia) +Icon=cervisia +ServiceTypes=TDevelop/VersionControl +X-TDE-Library=libtdevcvsservice +X-TDevelop-Version=5 +X-TDevelop-Properties=VCS,CVSService diff --git a/vcs/cvsservice/tdevcvsservicepart.rc b/vcs/cvsservice/tdevcvsservicepart.rc new file mode 100644 index 00000000..a1bce434 --- /dev/null +++ b/vcs/cvsservice/tdevcvsservicepart.rc @@ -0,0 +1,36 @@ + + + + + + &Version Control + + + &CVS Service + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vcs/perforce/CMakeLists.txt b/vcs/perforce/CMakeLists.txt index 549eadb8..f0964379 100644 --- a/vcs/perforce/CMakeLists.txt +++ b/vcs/perforce/CMakeLists.txt @@ -27,13 +27,13 @@ link_directories( ##### other data ################################ -install( FILES kdevperforce.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevperforce.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -##### libkdevperforce (module) ################## +##### libtdevperforce (module) ################## -tde_add_kpart( libkdevperforce AUTOMOC +tde_add_kpart( libtdevperforce AUTOMOC SOURCES perforcepart.cpp commitdlg.cpp - LINK kdevextensions-static tdevelop-shared + LINK tdevextensions-static tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/vcs/perforce/Makefile.am b/vcs/perforce/Makefile.am index 36e19325..09fb0e9e 100644 --- a/vcs/perforce/Makefile.am +++ b/vcs/perforce/Makefile.am @@ -3,17 +3,17 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes) -kde_module_LTLIBRARIES = libkdevperforce.la -libkdevperforce_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevperforce_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/interfaces/extensions/libkdevextensions.la +kde_module_LTLIBRARIES = libtdevperforce.la +libtdevperforce_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevperforce_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/interfaces/extensions/libtdevextensions.la -libkdevperforce_la_SOURCES = perforcepart.cpp commitdlg.cpp +libtdevperforce_la_SOURCES = perforcepart.cpp commitdlg.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevperforce.desktop +service_DATA = tdevperforce.desktop -rcdir = $(kde_datadir)/kdevperforce +rcdir = $(kde_datadir)/tdevperforce SUBDIRS = integrator diff --git a/vcs/perforce/integrator/CMakeLists.txt b/vcs/perforce/integrator/CMakeLists.txt index e939e3ba..95985418 100644 --- a/vcs/perforce/integrator/CMakeLists.txt +++ b/vcs/perforce/integrator/CMakeLists.txt @@ -26,7 +26,7 @@ link_directories( ##### other data ################################ -install( FILES kdevperforceintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevperforceintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) ##### libperforceintegrator (module) ############ @@ -35,6 +35,6 @@ tde_add_kpart( libperforceintegrator AUTOMOC SOURCES perforceintegrator.cpp pfintegratordlgbase.ui pfintegratordlg.cpp - LINK kdevextras-shared tdevelop-shared + LINK tdevextras-shared tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/vcs/perforce/integrator/Makefile.am b/vcs/perforce/integrator/Makefile.am index 38e80bcd..e400e241 100644 --- a/vcs/perforce/integrator/Makefile.am +++ b/vcs/perforce/integrator/Makefile.am @@ -5,9 +5,9 @@ METASOURCES = AUTO kde_module_LTLIBRARIES = libperforceintegrator.la libperforceintegrator_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries) libperforceintegrator_la_LIBADD =\ - $(top_builddir)/lib/interfaces/extras/libkdevextras.la\ + $(top_builddir)/lib/interfaces/extras/libtdevextras.la\ $(top_builddir)/lib/libtdevelop.la -kde_services_DATA = kdevperforceintegrator.desktop +kde_services_DATA = tdevperforceintegrator.desktop noinst_HEADERS = perforceintegrator.h pfintegratordlg.h libperforceintegrator_la_SOURCES = perforceintegrator.cpp \ pfintegratordlgbase.ui pfintegratordlg.cpp diff --git a/vcs/perforce/integrator/kdevperforceintegrator.desktop b/vcs/perforce/integrator/kdevperforceintegrator.desktop deleted file mode 100644 index 78ad9bf2..00000000 --- a/vcs/perforce/integrator/kdevperforceintegrator.desktop +++ /dev/null @@ -1,44 +0,0 @@ -[Desktop Entry] -Type=Service -Name=KDevPerforceIntegrator -Name[da]=TDevelop Perforce-integration -Name[nds]=TDevelop-Perforce-Integreren -Name[sk]=KDev Perforce integrácia -Name[sv]=TDevelop Perforce-integration -Name[zh_TW]=TDevelop Perforce 整合器 -Comment=Perforce Project Integration Facility -Comment[ca]=Facilitat per a la integració amb projectes Perforce -Comment[da]=Perforce projektintegration -Comment[de]=Perforce-Projektintegration -Comment[el]=Λειτουργία ενσωμάτωσης Perforce στο έργο -Comment[es]=Entorno para integración con proyectos Perforce -Comment[et]=Perforce projekti põimimisvahend -Comment[eu]=Perforce proiektuen integrazio-tresna -Comment[fa]=تسهیلات مجتمع‌سازی پروژۀ Perforce -Comment[fr]=Fonction d'intégration pour un projet utilisant Perforce -Comment[gl]=Utilidade para a integración de proxectos Perforce -Comment[hu]=Integrálás a Perforce-szal -Comment[it]=Funzione di integrazione del progetto Perforce -Comment[ja]=Perforce プロジェクト統合ツール -Comment[ms]=Kemudahan Integrasi Projek Perforce -Comment[nds]=Perforce-Projektintegreren -Comment[ne]=परफोर्स परियोजना एकिकरण सुविधा -Comment[nl]=Perforce project-integratie -Comment[pl]=Integracja z Perforce -Comment[pt]=Integração com Projectos Perforce -Comment[pt_BR]=Facilidade de Integração ao Projeto de Perforce -Comment[ru]=Интеграция Perforce -Comment[sk]=Perforce projektová integrácia -Comment[sr]=Интеграција Perforce-а у пројекат -Comment[sr@Latn]=Integracija Perforce-a u projekat -Comment[sv]=Funktion för integrering av Perforce i projekt -Comment[tr]=Perforce Proje Bütünleştirme Aracı -Comment[zh_CN]=Perforce 工程集成功能 -Comment[zh_TW]=Perforce 專案整合工具 -Exec=blubb -ServiceTypes=TDevelop/VCSIntegrator -X-TDE-Library=libperforceintegrator -X-TDevelop-Default=false -X-TDevelop-VCS=Perforce -X-TDevelop-VCSPlugin=kdevperforce -X-TDevelop-Version=5 diff --git a/vcs/perforce/integrator/perforceintegrator.cpp b/vcs/perforce/integrator/perforceintegrator.cpp index bc7c0988..74fdf54f 100644 --- a/vcs/perforce/integrator/perforceintegrator.cpp +++ b/vcs/perforce/integrator/perforceintegrator.cpp @@ -19,19 +19,19 @@ ***************************************************************************/ #include "perforceintegrator.h" -#include -#include +#include +#include #include "pfintegratordlg.h" -static const KDevPluginInfo data("kdevperforceintegrator"); -typedef KDevGenericFactory PerforceIntegratorFactory; +static const TDevPluginInfo data("tdevperforceintegrator"); +typedef TDevGenericFactory PerforceIntegratorFactory; K_EXPORT_COMPONENT_FACTORY( libperforceintegrator, PerforceIntegratorFactory(data) ) PerforceIntegrator::PerforceIntegrator(TQObject* parent, const char* name, const TQStringList // args ) - :KDevVCSIntegrator(parent, name) + :TDevVCSIntegrator(parent, name) { } diff --git a/vcs/perforce/integrator/perforceintegrator.h b/vcs/perforce/integrator/perforceintegrator.h index 2b82046f..c97ff82f 100644 --- a/vcs/perforce/integrator/perforceintegrator.h +++ b/vcs/perforce/integrator/perforceintegrator.h @@ -20,11 +20,11 @@ #ifndef PERFORCEINTEGRATOR_H #define PERFORCEINTEGRATOR_H -#include +#include #include -class PerforceIntegrator : public KDevVCSIntegrator +class PerforceIntegrator : public TDevVCSIntegrator { Q_OBJECT diff --git a/vcs/perforce/integrator/pfintegratordlg.h b/vcs/perforce/integrator/pfintegratordlg.h index 3e7bf4de..5398475b 100644 --- a/vcs/perforce/integrator/pfintegratordlg.h +++ b/vcs/perforce/integrator/pfintegratordlg.h @@ -21,7 +21,7 @@ #define PFINTEGRATORDLG_H #include "pfintegratordlgbase.h" -#include +#include class PFIntegratorDlg: public PFIntegratorDlgBase, public VCSDialog { Q_OBJECT diff --git a/vcs/perforce/integrator/tdevperforceintegrator.desktop b/vcs/perforce/integrator/tdevperforceintegrator.desktop new file mode 100644 index 00000000..78ad9bf2 --- /dev/null +++ b/vcs/perforce/integrator/tdevperforceintegrator.desktop @@ -0,0 +1,44 @@ +[Desktop Entry] +Type=Service +Name=KDevPerforceIntegrator +Name[da]=TDevelop Perforce-integration +Name[nds]=TDevelop-Perforce-Integreren +Name[sk]=KDev Perforce integrácia +Name[sv]=TDevelop Perforce-integration +Name[zh_TW]=TDevelop Perforce 整合器 +Comment=Perforce Project Integration Facility +Comment[ca]=Facilitat per a la integració amb projectes Perforce +Comment[da]=Perforce projektintegration +Comment[de]=Perforce-Projektintegration +Comment[el]=Λειτουργία ενσωμάτωσης Perforce στο έργο +Comment[es]=Entorno para integración con proyectos Perforce +Comment[et]=Perforce projekti põimimisvahend +Comment[eu]=Perforce proiektuen integrazio-tresna +Comment[fa]=تسهیلات مجتمع‌سازی پروژۀ Perforce +Comment[fr]=Fonction d'intégration pour un projet utilisant Perforce +Comment[gl]=Utilidade para a integración de proxectos Perforce +Comment[hu]=Integrálás a Perforce-szal +Comment[it]=Funzione di integrazione del progetto Perforce +Comment[ja]=Perforce プロジェクト統合ツール +Comment[ms]=Kemudahan Integrasi Projek Perforce +Comment[nds]=Perforce-Projektintegreren +Comment[ne]=परफोर्स परियोजना एकिकरण सुविधा +Comment[nl]=Perforce project-integratie +Comment[pl]=Integracja z Perforce +Comment[pt]=Integração com Projectos Perforce +Comment[pt_BR]=Facilidade de Integração ao Projeto de Perforce +Comment[ru]=Интеграция Perforce +Comment[sk]=Perforce projektová integrácia +Comment[sr]=Интеграција Perforce-а у пројекат +Comment[sr@Latn]=Integracija Perforce-a u projekat +Comment[sv]=Funktion för integrering av Perforce i projekt +Comment[tr]=Perforce Proje Bütünleştirme Aracı +Comment[zh_CN]=Perforce 工程集成功能 +Comment[zh_TW]=Perforce 專案整合工具 +Exec=blubb +ServiceTypes=TDevelop/VCSIntegrator +X-TDE-Library=libperforceintegrator +X-TDevelop-Default=false +X-TDevelop-VCS=Perforce +X-TDevelop-VCSPlugin=kdevperforce +X-TDevelop-Version=5 diff --git a/vcs/perforce/kdevperforce.desktop b/vcs/perforce/kdevperforce.desktop deleted file mode 100644 index d837faeb..00000000 --- a/vcs/perforce/kdevperforce.desktop +++ /dev/null @@ -1,82 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=Integrates Perforce, a software configuration management system. http://www.perforce.com/ -Comment[ca]=Integra Perforce, un sistema de gestió de la configuració del programari. http://www.perforce.com/ -Comment[da]=Integrerer Perforce, et software-indstilling håndteringssystem. http://www.perforce.com/ -Comment[de]=Integration von Perforce, einem System zur Verwaltung von Software-Konfigurationen. http://www.perforce.com/ -Comment[el]=Ενσωματώνει το Perforce, ένα σύστημα διαχείρισης και ρύθμισης λογισμικού.http://www.perforce.com/ -Comment[es]=Integra Perforce, un sistema de adminsitración de la configuración del software. http://www.perforce.com/ -Comment[et]=Integreerib tarkvaraseadistuste haldamise süsteemi Perforce. http://www.perforce.com/ -Comment[eu]=Perforce integratzen du, software konfiguazio kudeaketa sistema bat. http://www.perforce.com/ -Comment[fa]=Perforce را مجتمع‌سازی می‌کند. یک سیستم مدیریت پیکربندی نرم‌افزار. http://www.perforce.com/ -Comment[fr]=Intègre « PerForce », un système de gestion de configuration de logiciels. http:/www.perforce.com/ -Comment[gl]=Integra Perforce, un sistema de xestións de configuracións. http://www.perforce.com/ -Comment[hi]=परफ़ोर्स को इंटीग्रेट करता है, जो कि सॉफ्टवेयर कॉन्फ़िगरेशन प्रबंधन तंत्र है. http://www.perforce.com/ -Comment[hu]=Integrációt biztosít a Perforce szoftverkonfigurációs rendszerrel - http://www.perforce.com/ -Comment[it]=Integra Perforce, un sistema per la configurazione software. http://www.perforce.com/ -Comment[ja]=ソフトウェア設定管理システム Perforce を統合します。 -Comment[ms]=Menggabungkan Perforce, sebuah sistem pengurusan tetapan perisian. http://www.perforce.com/ -Comment[nds]=Integreren vun Perforce, en Systeem för't Plegen vun Programminstellen. http://www.perforce.com/ -Comment[ne]=परफोर्स एकिकरण गर्दछ, सफ्टवेयर कन्फिगरेसन व्यवस्थापन प्रणाली http://www.perforce.com/ -Comment[nl]=Integreert Perforce, een systeem voor softwareconfiguratie. Zie http://www.perforce.com/ -Comment[pl]=Integracja z Perforce, systemem zarządzania konfiguracją oprogramowania. http://www.perforce.com/ -Comment[pt]=Integra o Perforce, um sistema de gestão de configurações de 'software'. http://www.perforce.com/ -Comment[pt_BR]=Integra o Perforce, um software de configuração e gerenciamento do sistema. http://www.perforce.com/ -Comment[ru]=Интегрирует Perforce, систему управления конфигурациями программного обеспечения. http://www.perforce.com/ -Comment[sk]=Integrácia Perforce, konfiguračný projektový manažment. http://www.perforce.com/ -Comment[sl]=Integrira Perforce, upravljalni sistem programja. http://www.perforce.com/ -Comment[sr]=Интегрише Perforce, систем за управљање подешавањем софтвера. http://www.perforce.com/ -Comment[sr@Latn]=Integriše Perforce, sistem za upravljanje podešavanjem softvera. http://www.perforce.com/ -Comment[sv]=Integrerar Perforce, ett konfigurationshanteringsverktyg för programvara. http://www.perforce.com/ -Comment[ta]=ஒருங்கிணைக்கும் Perforce, ஒரு மென்பொருள் மேலாளர் அமைப்பு. http://www.perforce.com/ -Comment[tg]=Интеграл намудани Perforce, барномаи идоракунандаро шарҳи барномаҳои таъмин нигоҳ медорад.http://www.perforce.com/ -Comment[tr]=Bir yazılım ayar yönetimi sistemi olan Perforce'u bütünleştirir. http://www.perforce.com/ -Comment[zh_CN]=集成 Perforce,系统配置管理软件 http://www.perforce.com/ -Comment[zh_TW]=整合 Perforce,一套軟體設定管理系統。http://www.perforce.com/ -Name=KDevPerforce -Name[da]=TDevelop Perforce -Name[de]=Unterstützung für Perforce (TDevelop) -Name[hi]=के-डेव-परफ़ोर्स -Name[nds]=Perforce-Ünnerstütten för TDevelop -Name[sk]=KDev Perforce -Name[sv]=TDevelop Perforce -Name[ta]=Kdev Perforce -Name[zh_TW]=TDevelop Perforce -GenericName=Perforce Integration -GenericName[ca]=Integració amb Perforce -GenericName[da]=Perforce integration -GenericName[de]=Perforce-Integration -GenericName[el]=Ενσωμάτωση Perforce -GenericName[es]=Integración de Perforce -GenericName[et]=Perforce'i põimimine -GenericName[eu]=Perforce integrazioa -GenericName[fa]=مجتمع‌سازی Perforce -GenericName[fr]=Intégration de « Perforce » -GenericName[ga]=Comhtháthú Perforce -GenericName[gl]=Integración de Perforce -GenericName[hi]=परफ़ोर्स इंटीग्रेशन -GenericName[hu]=Perforce-integráció -GenericName[it]=Integrazione di Perforce -GenericName[ms]=Intergrasi Perforce -GenericName[nds]=Perforce-Integreren -GenericName[ne]=परफोर्स इन्टिग्रेसन -GenericName[nl]=Perforce-integratie -GenericName[pl]=Integracja z Perforce -GenericName[pt]=Integração com o Perforce -GenericName[pt_BR]=Integração com o Perforce -GenericName[ru]=Интеграция Perforce -GenericName[sk]=Perforce integrácia -GenericName[sl]=Integracija Perforce -GenericName[sr]=Интеграција perforce-а -GenericName[sr@Latn]=Integracija perforce-a -GenericName[sv]=Integrering av Perforce -GenericName[ta]=Perforce ஒருங்கிணைப்பு -GenericName[tg]=Интегратсия Perforce -GenericName[tr]=Perforce Bütünleştirmesi -GenericName[zh_CN]=Perforce 集成 -GenericName[zh_TW]=Perforce 整合 -ServiceTypes=TDevelop/VersionControl -X-TDE-Library=libkdevperforce -X-TDevelop-Version=5 -X-TDevelop-Properties=VCS,PerforceVCS diff --git a/vcs/perforce/kdevperforcepart.rc b/vcs/perforce/kdevperforcepart.rc deleted file mode 100644 index 27b5fe08..00000000 --- a/vcs/perforce/kdevperforcepart.rc +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - &Version Control - - - &Perforce - - - - - - - - - - - - - - diff --git a/vcs/perforce/perforcepart.cpp b/vcs/perforce/perforcepart.cpp index f92666b6..72672b1e 100644 --- a/vcs/perforce/perforcepart.cpp +++ b/vcs/perforce/perforcepart.cpp @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include #include @@ -25,21 +25,21 @@ #include #include -#include "kdevpartcontroller.h" -#include "kdevcore.h" -#include "kdevmakefrontend.h" -#include "kdevdifffrontend.h" -#include "kdevplugininfo.h" +#include "tdevpartcontroller.h" +#include "tdevcore.h" +#include "tdevmakefrontend.h" +#include "tdevdifffrontend.h" +#include "tdevplugininfo.h" #include "commitdlg.h" #include "execcommand.h" -static const KDevPluginInfo data("kdevperforce"); +static const TDevPluginInfo data("tdevperforce"); -typedef KDevGenericFactory PerforceFactory; -K_EXPORT_COMPONENT_FACTORY( libkdevperforce, PerforceFactory( data ) ) +typedef TDevGenericFactory PerforceFactory; +K_EXPORT_COMPONENT_FACTORY( libtdevperforce, PerforceFactory( data ) ) PerforcePart::PerforcePart( TQObject *parent, const char *name, const TQStringList & ) - : KDevVersionControl( &data, parent, name ? name : "PerforcePart" ) + : TDevVersionControl( &data, parent, name ? name : "PerforcePart" ) { setInstance(PerforceFactory::instance()); setupActions(); @@ -140,7 +140,7 @@ void PerforcePart::execCommand( const TQString& cmd, const TQString& filename ) command += " && p4 " + cmd + " "; command += name; - if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir, command); } @@ -183,7 +183,7 @@ void PerforcePart::commit( const TQString& filename ) TQString command("echo " + message); command += " | p4 submit -i"; - if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand("", command); } @@ -208,7 +208,7 @@ void PerforcePart::update( const TQString& filename ) command += " && p4 sync "; command += name; - if (KDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension("TDevelop/MakeFrontend")) makeFrontend->queueCommand(dir, command); } @@ -277,7 +277,7 @@ void PerforcePart::slotDiffFinished( const TQString& diff, const TQString& err ) TQString strippedDiff = diff; strippedDiff.replace( rx, "--- \\2\n+++ \\2\n" ); - if (KDevDiffFrontend *diffFrontend = extension("TDevelop/DiffFrontend")) + if (TDevDiffFrontend *diffFrontend = extension("TDevelop/DiffFrontend")) diffFrontend->showDiff( strippedDiff ); } diff --git a/vcs/perforce/perforcepart.h b/vcs/perforce/perforcepart.h index 7c034424..2af8ff5f 100644 --- a/vcs/perforce/perforcepart.h +++ b/vcs/perforce/perforcepart.h @@ -13,14 +13,14 @@ #ifndef _PERFORCEPART_H_ #define _PERFORCEPART_H_ -#include +#include #include class Context; class TQPopupMenu; class TDEAction; -class PerforcePart : public KDevVersionControl +class PerforcePart : public TDevVersionControl { Q_OBJECT @@ -34,7 +34,7 @@ public: virtual void createNewProject(const TQString& /* dir */) {} virtual bool fetchFromRepository() { return true; } - virtual KDevVCSFileInfoProvider *fileInfoProvider() const { return 0; } + virtual TDevVCSFileInfoProvider *fileInfoProvider() const { return 0; } virtual bool isValidDirectory(const TQString& /* dirPath*/) const { return true; } diff --git a/vcs/perforce/tdevperforce.desktop b/vcs/perforce/tdevperforce.desktop new file mode 100644 index 00000000..4f73f5e9 --- /dev/null +++ b/vcs/perforce/tdevperforce.desktop @@ -0,0 +1,82 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=Integrates Perforce, a software configuration management system. http://www.perforce.com/ +Comment[ca]=Integra Perforce, un sistema de gestió de la configuració del programari. http://www.perforce.com/ +Comment[da]=Integrerer Perforce, et software-indstilling håndteringssystem. http://www.perforce.com/ +Comment[de]=Integration von Perforce, einem System zur Verwaltung von Software-Konfigurationen. http://www.perforce.com/ +Comment[el]=Ενσωματώνει το Perforce, ένα σύστημα διαχείρισης και ρύθμισης λογισμικού.http://www.perforce.com/ +Comment[es]=Integra Perforce, un sistema de adminsitración de la configuración del software. http://www.perforce.com/ +Comment[et]=Integreerib tarkvaraseadistuste haldamise süsteemi Perforce. http://www.perforce.com/ +Comment[eu]=Perforce integratzen du, software konfiguazio kudeaketa sistema bat. http://www.perforce.com/ +Comment[fa]=Perforce را مجتمع‌سازی می‌کند. یک سیستم مدیریت پیکربندی نرم‌افزار. http://www.perforce.com/ +Comment[fr]=Intègre « PerForce », un système de gestion de configuration de logiciels. http:/www.perforce.com/ +Comment[gl]=Integra Perforce, un sistema de xestións de configuracións. http://www.perforce.com/ +Comment[hi]=परफ़ोर्स को इंटीग्रेट करता है, जो कि सॉफ्टवेयर कॉन्फ़िगरेशन प्रबंधन तंत्र है. http://www.perforce.com/ +Comment[hu]=Integrációt biztosít a Perforce szoftverkonfigurációs rendszerrel - http://www.perforce.com/ +Comment[it]=Integra Perforce, un sistema per la configurazione software. http://www.perforce.com/ +Comment[ja]=ソフトウェア設定管理システム Perforce を統合します。 +Comment[ms]=Menggabungkan Perforce, sebuah sistem pengurusan tetapan perisian. http://www.perforce.com/ +Comment[nds]=Integreren vun Perforce, en Systeem för't Plegen vun Programminstellen. http://www.perforce.com/ +Comment[ne]=परफोर्स एकिकरण गर्दछ, सफ्टवेयर कन्फिगरेसन व्यवस्थापन प्रणाली http://www.perforce.com/ +Comment[nl]=Integreert Perforce, een systeem voor softwareconfiguratie. Zie http://www.perforce.com/ +Comment[pl]=Integracja z Perforce, systemem zarządzania konfiguracją oprogramowania. http://www.perforce.com/ +Comment[pt]=Integra o Perforce, um sistema de gestão de configurações de 'software'. http://www.perforce.com/ +Comment[pt_BR]=Integra o Perforce, um software de configuração e gerenciamento do sistema. http://www.perforce.com/ +Comment[ru]=Интегрирует Perforce, систему управления конфигурациями программного обеспечения. http://www.perforce.com/ +Comment[sk]=Integrácia Perforce, konfiguračný projektový manažment. http://www.perforce.com/ +Comment[sl]=Integrira Perforce, upravljalni sistem programja. http://www.perforce.com/ +Comment[sr]=Интегрише Perforce, систем за управљање подешавањем софтвера. http://www.perforce.com/ +Comment[sr@Latn]=Integriše Perforce, sistem za upravljanje podešavanjem softvera. http://www.perforce.com/ +Comment[sv]=Integrerar Perforce, ett konfigurationshanteringsverktyg för programvara. http://www.perforce.com/ +Comment[ta]=ஒருங்கிணைக்கும் Perforce, ஒரு மென்பொருள் மேலாளர் அமைப்பு. http://www.perforce.com/ +Comment[tg]=Интеграл намудани Perforce, барномаи идоракунандаро шарҳи барномаҳои таъмин нигоҳ медорад.http://www.perforce.com/ +Comment[tr]=Bir yazılım ayar yönetimi sistemi olan Perforce'u bütünleştirir. http://www.perforce.com/ +Comment[zh_CN]=集成 Perforce,系统配置管理软件 http://www.perforce.com/ +Comment[zh_TW]=整合 Perforce,一套軟體設定管理系統。http://www.perforce.com/ +Name=KDevPerforce +Name[da]=TDevelop Perforce +Name[de]=Unterstützung für Perforce (TDevelop) +Name[hi]=के-डेव-परफ़ोर्स +Name[nds]=Perforce-Ünnerstütten för TDevelop +Name[sk]=KDev Perforce +Name[sv]=TDevelop Perforce +Name[ta]=Kdev Perforce +Name[zh_TW]=TDevelop Perforce +GenericName=Perforce Integration +GenericName[ca]=Integració amb Perforce +GenericName[da]=Perforce integration +GenericName[de]=Perforce-Integration +GenericName[el]=Ενσωμάτωση Perforce +GenericName[es]=Integración de Perforce +GenericName[et]=Perforce'i põimimine +GenericName[eu]=Perforce integrazioa +GenericName[fa]=مجتمع‌سازی Perforce +GenericName[fr]=Intégration de « Perforce » +GenericName[ga]=Comhtháthú Perforce +GenericName[gl]=Integración de Perforce +GenericName[hi]=परफ़ोर्स इंटीग्रेशन +GenericName[hu]=Perforce-integráció +GenericName[it]=Integrazione di Perforce +GenericName[ms]=Intergrasi Perforce +GenericName[nds]=Perforce-Integreren +GenericName[ne]=परफोर्स इन्टिग्रेसन +GenericName[nl]=Perforce-integratie +GenericName[pl]=Integracja z Perforce +GenericName[pt]=Integração com o Perforce +GenericName[pt_BR]=Integração com o Perforce +GenericName[ru]=Интеграция Perforce +GenericName[sk]=Perforce integrácia +GenericName[sl]=Integracija Perforce +GenericName[sr]=Интеграција perforce-а +GenericName[sr@Latn]=Integracija perforce-a +GenericName[sv]=Integrering av Perforce +GenericName[ta]=Perforce ஒருங்கிணைப்பு +GenericName[tg]=Интегратсия Perforce +GenericName[tr]=Perforce Bütünleştirmesi +GenericName[zh_CN]=Perforce 集成 +GenericName[zh_TW]=Perforce 整合 +ServiceTypes=TDevelop/VersionControl +X-TDE-Library=libtdevperforce +X-TDevelop-Version=5 +X-TDevelop-Properties=VCS,PerforceVCS diff --git a/vcs/perforce/tdevperforcepart.rc b/vcs/perforce/tdevperforcepart.rc new file mode 100644 index 00000000..27b5fe08 --- /dev/null +++ b/vcs/perforce/tdevperforcepart.rc @@ -0,0 +1,23 @@ + + + + + + &Version Control + + + &Perforce + + + + + + + + + + + + + + diff --git a/vcs/subversion/CMakeLists.txt b/vcs/subversion/CMakeLists.txt index fb51fe3d..63ffad4b 100644 --- a/vcs/subversion/CMakeLists.txt +++ b/vcs/subversion/CMakeLists.txt @@ -31,19 +31,19 @@ link_directories( ##### other data ################################ install( FILES - kdevsubversion.desktop kdevsvn+file.protocol - kdevsvn+http.protocol kdevsvn+https.protocol - kdevsvn+ssh.protocol kdevsvn+svn.protocol + tdevsubversion.desktop tdevsvn+file.protocol + tdevsvn+http.protocol tdevsvn+https.protocol + tdevsvn+ssh.protocol tdevsvn+svn.protocol DESTINATION ${SERVICES_INSTALL_DIR} ) install( FILES - kdevsvnd.desktop + tdevsvnd.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded ) -##### libkdevsubversion (module) ################ +##### libtdevsubversion (module) ################ -tde_add_kpart( libkdevsubversion AUTOMOC +tde_add_kpart( libtdevsubversion AUTOMOC SOURCES subversion_core.cpp subversion_fileinfo.cpp subversion_fileinfo.skel subversion_part.cpp @@ -54,14 +54,14 @@ tde_add_kpart( libkdevsubversion AUTOMOC svn_logviewoptiondlgbase.ui svn_logviewwidget.cpp svn_mergeoptiondlgbase.ui svn_mergewidget.cpp svn_switchdlgbase.ui svn_switchwidget.cpp - LINK kdevextensions-static tdevelop-shared + LINK tdevextensions-static tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) -##### tdeio_kdevsvn (module) ###################### +##### tdeio_tdevsvn (module) ###################### -tde_add_kpart( tdeio_kdevsvn AUTOMOC +tde_add_kpart( tdeio_tdevsvn AUTOMOC SOURCES svn_tdeio.cpp LINK tdeio-shared ${SVN_LIBRARIES} ${APR_LIBRARIES} @@ -69,12 +69,12 @@ tde_add_kpart( tdeio_kdevsvn AUTOMOC ) -##### kded_kdevsvnd (module) #################### +##### kded_tdevsvnd (module) #################### -tde_add_kpart( kded_kdevsvnd AUTOMOC +tde_add_kpart( kded_tdevsvnd AUTOMOC SOURCES - commitdlg.cpp commitdlgbase.ui kdevsvnd.cpp kdevsvnd.skel - kdevsvnd_widgets.cpp svnssltrustpromptbase.ui + commitdlg.cpp commitdlgbase.ui tdevsvnd.cpp tdevsvnd.skel + tdevsvnd_widgets.cpp svnssltrustpromptbase.ui LINK tdeio-shared tdeinit_kded-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/vcs/subversion/Makefile.am b/vcs/subversion/Makefile.am index a66b80dd..2f650195 100644 --- a/vcs/subversion/Makefile.am +++ b/vcs/subversion/Makefile.am @@ -2,37 +2,37 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/util -I$(top_srcdi METASOURCES = AUTO -kde_module_LTLIBRARIES = libkdevsubversion.la tdeio_kdevsvn.la kded_kdevsvnd.la +kde_module_LTLIBRARIES = libtdevsubversion.la tdeio_tdevsvn.la kded_tdevsvnd.la -libkdevsubversion_la_SOURCES = subversion_core.cpp subversion_fileinfo.cpp \ +libtdevsubversion_la_SOURCES = subversion_core.cpp subversion_fileinfo.cpp \ subversion_fileinfo.skel subversion_part.cpp subversion_widget.cpp subversiondiff.ui \ subversionprojectwidget.ui svn_blamewidget.cpp svn_co.ui svn_commitdlgbase.ui svn_copydlgwidget.ui \ svn_copywidget.cpp svn_fileselectdlg_commit.cpp svn_logviewoptiondlgbase.ui \ svn_logviewwidget.cpp svn_mergeoptiondlgbase.ui svn_mergewidget.cpp svn_switchdlgbase.ui \ svn_switchwidget.cpp -libkdevsubversion_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/interfaces/extensions/libkdevextensions.la -libkdevsubversion_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevsubversion_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/interfaces/extensions/libtdevextensions.la +libtdevsubversion_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -tdeio_kdevsvn_la_SOURCES = svn_tdeio.cpp -tdeio_kdevsvn_la_LIBADD = $(LIB_TDEIO) -tdeio_kdevsvn_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN) $(SVN_LIB) +tdeio_tdevsvn_la_SOURCES = svn_tdeio.cpp +tdeio_tdevsvn_la_LIBADD = $(LIB_TDEIO) +tdeio_tdevsvn_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN) $(SVN_LIB) -kded_kdevsvnd_la_SOURCES = commitdlg.cpp commitdlgbase.ui kdevsvnd.cpp \ - kdevsvnd.skel kdevsvnd_widgets.cpp svnssltrustpromptbase.ui -kded_kdevsvnd_la_LIBADD = $(LIB_TDEIO) -ltdeinit_kded -kded_kdevsvnd_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN) +kded_tdevsvnd_la_SOURCES = commitdlg.cpp commitdlgbase.ui tdevsvnd.cpp \ + tdevsvnd.skel tdevsvnd_widgets.cpp svnssltrustpromptbase.ui +kded_tdevsvnd_la_LIBADD = $(LIB_TDEIO) -ltdeinit_kded +kded_tdevsvnd_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN) kdeddir = $(kde_servicesdir)/kded -kded_DATA = kdevsvnd.desktop +kded_DATA = tdevsvnd.desktop servicedir = $(kde_servicesdir) -service_DATA = kdevsubversion.desktop +service_DATA = tdevsubversion.desktop protocoldir = $(kde_servicesdir) -protocol_DATA = kdevsvn+file.protocol kdevsvn+http.protocol kdevsvn+https.protocol kdevsvn+ssh.protocol kdevsvn+svn.protocol +protocol_DATA = tdevsvn+file.protocol tdevsvn+http.protocol tdevsvn+https.protocol tdevsvn+ssh.protocol tdevsvn+svn.protocol SUBDIRS = integrator -noinst_HEADERS = commitdlg.h kdevsvnd.h svn_blamewidget.h svn_copywidget.h \ +noinst_HEADERS = commitdlg.h tdevsvnd.h svn_blamewidget.h svn_copywidget.h \ svn_fileselectdlg_commit.h svn_logviewwidget.h svn_mergewidget.h svn_switchwidget.h diff --git a/vcs/subversion/integrator/CMakeLists.txt b/vcs/subversion/integrator/CMakeLists.txt index 2256b8e3..3d6c7ad3 100644 --- a/vcs/subversion/integrator/CMakeLists.txt +++ b/vcs/subversion/integrator/CMakeLists.txt @@ -26,7 +26,7 @@ link_directories( ##### other data ################################ -install( FILES kdevsubversionintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevsubversionintegrator.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) ##### libsubversionintegrator (module) ########## @@ -35,6 +35,6 @@ tde_add_kpart( libsubversionintegrator AUTOMOC SOURCES subversionintegrator.cpp svnintegratordlgbase.ui svnintegratordlg.cpp - LINK kdevextras-shared tdevelop-shared + LINK tdevextras-shared tdevelop-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/vcs/subversion/integrator/Makefile.am b/vcs/subversion/integrator/Makefile.am index 231dc3c7..aded8465 100644 --- a/vcs/subversion/integrator/Makefile.am +++ b/vcs/subversion/integrator/Makefile.am @@ -6,9 +6,9 @@ METASOURCES = AUTO kde_module_LTLIBRARIES = libsubversionintegrator.la libsubversionintegrator_la_LDFLAGS = -avoid-version -no-undefined $(all_libraries) libsubversionintegrator_la_LIBADD =\ - $(top_builddir)/lib/interfaces/extras/libkdevextras.la\ + $(top_builddir)/lib/interfaces/extras/libtdevextras.la\ $(top_builddir)/lib/libtdevelop.la -kde_services_DATA = kdevsubversionintegrator.desktop +kde_services_DATA = tdevsubversionintegrator.desktop noinst_HEADERS = subversionintegrator.h svnintegratordlg.h libsubversionintegrator_la_SOURCES = subversionintegrator.cpp \ svnintegratordlgbase.ui svnintegratordlg.cpp diff --git a/vcs/subversion/integrator/kdevsubversionintegrator.desktop b/vcs/subversion/integrator/kdevsubversionintegrator.desktop deleted file mode 100644 index 6e666667..00000000 --- a/vcs/subversion/integrator/kdevsubversionintegrator.desktop +++ /dev/null @@ -1,45 +0,0 @@ -[Desktop Entry] -Type=Service -Name=KDevSubversionIntegrator -Name[da]=TDevelop Subversion-integration -Name[nds]=TDevelop-Subversion-Integreren -Name[sk]=KDev Subversion integrácia -Name[sv]=TDevelop Subversion-integration -Name[zh_TW]=TDevelop Subversion 整合器 -Comment=Subversion Project Integration Facility -Comment[ca]=Facilitat per a la integració amb Subversion -Comment[da]=Subversion projektintegration -Comment[de]=Subversion-Projektintegration -Comment[el]=Λειτουργία ενσωμάτωσης Subversion στο έργο -Comment[es]=Facilidad para integración con proyectos que utilicen Subversion -Comment[et]=Subversion projekti põimimisvahend -Comment[eu]=Subversion proiektuen integrazio-tesna -Comment[fa]=تسهیلات مجتمع‌سازی پروژۀ زیرنسخه -Comment[fr]=Fonction d'intégration pour un projet utilisant Subversion -Comment[gl]=Utilidade para a integración de proxectos Subversión -Comment[hu]=Projektintegrálást tesz lehetővé a Subversion-nel -Comment[it]=Funzione di integrazione del progetto Subversion -Comment[ja]=Subversion プロジェクト統合ツール -Comment[ms]=Kemudahan Integrasi Projek Subversion -Comment[nds]=Subversion-Projektintegreren -Comment[ne]=सबभर्सन परियोजना एकिकरण सुविधा -Comment[nl]=Subversion project-integratie -Comment[pl]=Integracja z Subversion -Comment[pt]=Integração com Projectos Subversion -Comment[pt_BR]=Facilidade de Integração ao Projeto de Subversão -Comment[ru]=Интеграция Subversion -Comment[sk]=Subversion projektová integrácia -Comment[sr]=Интеграција Subversion-а у пројекат -Comment[sr@Latn]=Integracija Subversion-a u projekat -Comment[sv]=Funktion för integrering av Subversion i projekt -Comment[tr]=Subversion Proje Bütünleştirme Aracı -Comment[zh_CN]=Subversion 工程集成功能 -Comment[zh_TW]=Subversion 專案整合工具 -Icon=misc -Exec=blubb -ServiceTypes=TDevelop/VCSIntegrator -X-TDE-Library=libsubversionintegrator -X-TDevelop-Default=false -X-TDevelop-VCS=Subversion -X-TDevelop-VCSPlugin=kdevsubversion -X-TDevelop-Version=5 diff --git a/vcs/subversion/integrator/subversionintegrator.cpp b/vcs/subversion/integrator/subversionintegrator.cpp index 32d28d27..da8fed8c 100644 --- a/vcs/subversion/integrator/subversionintegrator.cpp +++ b/vcs/subversion/integrator/subversionintegrator.cpp @@ -19,19 +19,19 @@ ***************************************************************************/ #include "subversionintegrator.h" -#include -#include +#include +#include #include "svnintegratordlg.h" -static const KDevPluginInfo data("kdevsubversionintegrator"); -typedef KDevGenericFactory SubversionIntegratorFactory; +static const TDevPluginInfo data("tdevsubversionintegrator"); +typedef TDevGenericFactory SubversionIntegratorFactory; K_EXPORT_COMPONENT_FACTORY( libsubversionintegrator, SubversionIntegratorFactory(data) ) SubversionIntegrator::SubversionIntegrator(TQObject* parent, const char* name, const TQStringList // args ) - :KDevVCSIntegrator(parent, name) + :TDevVCSIntegrator(parent, name) { } diff --git a/vcs/subversion/integrator/subversionintegrator.h b/vcs/subversion/integrator/subversionintegrator.h index 01c43516..6c7d16ac 100644 --- a/vcs/subversion/integrator/subversionintegrator.h +++ b/vcs/subversion/integrator/subversionintegrator.h @@ -20,11 +20,11 @@ #ifndef SUBVERSIONINTEGRATOR_H #define SUBVERSIONINTEGRATOR_H -#include +#include #include -class SubversionIntegrator : public KDevVCSIntegrator +class SubversionIntegrator : public TDevVCSIntegrator { Q_OBJECT diff --git a/vcs/subversion/integrator/svnintegratordlg.cpp b/vcs/subversion/integrator/svnintegratordlg.cpp index 87ccf488..35e4216b 100644 --- a/vcs/subversion/integrator/svnintegratordlg.cpp +++ b/vcs/subversion/integrator/svnintegratordlg.cpp @@ -47,7 +47,7 @@ SvnIntegratorDlg::SvnIntegratorDlg( TQWidget *parent, const char *name ) void SvnIntegratorDlg::accept() { // to let ioslave know which protocol it should start. - KURL protocolUrl = KURL("kdevsvn+svn://blah/"); + KURL protocolUrl = KURL("tdevsvn+svn://blah/"); KURL servURL( repos1->url() ); if ( servURL.isEmpty() ) return; diff --git a/vcs/subversion/integrator/svnintegratordlg.h b/vcs/subversion/integrator/svnintegratordlg.h index ccf1686f..bc8e8407 100644 --- a/vcs/subversion/integrator/svnintegratordlg.h +++ b/vcs/subversion/integrator/svnintegratordlg.h @@ -21,7 +21,7 @@ #define SVNINTEGRATORDLG_H #include "svnintegratordlgbase.h" -#include +#include class SvnIntegratorDlg: public SvnIntegratorDlgBase, public VCSDialog { Q_OBJECT diff --git a/vcs/subversion/integrator/tdevsubversionintegrator.desktop b/vcs/subversion/integrator/tdevsubversionintegrator.desktop new file mode 100644 index 00000000..6e666667 --- /dev/null +++ b/vcs/subversion/integrator/tdevsubversionintegrator.desktop @@ -0,0 +1,45 @@ +[Desktop Entry] +Type=Service +Name=KDevSubversionIntegrator +Name[da]=TDevelop Subversion-integration +Name[nds]=TDevelop-Subversion-Integreren +Name[sk]=KDev Subversion integrácia +Name[sv]=TDevelop Subversion-integration +Name[zh_TW]=TDevelop Subversion 整合器 +Comment=Subversion Project Integration Facility +Comment[ca]=Facilitat per a la integració amb Subversion +Comment[da]=Subversion projektintegration +Comment[de]=Subversion-Projektintegration +Comment[el]=Λειτουργία ενσωμάτωσης Subversion στο έργο +Comment[es]=Facilidad para integración con proyectos que utilicen Subversion +Comment[et]=Subversion projekti põimimisvahend +Comment[eu]=Subversion proiektuen integrazio-tesna +Comment[fa]=تسهیلات مجتمع‌سازی پروژۀ زیرنسخه +Comment[fr]=Fonction d'intégration pour un projet utilisant Subversion +Comment[gl]=Utilidade para a integración de proxectos Subversión +Comment[hu]=Projektintegrálást tesz lehetővé a Subversion-nel +Comment[it]=Funzione di integrazione del progetto Subversion +Comment[ja]=Subversion プロジェクト統合ツール +Comment[ms]=Kemudahan Integrasi Projek Subversion +Comment[nds]=Subversion-Projektintegreren +Comment[ne]=सबभर्सन परियोजना एकिकरण सुविधा +Comment[nl]=Subversion project-integratie +Comment[pl]=Integracja z Subversion +Comment[pt]=Integração com Projectos Subversion +Comment[pt_BR]=Facilidade de Integração ao Projeto de Subversão +Comment[ru]=Интеграция Subversion +Comment[sk]=Subversion projektová integrácia +Comment[sr]=Интеграција Subversion-а у пројекат +Comment[sr@Latn]=Integracija Subversion-a u projekat +Comment[sv]=Funktion för integrering av Subversion i projekt +Comment[tr]=Subversion Proje Bütünleştirme Aracı +Comment[zh_CN]=Subversion 工程集成功能 +Comment[zh_TW]=Subversion 專案整合工具 +Icon=misc +Exec=blubb +ServiceTypes=TDevelop/VCSIntegrator +X-TDE-Library=libsubversionintegrator +X-TDevelop-Default=false +X-TDevelop-VCS=Subversion +X-TDevelop-VCSPlugin=kdevsubversion +X-TDevelop-Version=5 diff --git a/vcs/subversion/kdevpart_subversion.rc b/vcs/subversion/kdevpart_subversion.rc deleted file mode 100644 index ad957e99..00000000 --- a/vcs/subversion/kdevpart_subversion.rc +++ /dev/null @@ -1,31 +0,0 @@ - - - - &Tools - &Version Control - - - &Subversion - - - - - - - - - - - - - - - - - - - - - diff --git a/vcs/subversion/kdevsubversion.desktop b/vcs/subversion/kdevsubversion.desktop deleted file mode 100644 index bf52db8c..00000000 --- a/vcs/subversion/kdevsubversion.desktop +++ /dev/null @@ -1,34 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=Subversion -Comment[fa]=زیرنسخه -Comment[hi]=सबवर्सन -Comment[ne]=सबभर्सन -Comment[pt_BR]=Subversão -Comment[ru]=Интеграция Subversion -Comment[ta]=உப பதிப்பு -Comment[tg]=Интегратсия Subversion -Name=KDevsubversion -Name[da]=TDevelop Subversion -Name[de]=Unterstützung für Subversion (TDevelop) -Name[hi]=के-डेव-सबवर्सन -Name[nds]=Subversion-Ünnerstütten för TDevelop -Name[sk]=KDev Subversion -Name[sv]=TDevelop Subversion -Name[ta]=kdev உப பதிப்பு -Name[tg]=KDevзер-ривоят -Name[zh_TW]=TDevelop Subversion -GenericName=Subversion -GenericName[fa]=زیرنسخه -GenericName[hi]=सबवर्सन -GenericName[ne]=सबभर्सन -GenericName[pt_BR]=Subversão -GenericName[ru]=Интеграция Subversion -GenericName[ta]=துணை பதிப்பு -GenericName[tg]=Зер-ривоят -Icon=misc -ServiceTypes=TDevelop/VersionControl -X-TDE-Library=libkdevsubversion -X-TDevelop-Version=5 -X-TDevelop-Properties=VCS,SubversionVCS diff --git a/vcs/subversion/kdevsvn+file.protocol b/vcs/subversion/kdevsvn+file.protocol deleted file mode 100644 index 412c3800..00000000 --- a/vcs/subversion/kdevsvn+file.protocol +++ /dev/null @@ -1,39 +0,0 @@ -[Protocol] -exec=tdeio_kdevsvn -protocol=kdevsvn+file -input=none -output=filesystem -reading=true -writing=true -deleting=true -makedir=true -linking=false -moving=true -deleteRecursive=true -listing=Name,Size,Date,Owner -defaultMimetype=application/octet-stream -Icon=remote -Description=Subversion ioslave for TDevelop -Description[ca]=L'esclau io (ioslave) Subversion per a TDevelop -Description[de]=Ein-/Ausgabemodul für Subversion (TDevelop) -Description[el]=Subversion ioslave για το TDevelop -Description[es]=El ioslave de Subversion para TDevelop -Description[et]=TDevelopi Subversioni IO-moodul -Description[fr]=Esclave d'E/S (ioslave) Subversion pour TDevelop -Description[hu]=Subversion KDE-protokoll a TDevelophoz -Description[it]=ioslave di subversion per TDevelop -Description[ja]=TDevelop のための Subversion ioslave -Description[ms]=IOslave Subversion untuk TDevelop -Description[nds]=TDevelop-In-/Utgaavmoduul för Subversion -Description[nl]=Subversion-ioslave voor TDevelop -Description[pl]=Wtyczka protokołu Subversion dla TDevelopa -Description[pt]='Ioslave' do Subversion para o TDevelop -Description[pt_BR]='Ioslave' do Subversion para o TDevelop -Description[ru]=Поддержка протокола Subversion для TDevelop -Description[sk]=Subversion ioslave pre TDevelop -Description[sr]=KIOSlave Subversion-а за TDevelop -Description[sr@Latn]=KIOSlave Subversion-a za TDevelop -Description[sv]=Subversion I/O-slav för TDevelop -Description[zh_TW]=TDevelop 的 Subversion ioslave -maxInstances=5 -class=:internet diff --git a/vcs/subversion/kdevsvn+http.protocol b/vcs/subversion/kdevsvn+http.protocol deleted file mode 100644 index 5a063b85..00000000 --- a/vcs/subversion/kdevsvn+http.protocol +++ /dev/null @@ -1,39 +0,0 @@ -[Protocol] -exec=tdeio_kdevsvn -protocol=kdevsvn+http -input=none -output=filesystem -reading=true -writing=true -deleting=true -makedir=true -linking=false -moving=true -deleteRecursive=true -listing=Name,Size,Date,Owner -defaultMimetype=application/octet-stream -Icon=remote -Description=Subversion ioslave for TDevelop -Description[ca]=L'esclau io (ioslave) Subversion per a TDevelop -Description[de]=Ein-/Ausgabemodul für Subversion (TDevelop) -Description[el]=Subversion ioslave για το TDevelop -Description[es]=El ioslave de Subversion para TDevelop -Description[et]=TDevelopi Subversioni IO-moodul -Description[fr]=Esclave d'E/S (ioslave) Subversion pour TDevelop -Description[hu]=Subversion KDE-protokoll a TDevelophoz -Description[it]=ioslave di subversion per TDevelop -Description[ja]=TDevelop のための Subversion ioslave -Description[ms]=IOslave Subversion untuk TDevelop -Description[nds]=TDevelop-In-/Utgaavmoduul för Subversion -Description[nl]=Subversion-ioslave voor TDevelop -Description[pl]=Wtyczka protokołu Subversion dla TDevelopa -Description[pt]='Ioslave' do Subversion para o TDevelop -Description[pt_BR]='Ioslave' do Subversion para o TDevelop -Description[ru]=Поддержка протокола Subversion для TDevelop -Description[sk]=Subversion ioslave pre TDevelop -Description[sr]=KIOSlave Subversion-а за TDevelop -Description[sr@Latn]=KIOSlave Subversion-a za TDevelop -Description[sv]=Subversion I/O-slav för TDevelop -Description[zh_TW]=TDevelop 的 Subversion ioslave -maxInstances=5 -class=:internet diff --git a/vcs/subversion/kdevsvn+https.protocol b/vcs/subversion/kdevsvn+https.protocol deleted file mode 100644 index d064e575..00000000 --- a/vcs/subversion/kdevsvn+https.protocol +++ /dev/null @@ -1,39 +0,0 @@ -[Protocol] -exec=tdeio_kdevsvn -protocol=kdevsvn+https -input=none -output=filesystem -reading=true -writing=true -deleting=true -makedir=true -linking=false -moving=true -deleteRecursive=true -listing=Name,Size,Date,Owner -defaultMimetype=application/octet-stream -Icon=remote -Description=Subversion ioslave for TDevelop -Description[ca]=L'esclau io (ioslave) Subversion per a TDevelop -Description[de]=Ein-/Ausgabemodul für Subversion (TDevelop) -Description[el]=Subversion ioslave για το TDevelop -Description[es]=El ioslave de Subversion para TDevelop -Description[et]=TDevelopi Subversioni IO-moodul -Description[fr]=Esclave d'E/S (ioslave) Subversion pour TDevelop -Description[hu]=Subversion KDE-protokoll a TDevelophoz -Description[it]=ioslave di subversion per TDevelop -Description[ja]=TDevelop のための Subversion ioslave -Description[ms]=IOslave Subversion untuk TDevelop -Description[nds]=TDevelop-In-/Utgaavmoduul för Subversion -Description[nl]=Subversion-ioslave voor TDevelop -Description[pl]=Wtyczka protokołu Subversion dla TDevelopa -Description[pt]='Ioslave' do Subversion para o TDevelop -Description[pt_BR]='Ioslave' do Subversion para o TDevelop -Description[ru]=Поддержка протокола Subversion для TDevelop -Description[sk]=Subversion ioslave pre TDevelop -Description[sr]=KIOSlave Subversion-а за TDevelop -Description[sr@Latn]=KIOSlave Subversion-a za TDevelop -Description[sv]=Subversion I/O-slav för TDevelop -Description[zh_TW]=TDevelop 的 Subversion ioslave -maxInstances=5 -class=:internet diff --git a/vcs/subversion/kdevsvn+ssh.protocol b/vcs/subversion/kdevsvn+ssh.protocol deleted file mode 100644 index 512b4a90..00000000 --- a/vcs/subversion/kdevsvn+ssh.protocol +++ /dev/null @@ -1,39 +0,0 @@ -[Protocol] -exec=tdeio_kdevsvn -protocol=kdevsvn+ssh -input=none -output=filesystem -reading=true -writing=true -deleting=true -makedir=true -linking=false -moving=true -deleteRecursive=true -listing=Name,Size,Date,Owner -defaultMimetype=application/octet-stream -Icon=remote -Description=Subversion ioslave for TDevelop -Description[ca]=L'esclau io (ioslave) Subversion per a TDevelop -Description[de]=Ein-/Ausgabemodul für Subversion (TDevelop) -Description[el]=Subversion ioslave για το TDevelop -Description[es]=El ioslave de Subversion para TDevelop -Description[et]=TDevelopi Subversioni IO-moodul -Description[fr]=Esclave d'E/S (ioslave) Subversion pour TDevelop -Description[hu]=Subversion KDE-protokoll a TDevelophoz -Description[it]=ioslave di subversion per TDevelop -Description[ja]=TDevelop のための Subversion ioslave -Description[ms]=IOslave Subversion untuk TDevelop -Description[nds]=TDevelop-In-/Utgaavmoduul för Subversion -Description[nl]=Subversion-ioslave voor TDevelop -Description[pl]=Wtyczka protokołu Subversion dla TDevelopa -Description[pt]='Ioslave' do Subversion para o TDevelop -Description[pt_BR]='Ioslave' do Subversion para o TDevelop -Description[ru]=Поддержка протокола Subversion для TDevelop -Description[sk]=Subversion ioslave pre TDevelop -Description[sr]=KIOSlave Subversion-а за TDevelop -Description[sr@Latn]=KIOSlave Subversion-a za TDevelop -Description[sv]=Subversion I/O-slav för TDevelop -Description[zh_TW]=TDevelop 的 Subversion ioslave -maxInstances=5 -class=:internet diff --git a/vcs/subversion/kdevsvn+svn.protocol b/vcs/subversion/kdevsvn+svn.protocol deleted file mode 100644 index 8f496854..00000000 --- a/vcs/subversion/kdevsvn+svn.protocol +++ /dev/null @@ -1,39 +0,0 @@ -[Protocol] -exec=tdeio_kdevsvn -protocol=kdevsvn+svn -input=none -output=filesystem -reading=true -writing=true -deleting=true -makedir=true -linking=false -moving=true -deleteRecursive=true -listing=Name,Size,Date,Owner -defaultMimetype=application/octet-stream -Icon=remote -Description=Subversion ioslave for TDevelop -Description[ca]=L'esclau io (ioslave) Subversion per a TDevelop -Description[de]=Ein-/Ausgabemodul für Subversion (TDevelop) -Description[el]=Subversion ioslave για το TDevelop -Description[es]=El ioslave de Subversion para TDevelop -Description[et]=TDevelopi Subversioni IO-moodul -Description[fr]=Esclave d'E/S (ioslave) Subversion pour TDevelop -Description[hu]=Subversion KDE-protokoll a TDevelophoz -Description[it]=ioslave di subversion per TDevelop -Description[ja]=TDevelop のための Subversion ioslave -Description[ms]=IOslave Subversion untuk TDevelop -Description[nds]=TDevelop-In-/Utgaavmoduul för Subversion -Description[nl]=Subversion-ioslave voor TDevelop -Description[pl]=Wtyczka protokołu Subversion dla TDevelopa -Description[pt]='Ioslave' do Subversion para o TDevelop -Description[pt_BR]='Ioslave' do Subversion para o TDevelop -Description[ru]=Поддержка протокола Subversion для TDevelop -Description[sk]=Subversion ioslave pre TDevelop -Description[sr]=KIOSlave Subversion-а за TDevelop -Description[sr@Latn]=KIOSlave Subversion-a za TDevelop -Description[sv]=Subversion I/O-slav för TDevelop -Description[zh_TW]=TDevelop 的 Subversion ioslave -maxInstances=5 -class=:internet diff --git a/vcs/subversion/kdevsvnd.cpp b/vcs/subversion/kdevsvnd.cpp deleted file mode 100644 index c1faf65e..00000000 --- a/vcs/subversion/kdevsvnd.cpp +++ /dev/null @@ -1,394 +0,0 @@ -/* - This file is part of the KDE Project - - Copyright (C) 2003, 2004 Mickael Marchand - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - version 2 as published by the Free Software Foundation. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this library; see the file COPYING. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "config.h" - -#include "kdevsvnd.h" - -#include "kdevsvnd_widgets.h" -#include "commitdlg.h" - -extern "C" { - KDE_EXPORT KDEDModule *create_kdevsvnd(const TQCString &name) { - return new KDevSvnd(name); - } -} - -KDevSvnd::KDevSvnd(const TQCString &name) - : KDEDModule(name) { -} -KDevSvnd::~KDevSvnd() -{} - -TQString KDevSvnd::commitDialog(TQString modifiedFiles) { - CommitDlg commitDlg; - commitDlg.setCaption(i18n("Enter Commit Log Message:")); - commitDlg.listMessage->setText( modifiedFiles ); - int result = commitDlg.exec(); - if ( result == TQDialog::Accepted ) { - return commitDlg.textMessage->text(); - } else - return TQString(); -} -int KDevSvnd::sslServerTrustPrompt( TQString errmsg, TQString hostname, TQString fingerPrint, TQString validfrom, TQString validuntil, TQString issuerName, TQString ascii_cert ) -{ - SvnSSLTrustPrompt dlg; - dlg.setupCertInfo( hostname, fingerPrint, validfrom, validuntil, issuerName, ascii_cert ); - dlg.setupFailedReasonMsg( errmsg ); - int result = dlg.exec(); - if ( result == TQDialog::Accepted ){ - return dlg.code(); - } else{ - return -1; - } -} -TQString KDevSvnd::sslCertFile() -{ - TQString fileName = KFileDialog::getOpenFileName(TQString(),TQString(),0, i18n("Open SSL certificate file")); - return fileName; -} -TQCString KDevSvnd::sslPasswdDlg(TQString promptMsg) -{ - TQCString passwd; - int ret = KPasswordDialog::getPassword( passwd,promptMsg ); - if( ret == KPasswordDialog::Accepted ){ - TQCString retstr; - retstr.setNum(1); - return retstr + passwd; - } else{ - TQCString nullstr; - nullstr.setNum(-1); - return nullstr; - } -} - - -// void KDevSvnd::registerMe(const TQCString &app) -// { -// insert(app, "test", new TestObject(app)); -// // When 'app' unregisters with DCOP, the TestObject will get deleted. -// } - -// bool KSvnd::AreAnyFilesInSvn( const KURL::List& wclist ) { -// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { -// kdDebug( 9036 ) << "Checking file " << ( *it ) << endl; -// TQDir bdir ( ( *it ).path() ); -// if ( bdir.exists() && TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) { -// return true; -// } else if ( !bdir.exists() ) { -// if ( isFileInSvnEntries( ( *it ).fileName(), ( *it ).directory() + "/.svn/entries" ) || isFileInExternals ( ( *it ).fileName(), ( *it ).directory()+"/.svn/dir-props" ) ) -// return true; -// } -// } -// return false; -// } -// -// bool KSvnd::AreAnyFilesNotInSvn( const KURL::List& wclist ) { -// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { -// kdDebug( 9036 ) << "Checking file " << ( *it ) << endl; -// TQDir bdir ( ( *it ).path() ); -// if ( bdir.exists() && !TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) { -// return true; -// } else if ( !bdir.exists() ) { -// if ( !isFileInSvnEntries( ( *it ).fileName(),( *it ).directory() + "/.svn/entries" ) && !isFileInExternals ( ( *it ).fileName(), ( *it ).directory()+"/.svn/dir-props" ) ) -// return true; -// } -// } -// return false; -// } -// -// bool KSvnd::AreAllFilesInSvn( const KURL::List& wclist ) { -// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { -// kdDebug( 9036 ) << "Checking file " << ( *it ) << endl; -// TQDir bdir ( ( *it ).path() ); -// if ( bdir.exists() && !TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) { -// return false; -// } else if ( !bdir.exists() ) { -// if ( !isFileInSvnEntries( ( *it ).fileName(),( *it ).directory() + "/.svn/entries" ) && !isFileInExternals ( ( *it ).fileName(), ( *it ).directory()+"/.svn/dir-props" ) ) -// return false; -// } -// } -// return true; -// } -// -// bool KSvnd::AreAllFilesNotInSvn( const KURL::List& wclist ) { -// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { -// kdDebug( 9036 ) << "Checking file " << ( *it ) << endl; -// TQDir bdir ( ( *it ).path() ); -// if ( bdir.exists() && TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) { -// return false; -// } else if ( !bdir.exists() ) { -// if ( isFileInSvnEntries( ( *it ).fileName(),( *it ).directory() + "/.svn/entries" ) || isFileInExternals ( ( *it ).fileName(), ( *it ).directory()+"/.svn/dir-props" ) ) -// return false; -// } -// } -// return true; -// } -// -// bool KSvnd::isFileInSvnEntries ( const TQString filename, const TQString entfile ) { -// TQFile file( entfile ); -// if ( file.open( IO_ReadOnly ) ) { -// TQTextStream stream( &file ); -// TQString line; -// while ( !stream.atEnd() ) { -// line = stream.readLine().simplifyWhiteSpace(); -// if ( line == "name=\""+ filename + "\"" ) { -// file.close(); -// return true; -// } -// } -// file.close(); -// } -// return false; -// } -// -// bool KSvnd::isFileInExternals ( const TQString filename, const TQString propfile ) { -// TQFile file( propfile ); -// if ( file.open( IO_ReadOnly ) ) { -// TQTextStream stream( &file ); -// TQStringList line; -// while ( !stream.atEnd() ) -// line << stream.readLine().simplifyWhiteSpace(); -// for ( uint i = 0 ; i < line.count(); i++ ) { -// if ( line[ i ] == "K 13" && line[ i+1 ] == "svn:externals" ) { //Key 13 : svn:externals -// //next line should be "V xx" -// if ( line [ i+2 ].startsWith( "V " ) ) { -// //ok browse the values now -// i+=2; -// while ( i < line.count() ) { -// if ( line[ i ].startsWith( filename+" " ) ) { //found it ! -// file.close( ); -// return true; -// } else if ( line[ i ].isEmpty() ) { -// file.close( ); -// return false; //we are out of svn:externals now... -// } -// i++; -// } -// } -// } -// } -// file.close(); -// } -// return false; -// } -// -// bool KSvnd::anyNotValidWorkingCopy( const KURL::List& wclist ) { -// bool result = true; //one negative match is enough -// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { -// //exception for .svn dirs -// if ( ( *it ).path(-1).endsWith( "/.svn" ) ) -// return true; -// //if is a directory check whether it contains a .svn/entries file -// TQDir dir( ( *it ).path() ); -// if ( dir.exists() ) { //it's a dir -// if ( !TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) -// result = false; -// } -// -// //else check if ./.svn/entries exists -// if ( !TQFile::exists( ( *it ).directory() + "/.svn/entries" ) ) -// result = false; -// } -// return result; -// } -// -// bool KSvnd::anyValidWorkingCopy( const KURL::List& wclist ) { -// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { -// //skip .svn dirs -// if ( ( *it ).path(-1).endsWith( "/.svn" ) ) -// continue; -// //if is a directory check whether it contains a .svn/entries file -// TQDir dir( ( *it ).path() ); -// if ( dir.exists() ) { //it's a dir -// if ( TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) -// return true; -// } -// -// //else check if ./.svn/entries exists -// if ( TQFile::exists( ( *it ).directory() + "/.svn/entries" ) ) -// return true; -// } -// return false; -// } -// -// int KSvnd::getStatus( const KURL::List& list ) { -// int result = 0; -// uint files = 0, folders = 0, parentsentries = 0, parentshavesvn = 0, subdirhavesvn = 0, external = 0; -// for ( TQValueListConstIterator it = list.begin(); it != list.end() ; ++it ) { -// if ( isFolder ( ( *it ) ) ) { -// folders++; -// } else { -// files++; -// } -// if ( isFileInSvnEntries ( (*it).filename(),( *it ).directory() + "/.svn/entries" ) ) { // normal subdir known in the working copy -// parentsentries++; -// } else if ( isFolder( *it ) ) { // other subfolders (either another module checkouted or an external, or something not known at all) -// if ( TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) -// subdirhavesvn++; -// if ( isFileInExternals( (*it).filename(), ( *it ).directory() + "/.svn/dir-props" ) ) { -// external++; -// } -// } -// if ( ( isFolder( ( *it ) ) && TQFile::exists( ( *it ).directory() + "../.svn/entries" ) ) || TQFile::exists( ( *it ).directory() + "/.svn/entries" ) ) //parent has a .svn ? -// parentshavesvn++; -// } -// if ( files > 0 ) -// result |= SomeAreFiles; -// if ( folders == list.count() ) { -// result |= AllAreFolders; -// result |= SomeAreFolders; -// } -// if ( folders > 0 ) -// result |= SomeAreFolders; -// if ( parentsentries == list.count() ) { -// result |= AllAreInParentsEntries; -// result |= SomeAreInParentsEntries; -// } else if ( parentsentries != 0 ) -// result |= SomeAreInParentsEntries; -// if ( parentshavesvn == list.count() ) { -// result |= AllParentsHaveSvn; -// result |= SomeParentsHaveSvn; -// } else if ( parentshavesvn > 0 ) -// result |= SomeParentsHaveSvn; -// if ( subdirhavesvn == list.count() ) { -// result |= AllHaveSvn; -// result |= SomeHaveSvn; -// } else if ( subdirhavesvn > 0 ) -// result |= SomeHaveSvn; -// if ( external == list.count() ) { -// result |= AllAreExternalToParent; -// result |= SomeAreExternalToParent; -// } else if ( external > 0 ) -// result |= SomeAreExternalToParent; -// -// return result; -// } -// -// bool KSvnd::isFolder( const KURL& url ) { -// TQDir d( url.path() ); -// return d.exists(); -// } -// -// TQStringList KSvnd::getActionMenu ( const KURL::List &list ) { -// TQStringList result; -// int listStatus = getStatus( list ); -// -// if ( !(listStatus & SomeAreInParentsEntries) && -// !(listStatus & SomeAreExternalToParent) && -// !(listStatus & SomeHaveSvn)) { -// if( list.size() == 1 && listStatus & SomeAreFolders) { -// result << "Checkout"; -// result << "Export"; -// // result << "CreateRepository"; -// result << "Import"; -// } -// } else if ( (listStatus & AllAreInParentsEntries) ) { -// result << "Diff"; -// //In SVN -// // result << "ShowLog"; -// // result << "CheckForModifications"; -// // result << "RevisionGraph"; -// // result << "_SEPARATOR_"; -// // result << "Update to revision..." -// result << "Rename"; -// result << "Delete"; -// if( listStatus & SomeAreFolders && !(listStatus & SomeAreFiles)) { -// result << "Revert"; -// // result << "Cleanup"; -// } -// result << "_SEPARATOR_"; -// // result << "BranchTag"; -// result << "Switch"; -// result << "Merge"; -// if( listStatus & SomeAreFolders && !(listStatus & SomeAreFiles)) { -// // result << "Export"; -// // result << "Relocate"; -// result << "_SEPARATOR_"; -// result << "Add"; -// } -// result << "_SEPARATOR_"; -// if( listStatus & SomeAreFiles && !(listStatus & SomeAreFolders)) { -// result << "Blame"; -// } -// result << "CreatePatch"; -// -// if( list.size() == 1 && listStatus & SomeAreFolders) { -// // result << "ApplyPatchToFolder"; -// } -// } -// return result; -// } -// -// TQStringList KSvnd::getTopLevelActionMenu ( const KURL::List &list ) { -// TQStringList result; -// int listStatus = getStatus( list ); -// -// -// if ( ( listStatus & AllParentsHaveSvn && -// ( ( listStatus & SomeAreExternalToParent ) || ( listStatus & SomeAreInParentsEntries ) ) -// || ( listStatus & SomeHaveSvn ) ) -// ) { -// result << "Update"; -// result << "Commit"; -// } -// -// return result; -// } -// -// #if 0 -// void KSvnd::notify(const TQString& path, int action, int kind, const TQString& mime_type, int content_state, int prop_state, long int revision, const TQString& userstring) { -// kdDebug(9036) << "KDED/Subversion : notify " << path << " action : " << action << " mime_type : " << mime_type << " content_state : " << content_state << " prop_state : " << prop_state << " revision : " << revision << " userstring : " << userstring << endl; -// TQByteArray params; -// -// TQDataStream stream(params, IO_WriteOnly); -// stream << path << action << kind << mime_type << content_state << prop_state << revision << userstring; -// -// emitDCOPSignal( "subversionNotify(TQString,int,int,TQString,int,int,long int,TQString)", params ); -// } -// -// void KSvnd::status(const TQString& path, int text_status, int prop_status, int repos_text_status, int repos_prop_status, long int rev ) { -// kdDebug(9036) << "KDED/Subversion : status " << path << " " << text_status << " " << prop_status << " " -// << repos_text_status << " " << repos_prop_status << " " << rev << endl; -// TQByteArray params; -// -// TQDataStream stream(params, IO_WriteOnly); -// stream << path << text_status << prop_status << repos_text_status << repos_prop_status << rev; -// -// emitDCOPSignal( "subversionStatus(TQString,int,int,int,int,long int)", params ); -// } -// -// void KSvnd::popupMessage( const TQString& message ) { -// kdDebug(9036) << "KDED/Subversion : popupMessage" << message << endl; -// KMessageBox::information(0, message, i18n( "Subversion" ) ); -// } -// #endif - -#include "kdevsvnd.moc" diff --git a/vcs/subversion/kdevsvnd.desktop b/vcs/subversion/kdevsvnd.desktop deleted file mode 100644 index 9ba3e877..00000000 --- a/vcs/subversion/kdevsvnd.desktop +++ /dev/null @@ -1,32 +0,0 @@ -[Desktop Entry] -Type=Service -Name=TDevelop Subversion Module -Name[ca]=Mòdul de Subversion per a TDevelop -Name[da]=TDevelop Subversion-Modul -Name[de]=Subversion-Komponente (TDevelop) -Name[el]=Άρθρωμα subversion του TDevelop -Name[es]=Módulo de Subversion de TDevelop -Name[et]=TDevelopi Subversioni Moodul -Name[fr]=Module Subversion pour TDevelop -Name[hu]=TDevelop-Modul a Subversion kezeléséhez -Name[it]=Modulo Subversion di TDevelop -Name[ja]=TDevelop Subversion モジュール -Name[ms]=Modul Subversion TDevelop -Name[nds]=TDevelop-Moduul för Subversion -Name[nl]=TDevelop Subversion-Module -Name[pl]=Modul Subversion dla TDevelopa -Name[pt]=Módulo de Subversion do TDevelop -Name[pt_BR]=Módulo de Subversion do TDevelop -Name[ru]=Модуль Subversion для TDevelop -Name[sk]=TDevelop Subversion Modul -Name[sr]=TDevelop-ов модул за Subversion -Name[sr@Latn]=TDevelop-ov Modul za Subversion -Name[sv]=TDevelop Subversion-Modul -Name[zh_TW]=TDevelop Subversion 模組 -Comment=Provides subversion client services with TDevelop -ServiceTypes=KDEDModule -X-TDE-ModuleType=Library -X-TDE-Library=kdevsvnd -X-TDE-FactoryName=kdevsvnd -X-TDE-Kded-autoload=true -X-TDE-Kded-load-on-demand=true diff --git a/vcs/subversion/kdevsvnd.h b/vcs/subversion/kdevsvnd.h deleted file mode 100644 index 438520e1..00000000 --- a/vcs/subversion/kdevsvnd.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - This file is part of the KDE Project - - Copyright (C) 2003-2005 Mickael Marchand - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - version 2 as published by the Free Software Foundation. - - This software is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this library; see the file COPYING. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KSVND_H -#define KSVND_H - -#include -#include -#include -#include - -class KDevSvnd : public KDEDModule -{ -Q_OBJECT -// - -K_DCOP - - //note: InSVN means parent is added. InRepos means itself is added - enum { SomeAreFiles = 1, SomeAreFolders = 2, SomeAreInParentsEntries = 4, SomeParentsHaveSvn = 8, SomeHaveSvn = 16, SomeAreExternalToParent = 32, AllAreInParentsEntries = 64, AllParentsHaveSvn = 128, AllHaveSvn = 256, AllAreExternalToParent = 512, AllAreFolders = 1024 }; -public: - KDevSvnd(const TQCString &); - ~KDevSvnd(); - -k_dcop: -// void addAuthInfo(TDEIO::AuthInfo, long); - TQString commitDialog(TQString); - int sslServerTrustPrompt(TQString certFailMsg, TQString hostname, TQString fingerPrint, TQString validfrom, TQString validuntil, TQString issuerName, TQString ascii_cert ); - TQString sslCertFile(); - TQCString sslPasswdDlg(TQString promptMsg); - -}; - -#endif diff --git a/vcs/subversion/kdevsvnd_widgets.cpp b/vcs/subversion/kdevsvnd_widgets.cpp deleted file mode 100644 index 0fd2c20b..00000000 --- a/vcs/subversion/kdevsvnd_widgets.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2007 Dukju Ahn (dukjuahn@gmail.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - */ - -#include "kdevsvnd_widgets.h" -#include -#include -#include -#include - -SvnSSLTrustPrompt::SvnSSLTrustPrompt( TQWidget* parent, const char* name, bool modal, WFlags f ) - :SvnSSLTrustPromptBase( parent, name, modal, f ) - , m_code(-1) -{ - listView1->setColumnText( 0, "Items" ); - listView1->setColumnText( 1, "Values" ); - btnPermanent->setText(i18n("Accept Permanently")); - btnTemporary->setText(i18n("Accept Temporarily")); - btnReject->setText(i18n("Reject")); - connect( btnPermanent, TQT_SIGNAL(clicked()), this, TQT_SLOT(setPermanent()) ); - connect( btnTemporary, TQT_SIGNAL(clicked()), this, TQT_SLOT(setTemporary()) ); - connect( btnReject, TQT_SIGNAL(clicked()), this, TQT_SLOT(setRejected ()) ); -} -SvnSSLTrustPrompt::~SvnSSLTrustPrompt() -{} - -void SvnSSLTrustPrompt::setupCertInfo( TQString hostname, TQString fingerPrint, TQString validfrom, TQString validuntil, TQString issuerName, TQString ascii_cert ) -{ - // setup texts - TQListViewItem *host= new TQListViewItem(listView1, i18n("Hostname"), hostname ); - TQListViewItem *finger = new TQListViewItem(listView1, i18n("FingerPrint"), fingerPrint ); - TQListViewItem *validFrom = new TQListViewItem(listView1, i18n("Valid From"), validfrom ); - TQListViewItem *validUntil = new TQListViewItem(listView1, i18n("Valid Until"), validuntil ); - TQListViewItem *issName = new TQListViewItem(listView1, i18n("Issuer"), issuerName ); - TQListViewItem *cert = new TQListViewItem(listView1, i18n("Cert"), ascii_cert ); -} -void SvnSSLTrustPrompt::setupFailedReasonMsg( TQString msg ) -{ - errMsgLabel->setText( msg ); -} -int SvnSSLTrustPrompt::code() -{ - return m_code; -} - -void SvnSSLTrustPrompt::setPermanent() -{ - m_code = 1; -} - -void SvnSSLTrustPrompt::setTemporary() -{ - m_code = 0; -} - -void SvnSSLTrustPrompt::setRejected() -{ - m_code = -1; -} -#include "kdevsvnd_widgets.moc" diff --git a/vcs/subversion/kdevsvnd_widgets.h b/vcs/subversion/kdevsvnd_widgets.h deleted file mode 100644 index 3967cb35..00000000 --- a/vcs/subversion/kdevsvnd_widgets.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2007 Dukju Ahn (dukjuahn@gmail.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - */ - -#ifndef KDEVSVND_WIDGETS_H -#define KDEVSVND_WIDGETS_H - -#include "svnssltrustpromptbase.h" - -class SvnSSLTrustPrompt : public SvnSSLTrustPromptBase{ -Q_OBJECT - -public: - SvnSSLTrustPrompt( TQWidget* parent=0, const char* name=0, bool modal=true, WFlags f=0 ); - ~SvnSSLTrustPrompt(); - void setupCertInfo( TQString hostname, TQString fingerPrint, TQString validfrom, TQString validuntil, TQString issuerName, TQString ascii_cert ); - void setupFailedReasonMsg( TQString msg ); - int code(); - -public slots: - void setPermanent(); - void setTemporary(); - void setRejected(); - -protected: - // -1 for reject - // 0 for accept temporarily - // 1 for accept permanently - int m_code; -}; - -#endif diff --git a/vcs/subversion/subversion_core.cpp b/vcs/subversion/subversion_core.cpp index e9c89ece..108bf298 100644 --- a/vcs/subversion/subversion_core.cpp +++ b/vcs/subversion/subversion_core.cpp @@ -18,15 +18,15 @@ */ #include -#include -#include +#include +#include #include "subversion_part.h" #include "subversion_core.h" #include "subversion_widget.h" #include "svn_blamewidget.h" #include "svn_logviewwidget.h" #include "subversiondiff.h" -#include +#include #include "svn_co.h" #include #include @@ -82,7 +82,7 @@ subversionCore::~subversionCore() { //FIXME delete m_fileInfoProvider here? } -KDevVCSFileInfoProvider *subversionCore::fileInfoProvider() const { +TDevVCSFileInfoProvider *subversionCore::fileInfoProvider() const { return m_fileInfoProvider; } @@ -114,8 +114,8 @@ subversionWidget *subversionCore::processWidget() const { void subversionCore::resolve( const KURL::List& list ) { KURL servURL = m_part->baseURL(); if ( servURL.isEmpty() ) servURL="kdevsvn+svn://blah/"; - if ( ! servURL.protocol().startsWith( "kdevsvn+" ) ) { - servURL.setProtocol( "kdevsvn+" + servURL.protocol() ); //make sure it starts with "svn" + if ( ! servURL.protocol().startsWith( "tdevsvn+" ) ) { + servURL.setProtocol( "tdevsvn+" + servURL.protocol() ); //make sure it starts with "svn" } kdDebug(9036) << "servURL : " << servURL.prettyURL() << endl; for ( TQValueListConstIterator it = list.begin(); it != list.end() ; ++it ) { @@ -248,8 +248,8 @@ void subversionCore::diffAsync( const KURL &pathOrUrl1, const KURL &pathOrUrl2, void subversionCore::commit( const KURL::List& list, bool recurse, bool keeplocks ) { KURL servURL = m_part->baseURL(); if ( servURL.isEmpty() ) servURL="kdevsvn+svn://blah/"; - if ( ! servURL.protocol().startsWith( "kdevsvn+" ) ) { - servURL.setProtocol( "kdevsvn+" + servURL.protocol() ); //make sure it starts with "svn" + if ( ! servURL.protocol().startsWith( "tdevsvn+" ) ) { + servURL.setProtocol( "tdevsvn+" + servURL.protocol() ); //make sure it starts with "svn" } kdDebug(9036) << "servURL : " << servURL.prettyURL() << endl; TQByteArray parms; @@ -277,8 +277,8 @@ void subversionCore::svnLog( const KURL::List& list, clientInfo( KURL(m_part->project()->projectDirectory()), false, m_part->m_prjInfoMap ); KURL servURL = m_part->baseURL(); if ( servURL.isEmpty() ) servURL="kdevsvn+svn://blah/"; - if ( ! servURL.protocol().startsWith( "kdevsvn+" ) ) { - servURL.setProtocol( "kdevsvn+" + servURL.protocol() ); //make sure it starts with "svn" + if ( ! servURL.protocol().startsWith( "tdevsvn+" ) ) { + servURL.setProtocol( "tdevsvn+" + servURL.protocol() ); //make sure it starts with "svn" } kdDebug(9036) << "servURL : " << servURL.prettyURL() << endl; TQByteArray parms; @@ -304,8 +304,8 @@ void subversionCore::blame( const KURL &url, UrlMode mode, int revstart, TQStrin { KURL servURL = m_part->baseURL(); if ( servURL.isEmpty() ) servURL="kdevsvn+svn://blah/"; - if ( ! servURL.protocol().startsWith( "kdevsvn+" ) ) { - servURL.setProtocol( "kdevsvn+" + servURL.protocol() ); //make sure it starts with "svn" + if ( ! servURL.protocol().startsWith( "tdevsvn+" ) ) { + servURL.setProtocol( "tdevsvn+" + servURL.protocol() ); //make sure it starts with "svn" } kdDebug(9036) << "servURL : " << servURL.prettyURL() << endl; TQByteArray parms; @@ -374,7 +374,7 @@ void subversionCore::checkout() { int cmd = 1; int rev = -1; s << cmd << servURL << KURL( wcPath ) << rev << TQString( "HEAD" ); - servURL.setProtocol( "kdevsvn+" + servURL.protocol() ); //make sure it starts with "svn" + servURL.setProtocol( "tdevsvn+" + servURL.protocol() ); //make sure it starts with "svn" SimpleJob * job = TDEIO::special(servURL,parms, true); job->setWindow( m_part->mainWindow()->main() ); connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotEndCheckout( TDEIO::Job * ) ) ); diff --git a/vcs/subversion/subversion_core.h b/vcs/subversion/subversion_core.h index f2f3f6da..60cd8cfc 100644 --- a/vcs/subversion/subversion_core.h +++ b/vcs/subversion/subversion_core.h @@ -29,7 +29,7 @@ #include "subversion_fileinfo.h" #include "subversion_global.h" -class KDevProject; +class TDevProject; class subversionPart; class subversionWidget; class TDEApplication; @@ -76,7 +76,7 @@ public: // Return true on success. Otherwise return false. bool clientInfo( KURL path_or_url, bool recurse, TQMap< KURL, SvnGlobal::SvnInfoHolder> &holderMap ); void createNewProject( const TQString& dirName, const KURL& importURL, bool init ); - KDevVCSFileInfoProvider *fileInfoProvider() const; + TDevVCSFileInfoProvider *fileInfoProvider() const; void initProcessDlg( TDEIO::Job *job, const TQString &src, const TQString &dest ); // k_dcop: diff --git a/vcs/subversion/subversion_fileinfo.cpp b/vcs/subversion/subversion_fileinfo.cpp index 45d44d1e..c41ff9ef 100644 --- a/vcs/subversion/subversion_fileinfo.cpp +++ b/vcs/subversion/subversion_fileinfo.cpp @@ -22,10 +22,10 @@ #include #include #include -#include +#include #include #include -#include +#include #include #include @@ -33,7 +33,7 @@ #include SVNFileInfoProvider::SVNFileInfoProvider(subversionPart *parent, const char *name) - : KDevVCSFileInfoProvider( parent, "svnfileinfoprovider" ), + : TDevVCSFileInfoProvider( parent, "svnfileinfoprovider" ), m_cachedDirEntries( 0 ), m_recursiveDirEntries(0) { Q_UNUSED(name); m_part = parent; diff --git a/vcs/subversion/subversion_fileinfo.h b/vcs/subversion/subversion_fileinfo.h index 9b322463..1d144270 100644 --- a/vcs/subversion/subversion_fileinfo.h +++ b/vcs/subversion/subversion_fileinfo.h @@ -23,7 +23,7 @@ #include -#include +#include #include #include #include @@ -34,7 +34,7 @@ Provider for SVN file information @author Mickael Marchand */ -class SVNFileInfoProvider : public KDevVCSFileInfoProvider, public DCOPObject/*, virtual public DCOPClient*/ +class SVNFileInfoProvider : public TDevVCSFileInfoProvider, public DCOPObject/*, virtual public DCOPClient*/ { Q_OBJECT // diff --git a/vcs/subversion/subversion_part.cpp b/vcs/subversion/subversion_part.cpp index f3f43cd9..3df326d9 100644 --- a/vcs/subversion/subversion_part.cpp +++ b/vcs/subversion/subversion_part.cpp @@ -21,18 +21,18 @@ #include #include #include -#include +#include #include #include -#include "kdevcore.h" -#include "kdevmainwindow.h" +#include "tdevcore.h" +#include "tdevmainwindow.h" #include "subversion_core.h" #include "subversion_widget.h" #include "subversionprojectwidget.h" #include "subversion_fileinfo.h" #include "subversion_global.h" -#include "kdevversioncontrol.h" +#include "tdevversioncontrol.h" #include "svn_fileselectdlg_commit.h" #include "svn_logviewwidget.h" #include "svn_switchwidget.h" @@ -43,28 +43,28 @@ #include #include #include -#include -#include +#include +#include #include #include #include #include #include -#include +#include #include using namespace SvnGlobal; -static const KDevPluginInfo data("kdevsubversion"); +static const TDevPluginInfo data("tdevsubversion"); -typedef KDevGenericFactory subversionFactory; -K_EXPORT_COMPONENT_FACTORY( libkdevsubversion, subversionFactory( data ) ) +typedef TDevGenericFactory subversionFactory; +K_EXPORT_COMPONENT_FACTORY( libtdevsubversion, subversionFactory( data ) ) //bool g_projectWasJustCreated = false; subversionPart::subversionPart(TQObject *parent, const char *name, const TQStringList& ) - : KDevVersionControl(&data, parent, name ? name : "Subversion" ) { + : TDevVersionControl(&data, parent, name ? name : "Subversion" ) { setInstance(subversionFactory::instance()); m_projWidget = 0; @@ -79,7 +79,7 @@ subversionPart::subversionPart(TQObject *parent, const char *name, const TQStrin // Context menu connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) ); connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQT_SLOT(projectConfigWidget(KDialogBase*)) ); - connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)), this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) ); + connect( core(), TQT_SIGNAL(stopButtonClicked(TDevPlugin*)), this, TQT_SLOT(slotStopButtonClicked(TDevPlugin*)) ); connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) ); connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(slotProjectClosed()) ); @@ -177,7 +177,7 @@ bool subversionPart::fetchFromRepository() { return true; } -KDevVCSFileInfoProvider * subversionPart::fileInfoProvider() const { +TDevVCSFileInfoProvider * subversionPart::fileInfoProvider() const { return m_impl->fileInfoProvider(); } diff --git a/vcs/subversion/subversion_part.h b/vcs/subversion/subversion_part.h index 1847567d..9296152a 100644 --- a/vcs/subversion/subversion_part.h +++ b/vcs/subversion/subversion_part.h @@ -16,16 +16,16 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifndef __KDEVPART_SUBVERSION_H__ -#define __KDEVPART_SUBVERSION_H__ +#ifndef __TDEVPART_SUBVERSION_H__ +#define __TDEVPART_SUBVERSION_H__ #include -#include +#include #include #include #include -#include "kdevversioncontrol.h" +#include "tdevversioncontrol.h" class subversionCore; class subversionOptionsWidget; @@ -36,7 +36,7 @@ namespace SvnGlobal class SvnInfoHolder; }; -class subversionPart : public KDevVersionControl +class subversionPart : public TDevVersionControl { Q_OBJECT @@ -49,7 +49,7 @@ public: TQWidget* newProjectWidget( TQWidget* parent ); void createNewProject( const TQString& dirname ); bool fetchFromRepository(); - KDevVCSFileInfoProvider * fileInfoProvider() const; + TDevVCSFileInfoProvider * fileInfoProvider() const; bool urlFocusedDocument( KURL &url ); void restorePartialProjectSession(const TQDomElement* ); void savePartialProjectSession(TQDomElement* ); diff --git a/vcs/subversion/subversion_widget.cpp b/vcs/subversion/subversion_widget.cpp index 95b31f6b..9b29e1fa 100644 --- a/vcs/subversion/subversion_widget.cpp +++ b/vcs/subversion/subversion_widget.cpp @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include diff --git a/vcs/subversion/svn_fileselectdlg_commit.cpp b/vcs/subversion/svn_fileselectdlg_commit.cpp index e042df84..9c210a37 100644 --- a/vcs/subversion/svn_fileselectdlg_commit.cpp +++ b/vcs/subversion/svn_fileselectdlg_commit.cpp @@ -29,10 +29,10 @@ #include #include #include -#include "kdevmainwindow.h" +#include "tdevmainwindow.h" #include -#include +#include SVNFileSelectDlgCommit::SVNFileSelectDlgCommit( KURL::List &urls, subversionPart *part, TQWidget* parent) :SvnCommitDlgBase( parent, "svnfileselectcommitdlg", true ) diff --git a/vcs/subversion/svn_logviewwidget.cpp b/vcs/subversion/svn_logviewwidget.cpp index 10e55a9f..e872a586 100644 --- a/vcs/subversion/svn_logviewwidget.cpp +++ b/vcs/subversion/svn_logviewwidget.cpp @@ -22,7 +22,7 @@ #include "svn_blamewidget.h" #include "subversion_core.h" #include "subversion_global.h" -#include +#include #include #include #include diff --git a/vcs/subversion/svn_tdeio.cpp b/vcs/subversion/svn_tdeio.cpp index 23f1d2ff..0abac2b8 100644 --- a/vcs/subversion/svn_tdeio.cpp +++ b/vcs/subversion/svn_tdeio.cpp @@ -124,7 +124,7 @@ tdeio_svnProtocol::tdeio_svnProtocol(const TQCString &pool_socket, const TQCStri apr_initialize(); // Make sure to properly initialize svn client, besides other things, this sets up // NLS support for environments that don't use UTF-8 - svn_cmdline_init("kdevsvnd",NULL); + svn_cmdline_init("tdevsvnd",NULL); // CleanUP ctx preventing crash in svn_client_update and other memset(&ctx, 0, sizeof(ctx)); pool = svn_pool_create (NULL); @@ -1861,7 +1861,7 @@ svn_error_t *tdeio_svnProtocol::commitLogPrompt( const char **log_msg, const cha kdDebug(9036) << " __TIME__ " << __TIME__ << endl; if ( !p->dcopClient()->call( "kded","kdevsvnd","commitDialog(TQString)", params, replyType, reply ) ) { - kdWarning() << "Communication with KDED:KDevSvnd failed" << endl; + kdWarning() << "Communication with KDED:TDevSvnd failed" << endl; svn_error_t *err = svn_error_create( SVN_ERR_EXTERNAL_PROGRAM, NULL, apr_pstrdup( pool, "Fail to call kded_kdevsvnd via DCOP. If this is your first problem, try to restart KDE" ) ); return err; diff --git a/vcs/subversion/tdevpart_subversion.rc b/vcs/subversion/tdevpart_subversion.rc new file mode 100644 index 00000000..ad957e99 --- /dev/null +++ b/vcs/subversion/tdevpart_subversion.rc @@ -0,0 +1,31 @@ + + + + &Tools + &Version Control + + + &Subversion + + + + + + + + + + + + + + + + + + + + + diff --git a/vcs/subversion/tdevsubversion.desktop b/vcs/subversion/tdevsubversion.desktop new file mode 100644 index 00000000..7643c755 --- /dev/null +++ b/vcs/subversion/tdevsubversion.desktop @@ -0,0 +1,34 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=Subversion +Comment[fa]=زیرنسخه +Comment[hi]=सबवर्सन +Comment[ne]=सबभर्सन +Comment[pt_BR]=Subversão +Comment[ru]=Интеграция Subversion +Comment[ta]=உப பதிப்பு +Comment[tg]=Интегратсия Subversion +Name=KDevsubversion +Name[da]=TDevelop Subversion +Name[de]=Unterstützung für Subversion (TDevelop) +Name[hi]=के-डेव-सबवर्सन +Name[nds]=Subversion-Ünnerstütten för TDevelop +Name[sk]=KDev Subversion +Name[sv]=TDevelop Subversion +Name[ta]=kdev உப பதிப்பு +Name[tg]=KDevзер-ривоят +Name[zh_TW]=TDevelop Subversion +GenericName=Subversion +GenericName[fa]=زیرنسخه +GenericName[hi]=सबवर्सन +GenericName[ne]=सबभर्सन +GenericName[pt_BR]=Subversão +GenericName[ru]=Интеграция Subversion +GenericName[ta]=துணை பதிப்பு +GenericName[tg]=Зер-ривоят +Icon=misc +ServiceTypes=TDevelop/VersionControl +X-TDE-Library=libtdevsubversion +X-TDevelop-Version=5 +X-TDevelop-Properties=VCS,SubversionVCS diff --git a/vcs/subversion/tdevsvn+file.protocol b/vcs/subversion/tdevsvn+file.protocol new file mode 100644 index 00000000..412c3800 --- /dev/null +++ b/vcs/subversion/tdevsvn+file.protocol @@ -0,0 +1,39 @@ +[Protocol] +exec=tdeio_kdevsvn +protocol=kdevsvn+file +input=none +output=filesystem +reading=true +writing=true +deleting=true +makedir=true +linking=false +moving=true +deleteRecursive=true +listing=Name,Size,Date,Owner +defaultMimetype=application/octet-stream +Icon=remote +Description=Subversion ioslave for TDevelop +Description[ca]=L'esclau io (ioslave) Subversion per a TDevelop +Description[de]=Ein-/Ausgabemodul für Subversion (TDevelop) +Description[el]=Subversion ioslave για το TDevelop +Description[es]=El ioslave de Subversion para TDevelop +Description[et]=TDevelopi Subversioni IO-moodul +Description[fr]=Esclave d'E/S (ioslave) Subversion pour TDevelop +Description[hu]=Subversion KDE-protokoll a TDevelophoz +Description[it]=ioslave di subversion per TDevelop +Description[ja]=TDevelop のための Subversion ioslave +Description[ms]=IOslave Subversion untuk TDevelop +Description[nds]=TDevelop-In-/Utgaavmoduul för Subversion +Description[nl]=Subversion-ioslave voor TDevelop +Description[pl]=Wtyczka protokołu Subversion dla TDevelopa +Description[pt]='Ioslave' do Subversion para o TDevelop +Description[pt_BR]='Ioslave' do Subversion para o TDevelop +Description[ru]=Поддержка протокола Subversion для TDevelop +Description[sk]=Subversion ioslave pre TDevelop +Description[sr]=KIOSlave Subversion-а за TDevelop +Description[sr@Latn]=KIOSlave Subversion-a za TDevelop +Description[sv]=Subversion I/O-slav för TDevelop +Description[zh_TW]=TDevelop 的 Subversion ioslave +maxInstances=5 +class=:internet diff --git a/vcs/subversion/tdevsvn+http.protocol b/vcs/subversion/tdevsvn+http.protocol new file mode 100644 index 00000000..5a063b85 --- /dev/null +++ b/vcs/subversion/tdevsvn+http.protocol @@ -0,0 +1,39 @@ +[Protocol] +exec=tdeio_kdevsvn +protocol=kdevsvn+http +input=none +output=filesystem +reading=true +writing=true +deleting=true +makedir=true +linking=false +moving=true +deleteRecursive=true +listing=Name,Size,Date,Owner +defaultMimetype=application/octet-stream +Icon=remote +Description=Subversion ioslave for TDevelop +Description[ca]=L'esclau io (ioslave) Subversion per a TDevelop +Description[de]=Ein-/Ausgabemodul für Subversion (TDevelop) +Description[el]=Subversion ioslave για το TDevelop +Description[es]=El ioslave de Subversion para TDevelop +Description[et]=TDevelopi Subversioni IO-moodul +Description[fr]=Esclave d'E/S (ioslave) Subversion pour TDevelop +Description[hu]=Subversion KDE-protokoll a TDevelophoz +Description[it]=ioslave di subversion per TDevelop +Description[ja]=TDevelop のための Subversion ioslave +Description[ms]=IOslave Subversion untuk TDevelop +Description[nds]=TDevelop-In-/Utgaavmoduul för Subversion +Description[nl]=Subversion-ioslave voor TDevelop +Description[pl]=Wtyczka protokołu Subversion dla TDevelopa +Description[pt]='Ioslave' do Subversion para o TDevelop +Description[pt_BR]='Ioslave' do Subversion para o TDevelop +Description[ru]=Поддержка протокола Subversion для TDevelop +Description[sk]=Subversion ioslave pre TDevelop +Description[sr]=KIOSlave Subversion-а за TDevelop +Description[sr@Latn]=KIOSlave Subversion-a za TDevelop +Description[sv]=Subversion I/O-slav för TDevelop +Description[zh_TW]=TDevelop 的 Subversion ioslave +maxInstances=5 +class=:internet diff --git a/vcs/subversion/tdevsvn+https.protocol b/vcs/subversion/tdevsvn+https.protocol new file mode 100644 index 00000000..d064e575 --- /dev/null +++ b/vcs/subversion/tdevsvn+https.protocol @@ -0,0 +1,39 @@ +[Protocol] +exec=tdeio_kdevsvn +protocol=kdevsvn+https +input=none +output=filesystem +reading=true +writing=true +deleting=true +makedir=true +linking=false +moving=true +deleteRecursive=true +listing=Name,Size,Date,Owner +defaultMimetype=application/octet-stream +Icon=remote +Description=Subversion ioslave for TDevelop +Description[ca]=L'esclau io (ioslave) Subversion per a TDevelop +Description[de]=Ein-/Ausgabemodul für Subversion (TDevelop) +Description[el]=Subversion ioslave για το TDevelop +Description[es]=El ioslave de Subversion para TDevelop +Description[et]=TDevelopi Subversioni IO-moodul +Description[fr]=Esclave d'E/S (ioslave) Subversion pour TDevelop +Description[hu]=Subversion KDE-protokoll a TDevelophoz +Description[it]=ioslave di subversion per TDevelop +Description[ja]=TDevelop のための Subversion ioslave +Description[ms]=IOslave Subversion untuk TDevelop +Description[nds]=TDevelop-In-/Utgaavmoduul för Subversion +Description[nl]=Subversion-ioslave voor TDevelop +Description[pl]=Wtyczka protokołu Subversion dla TDevelopa +Description[pt]='Ioslave' do Subversion para o TDevelop +Description[pt_BR]='Ioslave' do Subversion para o TDevelop +Description[ru]=Поддержка протокола Subversion для TDevelop +Description[sk]=Subversion ioslave pre TDevelop +Description[sr]=KIOSlave Subversion-а за TDevelop +Description[sr@Latn]=KIOSlave Subversion-a za TDevelop +Description[sv]=Subversion I/O-slav för TDevelop +Description[zh_TW]=TDevelop 的 Subversion ioslave +maxInstances=5 +class=:internet diff --git a/vcs/subversion/tdevsvn+ssh.protocol b/vcs/subversion/tdevsvn+ssh.protocol new file mode 100644 index 00000000..512b4a90 --- /dev/null +++ b/vcs/subversion/tdevsvn+ssh.protocol @@ -0,0 +1,39 @@ +[Protocol] +exec=tdeio_kdevsvn +protocol=kdevsvn+ssh +input=none +output=filesystem +reading=true +writing=true +deleting=true +makedir=true +linking=false +moving=true +deleteRecursive=true +listing=Name,Size,Date,Owner +defaultMimetype=application/octet-stream +Icon=remote +Description=Subversion ioslave for TDevelop +Description[ca]=L'esclau io (ioslave) Subversion per a TDevelop +Description[de]=Ein-/Ausgabemodul für Subversion (TDevelop) +Description[el]=Subversion ioslave για το TDevelop +Description[es]=El ioslave de Subversion para TDevelop +Description[et]=TDevelopi Subversioni IO-moodul +Description[fr]=Esclave d'E/S (ioslave) Subversion pour TDevelop +Description[hu]=Subversion KDE-protokoll a TDevelophoz +Description[it]=ioslave di subversion per TDevelop +Description[ja]=TDevelop のための Subversion ioslave +Description[ms]=IOslave Subversion untuk TDevelop +Description[nds]=TDevelop-In-/Utgaavmoduul för Subversion +Description[nl]=Subversion-ioslave voor TDevelop +Description[pl]=Wtyczka protokołu Subversion dla TDevelopa +Description[pt]='Ioslave' do Subversion para o TDevelop +Description[pt_BR]='Ioslave' do Subversion para o TDevelop +Description[ru]=Поддержка протокола Subversion для TDevelop +Description[sk]=Subversion ioslave pre TDevelop +Description[sr]=KIOSlave Subversion-а за TDevelop +Description[sr@Latn]=KIOSlave Subversion-a za TDevelop +Description[sv]=Subversion I/O-slav för TDevelop +Description[zh_TW]=TDevelop 的 Subversion ioslave +maxInstances=5 +class=:internet diff --git a/vcs/subversion/tdevsvn+svn.protocol b/vcs/subversion/tdevsvn+svn.protocol new file mode 100644 index 00000000..8f496854 --- /dev/null +++ b/vcs/subversion/tdevsvn+svn.protocol @@ -0,0 +1,39 @@ +[Protocol] +exec=tdeio_kdevsvn +protocol=kdevsvn+svn +input=none +output=filesystem +reading=true +writing=true +deleting=true +makedir=true +linking=false +moving=true +deleteRecursive=true +listing=Name,Size,Date,Owner +defaultMimetype=application/octet-stream +Icon=remote +Description=Subversion ioslave for TDevelop +Description[ca]=L'esclau io (ioslave) Subversion per a TDevelop +Description[de]=Ein-/Ausgabemodul für Subversion (TDevelop) +Description[el]=Subversion ioslave για το TDevelop +Description[es]=El ioslave de Subversion para TDevelop +Description[et]=TDevelopi Subversioni IO-moodul +Description[fr]=Esclave d'E/S (ioslave) Subversion pour TDevelop +Description[hu]=Subversion KDE-protokoll a TDevelophoz +Description[it]=ioslave di subversion per TDevelop +Description[ja]=TDevelop のための Subversion ioslave +Description[ms]=IOslave Subversion untuk TDevelop +Description[nds]=TDevelop-In-/Utgaavmoduul för Subversion +Description[nl]=Subversion-ioslave voor TDevelop +Description[pl]=Wtyczka protokołu Subversion dla TDevelopa +Description[pt]='Ioslave' do Subversion para o TDevelop +Description[pt_BR]='Ioslave' do Subversion para o TDevelop +Description[ru]=Поддержка протокола Subversion для TDevelop +Description[sk]=Subversion ioslave pre TDevelop +Description[sr]=KIOSlave Subversion-а за TDevelop +Description[sr@Latn]=KIOSlave Subversion-a za TDevelop +Description[sv]=Subversion I/O-slav för TDevelop +Description[zh_TW]=TDevelop 的 Subversion ioslave +maxInstances=5 +class=:internet diff --git a/vcs/subversion/tdevsvnd.cpp b/vcs/subversion/tdevsvnd.cpp new file mode 100644 index 00000000..ea42667b --- /dev/null +++ b/vcs/subversion/tdevsvnd.cpp @@ -0,0 +1,394 @@ +/* + This file is part of the KDE Project + + Copyright (C) 2003, 2004 Mickael Marchand + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + version 2 as published by the Free Software Foundation. + + This software is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this library; see the file COPYING. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "config.h" + +#include "tdevsvnd.h" + +#include "tdevsvnd_widgets.h" +#include "commitdlg.h" + +extern "C" { + KDE_EXPORT KDEDModule *create_kdevsvnd(const TQCString &name) { + return new TDevSvnd(name); + } +} + +TDevSvnd::TDevSvnd(const TQCString &name) + : KDEDModule(name) { +} +TDevSvnd::~TDevSvnd() +{} + +TQString TDevSvnd::commitDialog(TQString modifiedFiles) { + CommitDlg commitDlg; + commitDlg.setCaption(i18n("Enter Commit Log Message:")); + commitDlg.listMessage->setText( modifiedFiles ); + int result = commitDlg.exec(); + if ( result == TQDialog::Accepted ) { + return commitDlg.textMessage->text(); + } else + return TQString(); +} +int TDevSvnd::sslServerTrustPrompt( TQString errmsg, TQString hostname, TQString fingerPrint, TQString validfrom, TQString validuntil, TQString issuerName, TQString ascii_cert ) +{ + SvnSSLTrustPrompt dlg; + dlg.setupCertInfo( hostname, fingerPrint, validfrom, validuntil, issuerName, ascii_cert ); + dlg.setupFailedReasonMsg( errmsg ); + int result = dlg.exec(); + if ( result == TQDialog::Accepted ){ + return dlg.code(); + } else{ + return -1; + } +} +TQString TDevSvnd::sslCertFile() +{ + TQString fileName = KFileDialog::getOpenFileName(TQString(),TQString(),0, i18n("Open SSL certificate file")); + return fileName; +} +TQCString TDevSvnd::sslPasswdDlg(TQString promptMsg) +{ + TQCString passwd; + int ret = KPasswordDialog::getPassword( passwd,promptMsg ); + if( ret == KPasswordDialog::Accepted ){ + TQCString retstr; + retstr.setNum(1); + return retstr + passwd; + } else{ + TQCString nullstr; + nullstr.setNum(-1); + return nullstr; + } +} + + +// void TDevSvnd::registerMe(const TQCString &app) +// { +// insert(app, "test", new TestObject(app)); +// // When 'app' unregisters with DCOP, the TestObject will get deleted. +// } + +// bool KSvnd::AreAnyFilesInSvn( const KURL::List& wclist ) { +// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { +// kdDebug( 9036 ) << "Checking file " << ( *it ) << endl; +// TQDir bdir ( ( *it ).path() ); +// if ( bdir.exists() && TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) { +// return true; +// } else if ( !bdir.exists() ) { +// if ( isFileInSvnEntries( ( *it ).fileName(), ( *it ).directory() + "/.svn/entries" ) || isFileInExternals ( ( *it ).fileName(), ( *it ).directory()+"/.svn/dir-props" ) ) +// return true; +// } +// } +// return false; +// } +// +// bool KSvnd::AreAnyFilesNotInSvn( const KURL::List& wclist ) { +// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { +// kdDebug( 9036 ) << "Checking file " << ( *it ) << endl; +// TQDir bdir ( ( *it ).path() ); +// if ( bdir.exists() && !TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) { +// return true; +// } else if ( !bdir.exists() ) { +// if ( !isFileInSvnEntries( ( *it ).fileName(),( *it ).directory() + "/.svn/entries" ) && !isFileInExternals ( ( *it ).fileName(), ( *it ).directory()+"/.svn/dir-props" ) ) +// return true; +// } +// } +// return false; +// } +// +// bool KSvnd::AreAllFilesInSvn( const KURL::List& wclist ) { +// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { +// kdDebug( 9036 ) << "Checking file " << ( *it ) << endl; +// TQDir bdir ( ( *it ).path() ); +// if ( bdir.exists() && !TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) { +// return false; +// } else if ( !bdir.exists() ) { +// if ( !isFileInSvnEntries( ( *it ).fileName(),( *it ).directory() + "/.svn/entries" ) && !isFileInExternals ( ( *it ).fileName(), ( *it ).directory()+"/.svn/dir-props" ) ) +// return false; +// } +// } +// return true; +// } +// +// bool KSvnd::AreAllFilesNotInSvn( const KURL::List& wclist ) { +// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { +// kdDebug( 9036 ) << "Checking file " << ( *it ) << endl; +// TQDir bdir ( ( *it ).path() ); +// if ( bdir.exists() && TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) { +// return false; +// } else if ( !bdir.exists() ) { +// if ( isFileInSvnEntries( ( *it ).fileName(),( *it ).directory() + "/.svn/entries" ) || isFileInExternals ( ( *it ).fileName(), ( *it ).directory()+"/.svn/dir-props" ) ) +// return false; +// } +// } +// return true; +// } +// +// bool KSvnd::isFileInSvnEntries ( const TQString filename, const TQString entfile ) { +// TQFile file( entfile ); +// if ( file.open( IO_ReadOnly ) ) { +// TQTextStream stream( &file ); +// TQString line; +// while ( !stream.atEnd() ) { +// line = stream.readLine().simplifyWhiteSpace(); +// if ( line == "name=\""+ filename + "\"" ) { +// file.close(); +// return true; +// } +// } +// file.close(); +// } +// return false; +// } +// +// bool KSvnd::isFileInExternals ( const TQString filename, const TQString propfile ) { +// TQFile file( propfile ); +// if ( file.open( IO_ReadOnly ) ) { +// TQTextStream stream( &file ); +// TQStringList line; +// while ( !stream.atEnd() ) +// line << stream.readLine().simplifyWhiteSpace(); +// for ( uint i = 0 ; i < line.count(); i++ ) { +// if ( line[ i ] == "K 13" && line[ i+1 ] == "svn:externals" ) { //Key 13 : svn:externals +// //next line should be "V xx" +// if ( line [ i+2 ].startsWith( "V " ) ) { +// //ok browse the values now +// i+=2; +// while ( i < line.count() ) { +// if ( line[ i ].startsWith( filename+" " ) ) { //found it ! +// file.close( ); +// return true; +// } else if ( line[ i ].isEmpty() ) { +// file.close( ); +// return false; //we are out of svn:externals now... +// } +// i++; +// } +// } +// } +// } +// file.close(); +// } +// return false; +// } +// +// bool KSvnd::anyNotValidWorkingCopy( const KURL::List& wclist ) { +// bool result = true; //one negative match is enough +// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { +// //exception for .svn dirs +// if ( ( *it ).path(-1).endsWith( "/.svn" ) ) +// return true; +// //if is a directory check whether it contains a .svn/entries file +// TQDir dir( ( *it ).path() ); +// if ( dir.exists() ) { //it's a dir +// if ( !TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) +// result = false; +// } +// +// //else check if ./.svn/entries exists +// if ( !TQFile::exists( ( *it ).directory() + "/.svn/entries" ) ) +// result = false; +// } +// return result; +// } +// +// bool KSvnd::anyValidWorkingCopy( const KURL::List& wclist ) { +// for ( TQValueListConstIterator it = wclist.begin(); it != wclist.end() ; ++it ) { +// //skip .svn dirs +// if ( ( *it ).path(-1).endsWith( "/.svn" ) ) +// continue; +// //if is a directory check whether it contains a .svn/entries file +// TQDir dir( ( *it ).path() ); +// if ( dir.exists() ) { //it's a dir +// if ( TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) +// return true; +// } +// +// //else check if ./.svn/entries exists +// if ( TQFile::exists( ( *it ).directory() + "/.svn/entries" ) ) +// return true; +// } +// return false; +// } +// +// int KSvnd::getStatus( const KURL::List& list ) { +// int result = 0; +// uint files = 0, folders = 0, parentsentries = 0, parentshavesvn = 0, subdirhavesvn = 0, external = 0; +// for ( TQValueListConstIterator it = list.begin(); it != list.end() ; ++it ) { +// if ( isFolder ( ( *it ) ) ) { +// folders++; +// } else { +// files++; +// } +// if ( isFileInSvnEntries ( (*it).filename(),( *it ).directory() + "/.svn/entries" ) ) { // normal subdir known in the working copy +// parentsentries++; +// } else if ( isFolder( *it ) ) { // other subfolders (either another module checkouted or an external, or something not known at all) +// if ( TQFile::exists( ( *it ).path() + "/.svn/entries" ) ) +// subdirhavesvn++; +// if ( isFileInExternals( (*it).filename(), ( *it ).directory() + "/.svn/dir-props" ) ) { +// external++; +// } +// } +// if ( ( isFolder( ( *it ) ) && TQFile::exists( ( *it ).directory() + "../.svn/entries" ) ) || TQFile::exists( ( *it ).directory() + "/.svn/entries" ) ) //parent has a .svn ? +// parentshavesvn++; +// } +// if ( files > 0 ) +// result |= SomeAreFiles; +// if ( folders == list.count() ) { +// result |= AllAreFolders; +// result |= SomeAreFolders; +// } +// if ( folders > 0 ) +// result |= SomeAreFolders; +// if ( parentsentries == list.count() ) { +// result |= AllAreInParentsEntries; +// result |= SomeAreInParentsEntries; +// } else if ( parentsentries != 0 ) +// result |= SomeAreInParentsEntries; +// if ( parentshavesvn == list.count() ) { +// result |= AllParentsHaveSvn; +// result |= SomeParentsHaveSvn; +// } else if ( parentshavesvn > 0 ) +// result |= SomeParentsHaveSvn; +// if ( subdirhavesvn == list.count() ) { +// result |= AllHaveSvn; +// result |= SomeHaveSvn; +// } else if ( subdirhavesvn > 0 ) +// result |= SomeHaveSvn; +// if ( external == list.count() ) { +// result |= AllAreExternalToParent; +// result |= SomeAreExternalToParent; +// } else if ( external > 0 ) +// result |= SomeAreExternalToParent; +// +// return result; +// } +// +// bool KSvnd::isFolder( const KURL& url ) { +// TQDir d( url.path() ); +// return d.exists(); +// } +// +// TQStringList KSvnd::getActionMenu ( const KURL::List &list ) { +// TQStringList result; +// int listStatus = getStatus( list ); +// +// if ( !(listStatus & SomeAreInParentsEntries) && +// !(listStatus & SomeAreExternalToParent) && +// !(listStatus & SomeHaveSvn)) { +// if( list.size() == 1 && listStatus & SomeAreFolders) { +// result << "Checkout"; +// result << "Export"; +// // result << "CreateRepository"; +// result << "Import"; +// } +// } else if ( (listStatus & AllAreInParentsEntries) ) { +// result << "Diff"; +// //In SVN +// // result << "ShowLog"; +// // result << "CheckForModifications"; +// // result << "RevisionGraph"; +// // result << "_SEPARATOR_"; +// // result << "Update to revision..." +// result << "Rename"; +// result << "Delete"; +// if( listStatus & SomeAreFolders && !(listStatus & SomeAreFiles)) { +// result << "Revert"; +// // result << "Cleanup"; +// } +// result << "_SEPARATOR_"; +// // result << "BranchTag"; +// result << "Switch"; +// result << "Merge"; +// if( listStatus & SomeAreFolders && !(listStatus & SomeAreFiles)) { +// // result << "Export"; +// // result << "Relocate"; +// result << "_SEPARATOR_"; +// result << "Add"; +// } +// result << "_SEPARATOR_"; +// if( listStatus & SomeAreFiles && !(listStatus & SomeAreFolders)) { +// result << "Blame"; +// } +// result << "CreatePatch"; +// +// if( list.size() == 1 && listStatus & SomeAreFolders) { +// // result << "ApplyPatchToFolder"; +// } +// } +// return result; +// } +// +// TQStringList KSvnd::getTopLevelActionMenu ( const KURL::List &list ) { +// TQStringList result; +// int listStatus = getStatus( list ); +// +// +// if ( ( listStatus & AllParentsHaveSvn && +// ( ( listStatus & SomeAreExternalToParent ) || ( listStatus & SomeAreInParentsEntries ) ) +// || ( listStatus & SomeHaveSvn ) ) +// ) { +// result << "Update"; +// result << "Commit"; +// } +// +// return result; +// } +// +// #if 0 +// void KSvnd::notify(const TQString& path, int action, int kind, const TQString& mime_type, int content_state, int prop_state, long int revision, const TQString& userstring) { +// kdDebug(9036) << "KDED/Subversion : notify " << path << " action : " << action << " mime_type : " << mime_type << " content_state : " << content_state << " prop_state : " << prop_state << " revision : " << revision << " userstring : " << userstring << endl; +// TQByteArray params; +// +// TQDataStream stream(params, IO_WriteOnly); +// stream << path << action << kind << mime_type << content_state << prop_state << revision << userstring; +// +// emitDCOPSignal( "subversionNotify(TQString,int,int,TQString,int,int,long int,TQString)", params ); +// } +// +// void KSvnd::status(const TQString& path, int text_status, int prop_status, int repos_text_status, int repos_prop_status, long int rev ) { +// kdDebug(9036) << "KDED/Subversion : status " << path << " " << text_status << " " << prop_status << " " +// << repos_text_status << " " << repos_prop_status << " " << rev << endl; +// TQByteArray params; +// +// TQDataStream stream(params, IO_WriteOnly); +// stream << path << text_status << prop_status << repos_text_status << repos_prop_status << rev; +// +// emitDCOPSignal( "subversionStatus(TQString,int,int,int,int,long int)", params ); +// } +// +// void KSvnd::popupMessage( const TQString& message ) { +// kdDebug(9036) << "KDED/Subversion : popupMessage" << message << endl; +// KMessageBox::information(0, message, i18n( "Subversion" ) ); +// } +// #endif + +#include "tdevsvnd.moc" diff --git a/vcs/subversion/tdevsvnd.desktop b/vcs/subversion/tdevsvnd.desktop new file mode 100644 index 00000000..9ba3e877 --- /dev/null +++ b/vcs/subversion/tdevsvnd.desktop @@ -0,0 +1,32 @@ +[Desktop Entry] +Type=Service +Name=TDevelop Subversion Module +Name[ca]=Mòdul de Subversion per a TDevelop +Name[da]=TDevelop Subversion-Modul +Name[de]=Subversion-Komponente (TDevelop) +Name[el]=Άρθρωμα subversion του TDevelop +Name[es]=Módulo de Subversion de TDevelop +Name[et]=TDevelopi Subversioni Moodul +Name[fr]=Module Subversion pour TDevelop +Name[hu]=TDevelop-Modul a Subversion kezeléséhez +Name[it]=Modulo Subversion di TDevelop +Name[ja]=TDevelop Subversion モジュール +Name[ms]=Modul Subversion TDevelop +Name[nds]=TDevelop-Moduul för Subversion +Name[nl]=TDevelop Subversion-Module +Name[pl]=Modul Subversion dla TDevelopa +Name[pt]=Módulo de Subversion do TDevelop +Name[pt_BR]=Módulo de Subversion do TDevelop +Name[ru]=Модуль Subversion для TDevelop +Name[sk]=TDevelop Subversion Modul +Name[sr]=TDevelop-ов модул за Subversion +Name[sr@Latn]=TDevelop-ov Modul za Subversion +Name[sv]=TDevelop Subversion-Modul +Name[zh_TW]=TDevelop Subversion 模組 +Comment=Provides subversion client services with TDevelop +ServiceTypes=KDEDModule +X-TDE-ModuleType=Library +X-TDE-Library=kdevsvnd +X-TDE-FactoryName=kdevsvnd +X-TDE-Kded-autoload=true +X-TDE-Kded-load-on-demand=true diff --git a/vcs/subversion/tdevsvnd.h b/vcs/subversion/tdevsvnd.h new file mode 100644 index 00000000..4bec5ae7 --- /dev/null +++ b/vcs/subversion/tdevsvnd.h @@ -0,0 +1,51 @@ +/* + This file is part of the KDE Project + + Copyright (C) 2003-2005 Mickael Marchand + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + version 2 as published by the Free Software Foundation. + + This software is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this library; see the file COPYING. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#ifndef KSVND_H +#define KSVND_H + +#include +#include +#include +#include + +class TDevSvnd : public KDEDModule +{ +Q_OBJECT +// + +K_DCOP + + //note: InSVN means parent is added. InRepos means itself is added + enum { SomeAreFiles = 1, SomeAreFolders = 2, SomeAreInParentsEntries = 4, SomeParentsHaveSvn = 8, SomeHaveSvn = 16, SomeAreExternalToParent = 32, AllAreInParentsEntries = 64, AllParentsHaveSvn = 128, AllHaveSvn = 256, AllAreExternalToParent = 512, AllAreFolders = 1024 }; +public: + TDevSvnd(const TQCString &); + ~TDevSvnd(); + +k_dcop: +// void addAuthInfo(TDEIO::AuthInfo, long); + TQString commitDialog(TQString); + int sslServerTrustPrompt(TQString certFailMsg, TQString hostname, TQString fingerPrint, TQString validfrom, TQString validuntil, TQString issuerName, TQString ascii_cert ); + TQString sslCertFile(); + TQCString sslPasswdDlg(TQString promptMsg); + +}; + +#endif diff --git a/vcs/subversion/tdevsvnd_widgets.cpp b/vcs/subversion/tdevsvnd_widgets.cpp new file mode 100644 index 00000000..ba688423 --- /dev/null +++ b/vcs/subversion/tdevsvnd_widgets.cpp @@ -0,0 +1,70 @@ +/* + * Copyright (C) 2007 Dukju Ahn (dukjuahn@gmail.com) + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + */ + +#include "tdevsvnd_widgets.h" +#include +#include +#include +#include + +SvnSSLTrustPrompt::SvnSSLTrustPrompt( TQWidget* parent, const char* name, bool modal, WFlags f ) + :SvnSSLTrustPromptBase( parent, name, modal, f ) + , m_code(-1) +{ + listView1->setColumnText( 0, "Items" ); + listView1->setColumnText( 1, "Values" ); + btnPermanent->setText(i18n("Accept Permanently")); + btnTemporary->setText(i18n("Accept Temporarily")); + btnReject->setText(i18n("Reject")); + connect( btnPermanent, TQT_SIGNAL(clicked()), this, TQT_SLOT(setPermanent()) ); + connect( btnTemporary, TQT_SIGNAL(clicked()), this, TQT_SLOT(setTemporary()) ); + connect( btnReject, TQT_SIGNAL(clicked()), this, TQT_SLOT(setRejected ()) ); +} +SvnSSLTrustPrompt::~SvnSSLTrustPrompt() +{} + +void SvnSSLTrustPrompt::setupCertInfo( TQString hostname, TQString fingerPrint, TQString validfrom, TQString validuntil, TQString issuerName, TQString ascii_cert ) +{ + // setup texts + TQListViewItem *host= new TQListViewItem(listView1, i18n("Hostname"), hostname ); + TQListViewItem *finger = new TQListViewItem(listView1, i18n("FingerPrint"), fingerPrint ); + TQListViewItem *validFrom = new TQListViewItem(listView1, i18n("Valid From"), validfrom ); + TQListViewItem *validUntil = new TQListViewItem(listView1, i18n("Valid Until"), validuntil ); + TQListViewItem *issName = new TQListViewItem(listView1, i18n("Issuer"), issuerName ); + TQListViewItem *cert = new TQListViewItem(listView1, i18n("Cert"), ascii_cert ); +} +void SvnSSLTrustPrompt::setupFailedReasonMsg( TQString msg ) +{ + errMsgLabel->setText( msg ); +} +int SvnSSLTrustPrompt::code() +{ + return m_code; +} + +void SvnSSLTrustPrompt::setPermanent() +{ + m_code = 1; +} + +void SvnSSLTrustPrompt::setTemporary() +{ + m_code = 0; +} + +void SvnSSLTrustPrompt::setRejected() +{ + m_code = -1; +} +#include "tdevsvnd_widgets.moc" diff --git a/vcs/subversion/tdevsvnd_widgets.h b/vcs/subversion/tdevsvnd_widgets.h new file mode 100644 index 00000000..da7942b2 --- /dev/null +++ b/vcs/subversion/tdevsvnd_widgets.h @@ -0,0 +1,42 @@ +/* + * Copyright (C) 2007 Dukju Ahn (dukjuahn@gmail.com) + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + */ + +#ifndef TDEVSVND_WIDGETS_H +#define TDEVSVND_WIDGETS_H + +#include "svnssltrustpromptbase.h" + +class SvnSSLTrustPrompt : public SvnSSLTrustPromptBase{ +Q_OBJECT + +public: + SvnSSLTrustPrompt( TQWidget* parent=0, const char* name=0, bool modal=true, WFlags f=0 ); + ~SvnSSLTrustPrompt(); + void setupCertInfo( TQString hostname, TQString fingerPrint, TQString validfrom, TQString validuntil, TQString issuerName, TQString ascii_cert ); + void setupFailedReasonMsg( TQString msg ); + int code(); + +public slots: + void setPermanent(); + void setTemporary(); + void setRejected(); + +protected: + // -1 for reject + // 0 for accept temporarily + // 1 for accept permanently + int m_code; +}; + +#endif -- cgit v1.2.3