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 | e7943f0f55e7680153deace7e00370bb7d6a82c9 (patch) | |
tree | 7f33ef686d468270850553eb895422da0f4d007f /src/kile/symbols/gesymb.cpp | |
parent | b9ce99f4e5f244800fb4f5f10c15799fa02a80a2 (diff) | |
download | kile-e7943f0f.tar.gz kile-e7943f0f.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kile@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kile/symbols/gesymb.cpp')
-rw-r--r-- | src/kile/symbols/gesymb.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kile/symbols/gesymb.cpp b/src/kile/symbols/gesymb.cpp index 4254145..0b10d58 100644 --- a/src/kile/symbols/gesymb.cpp +++ b/src/kile/symbols/gesymb.cpp @@ -77,7 +77,7 @@ cmdpkgs.setMinimal(true); while( (line = t.readLine()) != 0L) { - if( line.tqfind(comment) != -1 ) + if( line.find(comment) != -1 ) continue; if(env) { @@ -90,7 +90,7 @@ while( (line = t.readLine()) != 0L) pkgsarg=""; } - if ( line.tqfind(beginenvpkgs) != -1) + if ( line.find(beginenvpkgs) != -1) { env=true; pkgs=beginenvpkgs.cap(2); @@ -98,12 +98,12 @@ while( (line = t.readLine()) != 0L) savepkgs=pkgs; savepkgsarg=pkgsarg; } - else if( line.tqfind(cmdpkgs) != -1) + else if( line.find(cmdpkgs) != -1) { pkgs=cmdpkgs.cap(2); pkgsarg=cmdpkgs.cap(1); } - else if( line.tqfind(endenvpkgs) != -1) + else if( line.find(endenvpkgs) != -1) { env=false; savepkgs=""; @@ -115,9 +115,9 @@ while( (line = t.readLine()) != 0L) cout << "line is " << line.latin1(); cout << "; pkgs=" << pkgs.latin1() << " ,pkgsarg=" << pkgsarg.latin1() << " ,savepkgs=" << savepkgs.latin1() << " ,savepkgsarg=" << savepkgsarg.latin1() << "\n"; - if ( line.tqfind(optarg) != -1) + if ( line.find(optarg) != -1) writeComment(optarg.cap(1),pkgs,pkgsarg,type,number++); - else if(line.tqfind(arg) != -1) + else if(line.find(arg) != -1) writeComment(arg.cap(1),pkgs,pkgsarg,type,number++); } |