summaryrefslogtreecommitdiffstats
path: root/vcs/subversion
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /vcs/subversion
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz
tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'vcs/subversion')
-rw-r--r--vcs/subversion/commitdlg.cpp2
-rw-r--r--vcs/subversion/commitdlg.h2
-rw-r--r--vcs/subversion/svn_blamewidget.cpp2
-rw-r--r--vcs/subversion/svn_kio.cpp12
-rw-r--r--vcs/subversion/svn_logviewwidget.cpp2
5 files changed, 10 insertions, 10 deletions
diff --git a/vcs/subversion/commitdlg.cpp b/vcs/subversion/commitdlg.cpp
index df519d02..54c6c4f2 100644
--- a/vcs/subversion/commitdlg.cpp
+++ b/vcs/subversion/commitdlg.cpp
@@ -44,4 +44,4 @@ bool CommitDlg::eventFilter( TQObject* obj, TQEvent* ev )
#include "commitdlg.moc"
-//kate: space-indent on; indent-width 4; tqreplace-tabs on; auto-insert-doxygen on; indent-mode cstyle;
+//kate: space-indent on; indent-width 4; replace-tabs on; auto-insert-doxygen on; indent-mode cstyle;
diff --git a/vcs/subversion/commitdlg.h b/vcs/subversion/commitdlg.h
index f940511c..a0070770 100644
--- a/vcs/subversion/commitdlg.h
+++ b/vcs/subversion/commitdlg.h
@@ -35,4 +35,4 @@ protected:
#endif
-//kate: space-indent on; indent-width 4; tqreplace-tabs on; auto-insert-doxygen on; indent-mode cstyle;
+//kate: space-indent on; indent-width 4; replace-tabs on; auto-insert-doxygen on; indent-mode cstyle;
diff --git a/vcs/subversion/svn_blamewidget.cpp b/vcs/subversion/svn_blamewidget.cpp
index 1060158b..5d80f997 100644
--- a/vcs/subversion/svn_blamewidget.cpp
+++ b/vcs/subversion/svn_blamewidget.cpp
@@ -64,7 +64,7 @@ void SvnBlameWidget::show()
SvnBlameHolder holder = *it;
SvnIntSortListItem *item = new SvnIntSortListItem(outView());
- TQString prettyDate = holder.date.left(16).tqreplace(10, 1, ' ');
+ TQString prettyDate = holder.date.left(16).replace(10, 1, ' ');
item->setText(0, TQString::number( holder.line+1 ) );
item->setText(1, TQString::number(holder.rev) );
diff --git a/vcs/subversion/svn_kio.cpp b/vcs/subversion/svn_kio.cpp
index 416f32c0..9a70dd1b 100644
--- a/vcs/subversion/svn_kio.cpp
+++ b/vcs/subversion/svn_kio.cpp
@@ -261,7 +261,7 @@ void kio_svnProtocol::get(const KURL& url ){
//find the requested revision
svn_opt_revision_t rev;
svn_opt_revision_t endrev;
- int idx = target.tqfindRev( "?rev=" );
+ int idx = target.findRev( "?rev=" );
if ( idx != -1 ) {
TQString revstr = target.mid( idx+5 );
#if 0
@@ -323,7 +323,7 @@ void kio_svnProtocol::stat(const KURL & url){
//find the requested revision
svn_opt_revision_t rev;
svn_opt_revision_t endrev;
- int idx = target.tqfindRev( "?rev=" );
+ int idx = target.findRev( "?rev=" );
if ( idx != -1 ) {
TQString revstr = target.mid( idx+5 );
#if 0
@@ -428,7 +428,7 @@ void kio_svnProtocol::listDir(const KURL& url){
//find the requested revision
svn_opt_revision_t rev;
svn_opt_revision_t endrev;
- int idx = target.tqfindRev( "?rev=" );
+ int idx = target.findRev( "?rev=" );
if ( idx != -1 ) {
TQString revstr = target.mid( idx+5 );
svn_opt_parse_revision( &rev, &endrev, revstr.utf8(), subpool );
@@ -545,7 +545,7 @@ bool kio_svnProtocol::createUDSEntry( const TQString& filename, const TQString&
//
// //find the requested revision
// svn_opt_revision_t rev;
-// int idx = srcsvn.tqfindRev( "?rev=" );
+// int idx = srcsvn.findRev( "?rev=" );
// if ( idx != -1 ) {
// TQString revstr = srcsvn.mid( idx+5 );
// kdDebug(9036) << "revision string found " << revstr << endl;
@@ -672,7 +672,7 @@ void kio_svnProtocol::rename(const KURL& src, const KURL& dest, bool /*overwrite
//find the requested revision
svn_opt_revision_t rev;
- int idx = srcsvn.tqfindRev( "?rev=" );
+ int idx = srcsvn.findRev( "?rev=" );
if ( idx != -1 ) {
TQString revstr = srcsvn.mid( idx+5 );
kdDebug(9036) << "revision string found " << revstr << endl;
@@ -1661,7 +1661,7 @@ TQString kio_svnProtocol::makeSvnURL ( const KURL& url ) const {
tpURL.setProtocol("file");
svnUrl = tpURL.url(-1);
//hack : add one more / after file:/
- int idx = svnUrl.tqfind("/");
+ int idx = svnUrl.find("/");
svnUrl.insert( idx, "//" );
return svnUrl;
}
diff --git a/vcs/subversion/svn_logviewwidget.cpp b/vcs/subversion/svn_logviewwidget.cpp
index 9eaa6aa9..c8f33e66 100644
--- a/vcs/subversion/svn_logviewwidget.cpp
+++ b/vcs/subversion/svn_logviewwidget.cpp
@@ -92,7 +92,7 @@ void SvnLogViewWidget::setLogResult( TQValueList<SvnLogHolder> *loglist )
SvnLogHolder holder = *it;
SvnLogViewItem *item = new SvnLogViewItem(this->listView1);
- TQString prettyDate = holder.date.left(16).tqreplace(10, 1, ' ');
+ TQString prettyDate = holder.date.left(16).replace(10, 1, ' ');
item->setText(0, holder.rev );
item->setText(1, prettyDate );