summaryrefslogtreecommitdiffstats
path: root/cervisia/repositories.cpp
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
commit0813b39aed2cf4c84157a22c4c9594336d93d412 (patch)
tree0f6157f9c9ecc6ed26cb98f058219a8021d3f4a6 /cervisia/repositories.cpp
parent35dc58791106d7a1864264063df5f3ee3f1f0f15 (diff)
downloadtdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.tar.gz
tdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/repositories.cpp')
-rw-r--r--cervisia/repositories.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cervisia/repositories.cpp b/cervisia/repositories.cpp
index c8da2857..7f52a39d 100644
--- a/cervisia/repositories.cpp
+++ b/cervisia/repositories.cpp
@@ -59,7 +59,7 @@ static TQStringList readCvsPassFile()
{
int pos;
TQString line = stream.readLine();
- if ( (pos = line.tqfind(' ')) != -1)
+ if ( (pos = line.find(' ')) != -1)
{
if (line[0] != '/') // old format
list.append(line.left(pos));
@@ -88,7 +88,7 @@ static TQStringList readCvsntPassFile()
{
const TQString line(stream.readLine());
- const int pos(line.tqfind("=A"));
+ const int pos(line.find("=A"));
if (pos >= 0)
list.append(line.left(pos));
}
@@ -117,7 +117,7 @@ TQStringList Repositories::readConfigFile()
// Some people actually use CVSROOT, so we add it here
char *env;
- if ( (env = ::getenv("CVSROOT")) != 0 && !list.tqcontains(env))
+ if ( (env = ::getenv("CVSROOT")) != 0 && !list.contains(env))
list.append(env);
return list;