diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-16 13:43:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-16 13:43:57 -0600 |
commit | 7fbb972791f9e3fbde5dfa85c113285353122600 (patch) | |
tree | 7eba52127d3e9dedd7a8594555c478a0ae7626ae /src/kdesvnd/kdesvnd_dcop.cpp | |
parent | 497d419c0d4bc6c667f31ff874bc70e2c612d808 (diff) | |
download | tdesvn-7fbb972791f9e3fbde5dfa85c113285353122600.tar.gz tdesvn-7fbb972791f9e3fbde5dfa85c113285353122600.zip |
Additional renaming of kde to tde
Diffstat (limited to 'src/kdesvnd/kdesvnd_dcop.cpp')
-rw-r--r-- | src/kdesvnd/kdesvnd_dcop.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/kdesvnd/kdesvnd_dcop.cpp b/src/kdesvnd/kdesvnd_dcop.cpp index 090d318..67962de 100644 --- a/src/kdesvnd/kdesvnd_dcop.cpp +++ b/src/kdesvnd/kdesvnd_dcop.cpp @@ -18,12 +18,12 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include "kdesvn-config.h" -#include "kdesvnd_dcop.h" +#include "tdesvn-config.h" +#include "tdesvnd_dcop.h" #include "src/ksvnwidgets/authdialogimpl.h" #include "src/ksvnwidgets/ssltrustprompt_impl.h" #include "src/ksvnwidgets/logmsg_impl.h" -#include "src/settings/kdesvnsettings.h" +#include "src/settings/tdesvnsettings.h" #include "src/ksvnwidgets/pwstorage.h" #include "src/svnqt/client.hpp" #include "src/svnqt/revision.hpp" @@ -43,19 +43,19 @@ #include <tqdir.h> extern "C" { - KDESVN_EXPORT KDEDModule *create_kdesvnd(const TQCString &name) + KDESVN_EXPORT KDEDModule *create_tdesvnd(const TQCString &name) { - return new kdesvnd_dcop(name); + return new tdesvnd_dcop(name); } } class IListener:public svn::ContextListener { - friend class kdesvnd_dcop; + friend class tdesvnd_dcop; - kdesvnd_dcop*m_back; + tdesvnd_dcop*m_back; public: - IListener(kdesvnd_dcop*p); + IListener(tdesvnd_dcop*p); virtual ~IListener(); /* context-listener methods */ virtual bool contextGetLogin (const TQString & realm, @@ -92,7 +92,7 @@ protected: svn::ContextP m_CurrentContext; }; -IListener::IListener(kdesvnd_dcop*p) +IListener::IListener(tdesvnd_dcop*p) :svn::ContextListener() { m_Svnclient = svn::Client::getobject(0,0); @@ -106,18 +106,18 @@ IListener::~IListener() { } -kdesvnd_dcop::kdesvnd_dcop(const TQCString&name) : KDEDModule(name) +tdesvnd_dcop::tdesvnd_dcop(const TQCString&name) : KDEDModule(name) { - KGlobal::locale()->insertCatalogue("kdesvn"); + KGlobal::locale()->insertCatalogue("tdesvn"); m_Listener=new IListener(this); } -kdesvnd_dcop::~kdesvnd_dcop() +tdesvnd_dcop::~tdesvnd_dcop() { delete m_Listener; } -TQStringList kdesvnd_dcop::getActionMenu (const KURL::List list) +TQStringList tdesvnd_dcop::getActionMenu (const KURL::List list) { TQStringList result; Kdesvnsettings::self()->readConfig(); @@ -191,13 +191,13 @@ TQStringList kdesvnd_dcop::getActionMenu (const KURL::List list) return result; } -TQStringList kdesvnd_dcop::getSingleActionMenu(TQCString what) +TQStringList tdesvnd_dcop::getSingleActionMenu(TQCString what) { KURL::List l; l.append(KURL(what)); return getActionMenu(l); } -TQStringList kdesvnd_dcop::get_login(TQString realm,TQString user) +TQStringList tdesvnd_dcop::get_login(TQString realm,TQString user) { AuthDialogImpl auth(realm,user); TQStringList res; @@ -213,7 +213,7 @@ TQStringList kdesvnd_dcop::get_login(TQString realm,TQString user) return res; } -int kdesvnd_dcop::get_sslaccept(TQString hostname,TQString fingerprint,TQString validFrom,TQString validUntil,TQString issuerDName,TQString realm) +int tdesvnd_dcop::get_sslaccept(TQString hostname,TQString fingerprint,TQString validFrom,TQString validUntil,TQString issuerDName,TQString realm) { bool ok,saveit; if (!SslTrustPrompt_impl::sslTrust( @@ -233,7 +233,7 @@ int kdesvnd_dcop::get_sslaccept(TQString hostname,TQString fingerprint,TQString return 1; } -TQStringList kdesvnd_dcop::get_sslclientcertpw(TQString realm) +TQStringList tdesvnd_dcop::get_sslclientcertpw(TQString realm) { TQStringList resList; TQCString npass; @@ -251,7 +251,7 @@ TQStringList kdesvnd_dcop::get_sslclientcertpw(TQString realm) return resList; } -TQString kdesvnd_dcop::get_sslclientcertfile() +TQString tdesvnd_dcop::get_sslclientcertfile() { TQString afile = KFileDialog::getOpenFileName(TQString(), TQString(), @@ -260,7 +260,7 @@ TQString kdesvnd_dcop::get_sslclientcertfile() return afile; } -TQStringList kdesvnd_dcop::get_logmsg() +TQStringList tdesvnd_dcop::get_logmsg() { TQStringList res; bool ok; @@ -272,7 +272,7 @@ TQStringList kdesvnd_dcop::get_logmsg() return res; } -TQStringList kdesvnd_dcop::get_logmsg(TQMap<TQString,TQString> list) +TQStringList tdesvnd_dcop::get_logmsg(TQMap<TQString,TQString> list) { TQStringList res; bool ok; @@ -284,7 +284,7 @@ TQStringList kdesvnd_dcop::get_logmsg(TQMap<TQString,TQString> list) return res; } -TQString kdesvnd_dcop::cleanUrl(const KURL&url) +TQString tdesvnd_dcop::cleanUrl(const KURL&url) { TQString cleanpath = url.path(); while (cleanpath.endsWith("/")) { @@ -294,11 +294,11 @@ TQString kdesvnd_dcop::cleanUrl(const KURL&url) } /* just simple name check of course - no network acess! */ -bool kdesvnd_dcop::isRepository(const KURL&url) +bool tdesvnd_dcop::isRepository(const KURL&url) { - kdDebug()<<"kdesvnd_dcop::isRepository Url zum repo check: "<<url<<endl; + kdDebug()<<"tdesvnd_dcop::isRepository Url zum repo check: "<<url<<endl; TQString proto = svn::Url::transformProtokoll(url.protocol()); - kdDebug()<<"kdesvnd_dcop::isRepository Protokoll: " << proto << endl; + kdDebug()<<"tdesvnd_dcop::isRepository Protokoll: " << proto << endl; if (proto=="file") { // local access - may a repository svn::Revision where = svn::Revision::HEAD; @@ -315,7 +315,7 @@ bool kdesvnd_dcop::isRepository(const KURL&url) } } -bool kdesvnd_dcop::isWorkingCopy(const KURL&_url,TQString&base) +bool tdesvnd_dcop::isWorkingCopy(const KURL&_url,TQString&base) { base = ""; KURL url = _url; |