From 7fbb972791f9e3fbde5dfa85c113285353122600 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 16 Nov 2011 13:43:57 -0600 Subject: Additional renaming of kde to tde --- src/kdesvnview.cpp | 70 +++++++++++++++++++++++++++--------------------------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'src/kdesvnview.cpp') diff --git a/src/kdesvnview.cpp b/src/kdesvnview.cpp index fa26536..5ba64a1 100644 --- a/src/kdesvnview.cpp +++ b/src/kdesvnview.cpp @@ -19,15 +19,15 @@ ***************************************************************************/ -#include "kdesvnview.h" -#include "svnfrontend/kdesvnfilelist.h" +#include "tdesvnview.h" +#include "svnfrontend/tdesvnfilelist.h" #include "svnfrontend/createrepo_impl.h" #include "svnfrontend/dumprepo_impl.h" #include "svnfrontend/hotcopydlg_impl.h" #include "svnfrontend/loaddmpdlg_impl.h" #include "svnfrontend/stopdlg.h" #include "svnfrontend/fronthelpers/propertylist.h" -#include "src/settings/kdesvnsettings.h" +#include "src/settings/tdesvnsettings.h" #include "src/svnqt/url.hpp" #include "src/svnqt/repository.hpp" #include "src/svnqt/version_check.hpp" @@ -58,7 +58,7 @@ #include #include -kdesvnView::kdesvnView(KActionCollection*aCollection,TQWidget *parent,const char*name,bool full) +tdesvnView::tdesvnView(KActionCollection*aCollection,TQWidget *parent,const char*name,bool full) : TQWidget(parent,name),svn::repository::RepositoryListener(),m_Collection(aCollection), m_currentURL("") { @@ -71,7 +71,7 @@ kdesvnView::kdesvnView(KActionCollection*aCollection,TQWidget *parent,const char m_Splitter = new TQSplitter( this, "m_Splitter" ); m_Splitter->setOrientation( Qt::Vertical ); - m_flist=new kdesvnfilelist(m_Collection,m_Splitter); + m_flist=new tdesvnfilelist(m_Collection,m_Splitter); m_infoSplitter = new TQSplitter(m_Splitter); m_infoSplitter->setOrientation( Qt::Horizontal ); @@ -94,7 +94,7 @@ kdesvnView::kdesvnView(KActionCollection*aCollection,TQWidget *parent,const char connect(m_flist,TQT_SIGNAL(sigUrlChanged( const TQString& )),this,TQT_SLOT(slotUrlChanged(const TQString&))); connect(m_flist,TQT_SIGNAL(sigCachetqStatus(TQ_LONG,TQ_LONG)),this,TQT_SLOT(fillCachetqStatus(TQ_LONG,TQ_LONG))); connect(this,TQT_SIGNAL(sigMakeBaseDirs()),m_flist,TQT_SLOT(slotMkBaseDirs())); - KConfigGroup cs(Kdesvnsettings::self()->config(),"kdesvn-maintqlayout"); + KConfigGroup cs(Kdesvnsettings::self()->config(),"tdesvn-maintqlayout"); TQString t1 = cs.readEntry("split1",TQString()); if (!t1.isEmpty()) { TQTextStream st1(&t1,IO_ReadOnly); @@ -109,14 +109,14 @@ kdesvnView::kdesvnView(KActionCollection*aCollection,TQWidget *parent,const char } } -void kdesvnView::slotAppendLog(const TQString& text) +void tdesvnView::slotAppendLog(const TQString& text) { m_LogWindow->append(text); } -kdesvnView::~kdesvnView() +tdesvnView::~tdesvnView() { - KConfigGroup cs(Kdesvnsettings::self()->config(),"kdesvn-maintqlayout"); + KConfigGroup cs(Kdesvnsettings::self()->config(),"tdesvn-maintqlayout"); TQString t1,t2; TQTextStream st1(&t1,IO_WriteOnly); st1 << *m_Splitter; @@ -130,7 +130,7 @@ kdesvnView::~kdesvnView() } } -void kdesvnView::slotUrlChanged(const TQString&url) +void tdesvnView::slotUrlChanged(const TQString&url) { m_currentURL=url; slotSetTitle(url); @@ -138,17 +138,17 @@ void kdesvnView::slotUrlChanged(const TQString&url) slotOnURL(i18n("Repository opened")); } -TQString kdesvnView::currentURL() +TQString tdesvnView::currentURL() { return m_currentURL; } -bool kdesvnView::openURL(TQString url) +bool tdesvnView::openURL(TQString url) { return openURL(KURL(url)); } -bool kdesvnView::openURL(const KURL& url) +bool tdesvnView::openURL(const KURL& url) { /* transform of url must be done in part! otherwise we will run into different troubles! */ m_currentURL = ""; @@ -188,12 +188,12 @@ bool kdesvnView::openURL(const KURL& url) return open; } -void kdesvnView::slotOnURL(const TQString& url) +void tdesvnView::slotOnURL(const TQString& url) { emit signalChangeStatusbar(url); } -void kdesvnView::slotSetTitle(const TQString& title) +void tdesvnView::slotSetTitle(const TQString& title) { //emit signalChangeCaption(title); emit setWindowCaption(title); @@ -201,42 +201,42 @@ void kdesvnView::slotSetTitle(const TQString& title) /*! - \fn kdesvnView::closeMe() + \fn tdesvnView::closeMe() */ -void kdesvnView::closeMe() +void tdesvnView::closeMe() { m_flist->closeMe(); m_LogWindow->setText(""); slotOnURL(i18n("No repository open")); } -void kdesvnView::slotDispPopup(const TQString&item,TQWidget**target) +void tdesvnView::slotDispPopup(const TQString&item,TQWidget**target) { emit sigShowPopup(item,target); } /*! - \fn kdesvnView::refreshCurrentTree() + \fn tdesvnView::refreshCurrentTree() */ -void kdesvnView::refreshCurrentTree() +void tdesvnView::refreshCurrentTree() { m_flist->refreshCurrentTree(); } /*! - \fn kdesvnView::slotSettingsChanged() + \fn tdesvnView::slotSettingsChanged() */ -void kdesvnView::slotSettingsChanged() +void tdesvnView::slotSettingsChanged() { m_flist->slotSettingsChanged(); } /*! - \fn kdesvnView::slotCreateRepo() + \fn tdesvnView::slotCreateRepo() */ -void kdesvnView::slotCreateRepo() +void tdesvnView::slotCreateRepo() { KDialogBase * dlg = new KDialogBase( TQT_TQWIDGET(KApplication::activeModalWidget()), @@ -284,7 +284,7 @@ void kdesvnView::slotCreateRepo() } } -void kdesvnView::slotHotcopy() +void tdesvnView::slotHotcopy() { KDialogBase * dlg = new KDialogBase( TQT_TQWIDGET(KApplication::activeModalWidget()), @@ -319,7 +319,7 @@ void kdesvnView::slotHotcopy() } } -void kdesvnView::slotLoaddump() +void tdesvnView::slotLoaddump() { KDialogBase dlg( TQT_TQWIDGET(KApplication::activeModalWidget()), @@ -369,7 +369,7 @@ void kdesvnView::slotLoaddump() } } -void kdesvnView::slotDumpRepo() +void tdesvnView::slotDumpRepo() { KDialogBase * dlg = new KDialogBase( TQT_TQWIDGET(KApplication::activeModalWidget()), @@ -432,23 +432,23 @@ void kdesvnView::slotDumpRepo() } /*! - \fn kdesvnView::setupActions() + \fn tdesvnView::setupActions() */ -void kdesvnView::setupActions() +void tdesvnView::setupActions() { } -void kdesvnView::sendWarning(const TQString&aMsg) +void tdesvnView::sendWarning(const TQString&aMsg) { slotAppendLog(aMsg); } -void kdesvnView::sendError(const TQString&aMsg) +void tdesvnView::sendError(const TQString&aMsg) { slotAppendLog(aMsg); } -bool kdesvnView::isCanceld() +bool tdesvnView::isCanceld() { if (!m_ReposCancel) { emit tickProgress(); @@ -457,12 +457,12 @@ bool kdesvnView::isCanceld() return true; } -void kdesvnView::setCanceled(bool how) +void tdesvnView::setCanceled(bool how) { m_ReposCancel = how; } -void kdesvnView::fillCachetqStatus(TQ_LONG current,TQ_LONG max) +void tdesvnView::fillCachetqStatus(TQ_LONG current,TQ_LONG max) { if (current>-1 && max>-1) { kdDebug()<<"Fillcache "<