diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 33f08e93132a53bf14f41f5f1e567eeea832b336 (patch) | |
tree | f71204bc1c7d41a0545805a1276c5af43e1c3094 /src/likeback.cpp | |
parent | 14284db4dfa93999d6227344141e8663d9fcf7f9 (diff) | |
download | basket-33f08e93132a53bf14f41f5f1e567eeea832b336.tar.gz basket-33f08e93132a53bf14f41f5f1e567eeea832b336.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/likeback.cpp')
-rw-r--r-- | src/likeback.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/likeback.cpp b/src/likeback.cpp index d22e985..202857f 100644 --- a/src/likeback.cpp +++ b/src/likeback.cpp @@ -568,11 +568,11 @@ void LikeBack::askEmailAddress() // FIXME: Should be moved to KAboutData? Cigogne will also need it. bool LikeBack::isDevelopmentVersion(const TQString &version) { - return version.tqfind("alpha", /*index=*/0, /*caseSensitive=*/false) != -1 || - version.tqfind("beta", /*index=*/0, /*caseSensitive=*/false) != -1 || - version.tqfind("rc", /*index=*/0, /*caseSensitive=*/false) != -1 || - version.tqfind("svn", /*index=*/0, /*caseSensitive=*/false) != -1 || - version.tqfind("cvs", /*index=*/0, /*caseSensitive=*/false) != -1; + return version.find("alpha", /*index=*/0, /*caseSensitive=*/false) != -1 || + version.find("beta", /*index=*/0, /*caseSensitive=*/false) != -1 || + version.find("rc", /*index=*/0, /*caseSensitive=*/false) != -1 || + version.find("svn", /*index=*/0, /*caseSensitive=*/false) != -1 || + version.find("cvs", /*index=*/0, /*caseSensitive=*/false) != -1; } /** |