diff options
Diffstat (limited to 'vcs/subversion')
31 files changed, 105 insertions, 105 deletions
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/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 <kdevgenericfactory.h> -#include <kdevplugininfo.h> +#include <tdevgenericfactory.h> +#include <tdevplugininfo.h> #include "svnintegratordlg.h" -static const KDevPluginInfo data("kdevsubversionintegrator"); -typedef KDevGenericFactory<SubversionIntegrator> SubversionIntegratorFactory; +static const TDevPluginInfo data("tdevsubversionintegrator"); +typedef TDevGenericFactory<SubversionIntegrator> 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 <kdevvcsintegrator.h> +#include <tdevvcsintegrator.h> #include <tqstringlist.h> -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 <kdevvcsintegrator.h> +#include <tdevvcsintegrator.h> class SvnIntegratorDlg: public SvnIntegratorDlgBase, public VCSDialog { Q_OBJECT diff --git a/vcs/subversion/integrator/kdevsubversionintegrator.desktop b/vcs/subversion/integrator/tdevsubversionintegrator.desktop index 6e666667..6e666667 100644 --- a/vcs/subversion/integrator/kdevsubversionintegrator.desktop +++ b/vcs/subversion/integrator/tdevsubversionintegrator.desktop 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 <tdeparts/part.h> -#include <kdevcore.h> -#include <kdevproject.h> +#include <tdevcore.h> +#include <tdevproject.h> #include "subversion_part.h" #include "subversion_core.h" #include "subversion_widget.h" #include "svn_blamewidget.h" #include "svn_logviewwidget.h" #include "subversiondiff.h" -#include <kdevmainwindow.h> +#include <tdevmainwindow.h> #include "svn_co.h" #include <kurlrequester.h> #include <klineedit.h> @@ -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<KURL> 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 <kdebug.h> #include <tqfileinfo.h> #include <tqdir.h> -#include <kdevproject.h> +#include <tdevproject.h> #include <unistd.h> #include <tdeapplication.h> -#include <kdevmainwindow.h> +#include <tdevmainwindow.h> #include <tdemainwindow.h> #include <tqregexp.h> @@ -33,7 +33,7 @@ #include <tdelocale.h> 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 <tqmap.h> -#include <kdevversioncontrol.h> +#include <tdevversioncontrol.h> #include <tdeio/job.h> #include <dcopclient.h> #include <dcopobject.h> @@ -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 <tqwhatsthis.h> #include <kiconloader.h> #include <tdelocale.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> #include <tdeaction.h> #include <tdepopupmenu.h> -#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 <tqvbox.h> #include <kdialogbase.h> #include <tdeparts/part.h> -#include <kdevpartcontroller.h> -#include <kdevproject.h> +#include <tdevpartcontroller.h> +#include <tdevproject.h> #include <domutil.h> #include <kurlrequester.h> #include <tqradiobutton.h> #include <kdebug.h> #include <tqwidget.h> -#include <kdevplugininfo.h> +#include <tdevplugininfo.h> #include <tdemessagebox.h> using namespace SvnGlobal; -static const KDevPluginInfo data("kdevsubversion"); +static const TDevPluginInfo data("tdevsubversion"); -typedef KDevGenericFactory<subversionPart> subversionFactory; -K_EXPORT_COMPONENT_FACTORY( libkdevsubversion, subversionFactory( data ) ) +typedef TDevGenericFactory<subversionPart> 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 <tqguardedptr.h> -#include <kdevplugin.h> +#include <tdevplugin.h> #include <kurl.h> #include <tqpopupmenu.h> #include <kdialogbase.h> -#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 <tdeparts/part.h> -#include <kdevcore.h> +#include <tdevcore.h> #include <kdebug.h> #include <klineedit.h> 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 <tqcheckbox.h> #include <kdebug.h> #include <tdemessagebox.h> -#include "kdevmainwindow.h" +#include "tdevmainwindow.h" #include <tdelocale.h> -#include <kdevproject.h> +#include <tdevproject.h> 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 <kdevproject.h> +#include <tdevproject.h> #include <ktextedit.h> #include <tdemessagebox.h> #include <kdebug.h> 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/kdevpart_subversion.rc b/vcs/subversion/tdevpart_subversion.rc index ad957e99..ad957e99 100644 --- a/vcs/subversion/kdevpart_subversion.rc +++ b/vcs/subversion/tdevpart_subversion.rc diff --git a/vcs/subversion/kdevsubversion.desktop b/vcs/subversion/tdevsubversion.desktop index bf52db8c..7643c755 100644 --- a/vcs/subversion/kdevsubversion.desktop +++ b/vcs/subversion/tdevsubversion.desktop @@ -29,6 +29,6 @@ GenericName[ta]=துணை பதிப்பு GenericName[tg]=Зер-ривоят Icon=misc ServiceTypes=TDevelop/VersionControl -X-TDE-Library=libkdevsubversion +X-TDE-Library=libtdevsubversion X-TDevelop-Version=5 X-TDevelop-Properties=VCS,SubversionVCS diff --git a/vcs/subversion/kdevsvn+file.protocol b/vcs/subversion/tdevsvn+file.protocol index 412c3800..412c3800 100644 --- a/vcs/subversion/kdevsvn+file.protocol +++ b/vcs/subversion/tdevsvn+file.protocol diff --git a/vcs/subversion/kdevsvn+http.protocol b/vcs/subversion/tdevsvn+http.protocol index 5a063b85..5a063b85 100644 --- a/vcs/subversion/kdevsvn+http.protocol +++ b/vcs/subversion/tdevsvn+http.protocol diff --git a/vcs/subversion/kdevsvn+https.protocol b/vcs/subversion/tdevsvn+https.protocol index d064e575..d064e575 100644 --- a/vcs/subversion/kdevsvn+https.protocol +++ b/vcs/subversion/tdevsvn+https.protocol diff --git a/vcs/subversion/kdevsvn+ssh.protocol b/vcs/subversion/tdevsvn+ssh.protocol index 512b4a90..512b4a90 100644 --- a/vcs/subversion/kdevsvn+ssh.protocol +++ b/vcs/subversion/tdevsvn+ssh.protocol diff --git a/vcs/subversion/kdevsvn+svn.protocol b/vcs/subversion/tdevsvn+svn.protocol index 8f496854..8f496854 100644 --- a/vcs/subversion/kdevsvn+svn.protocol +++ b/vcs/subversion/tdevsvn+svn.protocol diff --git a/vcs/subversion/kdevsvnd.cpp b/vcs/subversion/tdevsvnd.cpp index c1faf65e..ea42667b 100644 --- a/vcs/subversion/kdevsvnd.cpp +++ b/vcs/subversion/tdevsvnd.cpp @@ -30,24 +30,24 @@ #include "config.h" -#include "kdevsvnd.h" +#include "tdevsvnd.h" -#include "kdevsvnd_widgets.h" +#include "tdevsvnd_widgets.h" #include "commitdlg.h" extern "C" { KDE_EXPORT KDEDModule *create_kdevsvnd(const TQCString &name) { - return new KDevSvnd(name); + return new TDevSvnd(name); } } -KDevSvnd::KDevSvnd(const TQCString &name) +TDevSvnd::TDevSvnd(const TQCString &name) : KDEDModule(name) { } -KDevSvnd::~KDevSvnd() +TDevSvnd::~TDevSvnd() {} -TQString KDevSvnd::commitDialog(TQString modifiedFiles) { +TQString TDevSvnd::commitDialog(TQString modifiedFiles) { CommitDlg commitDlg; commitDlg.setCaption(i18n("Enter Commit Log Message:")); commitDlg.listMessage->setText( modifiedFiles ); @@ -57,7 +57,7 @@ TQString KDevSvnd::commitDialog(TQString modifiedFiles) { } else return TQString(); } -int KDevSvnd::sslServerTrustPrompt( TQString errmsg, TQString hostname, TQString fingerPrint, TQString validfrom, TQString validuntil, TQString issuerName, TQString ascii_cert ) +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 ); @@ -69,12 +69,12 @@ int KDevSvnd::sslServerTrustPrompt( TQString errmsg, TQString hostname, TQString return -1; } } -TQString KDevSvnd::sslCertFile() +TQString TDevSvnd::sslCertFile() { TQString fileName = KFileDialog::getOpenFileName(TQString(),TQString(),0, i18n("Open SSL certificate file")); return fileName; } -TQCString KDevSvnd::sslPasswdDlg(TQString promptMsg) +TQCString TDevSvnd::sslPasswdDlg(TQString promptMsg) { TQCString passwd; int ret = KPasswordDialog::getPassword( passwd,promptMsg ); @@ -90,7 +90,7 @@ TQCString KDevSvnd::sslPasswdDlg(TQString promptMsg) } -// void KDevSvnd::registerMe(const TQCString &app) +// void TDevSvnd::registerMe(const TQCString &app) // { // insert(app, "test", new TestObject(app)); // // When 'app' unregisters with DCOP, the TestObject will get deleted. @@ -391,4 +391,4 @@ TQCString KDevSvnd::sslPasswdDlg(TQString promptMsg) // } // #endif -#include "kdevsvnd.moc" +#include "tdevsvnd.moc" diff --git a/vcs/subversion/kdevsvnd.desktop b/vcs/subversion/tdevsvnd.desktop index 9ba3e877..9ba3e877 100644 --- a/vcs/subversion/kdevsvnd.desktop +++ b/vcs/subversion/tdevsvnd.desktop diff --git a/vcs/subversion/kdevsvnd.h b/vcs/subversion/tdevsvnd.h index 438520e1..4bec5ae7 100644 --- a/vcs/subversion/kdevsvnd.h +++ b/vcs/subversion/tdevsvnd.h @@ -26,7 +26,7 @@ #include <kurl.h> #include <tqstringlist.h> -class KDevSvnd : public KDEDModule +class TDevSvnd : public KDEDModule { Q_OBJECT // @@ -36,8 +36,8 @@ 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(); + TDevSvnd(const TQCString &); + ~TDevSvnd(); k_dcop: // void addAuthInfo(TDEIO::AuthInfo, long); diff --git a/vcs/subversion/kdevsvnd_widgets.cpp b/vcs/subversion/tdevsvnd_widgets.cpp index 0fd2c20b..ba688423 100644 --- a/vcs/subversion/kdevsvnd_widgets.cpp +++ b/vcs/subversion/tdevsvnd_widgets.cpp @@ -12,7 +12,7 @@ * Library General Public License for more details. */ -#include "kdevsvnd_widgets.h" +#include "tdevsvnd_widgets.h" #include <tqpushbutton.h> #include <tqlistview.h> #include <tqlabel.h> @@ -67,4 +67,4 @@ void SvnSSLTrustPrompt::setRejected() { m_code = -1; } -#include "kdevsvnd_widgets.moc" +#include "tdevsvnd_widgets.moc" diff --git a/vcs/subversion/kdevsvnd_widgets.h b/vcs/subversion/tdevsvnd_widgets.h index 3967cb35..da7942b2 100644 --- a/vcs/subversion/kdevsvnd_widgets.h +++ b/vcs/subversion/tdevsvnd_widgets.h @@ -12,8 +12,8 @@ * Library General Public License for more details. */ -#ifndef KDEVSVND_WIDGETS_H -#define KDEVSVND_WIDGETS_H +#ifndef TDEVSVND_WIDGETS_H +#define TDEVSVND_WIDGETS_H #include "svnssltrustpromptbase.h" |