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 | 5173e6fcb16310e130fba4143e334563b4f8460e (patch) | |
tree | 52333f9eb0c94f760d4dddc8714671fb50f7b625 /src/main.cpp | |
parent | 7b4db4f16d44d4e9aeee241211827558acd64f17 (diff) | |
download | kdiff3-5173e6fcb16310e130fba4143e334563b4f8460e.tar.gz kdiff3-5173e6fcb16310e130fba4143e334563b4f8460e.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdiff3@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 218740e..2556c0e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -75,7 +75,7 @@ void initialiseCmdLineArgs(std::vector<KCmdLineOptions>& vOptions, TQStringList& TQString line = ts.readLine(); if ( line.startsWith("IgnorableCmdLineOptions=") ) { - int pos = line.tqfind('='); + int pos = line.find('='); if (pos>=0) { TQString s = line.mid(pos+1); @@ -201,7 +201,7 @@ int main(int argc, char *argv[]) TQString locale; locale = app.config()->readEntry("Language", "Auto"); - int spacePos = locale.tqfind(' '); + int spacePos = locale.find(' '); if (spacePos>0) locale = locale.left(spacePos); TQTranslator kdiff3Translator( 0 ); TQTranslator qtTranslator( 0 ); |