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 | 330c33ab6f97b279737bf9527c9add7bb1475450 (patch) | |
tree | 85cb998d3077ae295d65944ebb4d0189fc660ead /parts/outputviews/directorystatusmessagefilter.cpp | |
parent | 093de0db4fea89b3f94a2359c6981f353d035eb7 (diff) | |
download | tdevelop-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 'parts/outputviews/directorystatusmessagefilter.cpp')
-rw-r--r-- | parts/outputviews/directorystatusmessagefilter.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/parts/outputviews/directorystatusmessagefilter.cpp b/parts/outputviews/directorystatusmessagefilter.cpp index 9d110533..64945ad5 100644 --- a/parts/outputviews/directorystatusmessagefilter.cpp +++ b/parts/outputviews/directorystatusmessagefilter.cpp @@ -93,18 +93,18 @@ bool DirectoryStatusMessageFilter::matchEnterDir( const TQString& line, TQString // avoid TQRegExp if possible. This regex performs VERY badly with large inputs, // and the input required is very short if these strings match. - if(line.tqfind(en_e) > -1 || - line.tqfind(fr_e) > -1 || - line.tqfind(pl_e) > -1 || - line.tqfind(ja_e) > -1 || - line.tqfind(ko_e) > -1 || - line.tqfind(ko_b) > -1 || - line.tqfind(pt_br_e) > -1 || - line.tqfind(ru_e) > -1 || - line.tqfind(de_e1) > -1 || - line.tqfind(de_e2) > -1 || - line.tqfind(es_e) > -1 || - line.tqfind(nl_e) > -1) + if(line.find(en_e) > -1 || + line.find(fr_e) > -1 || + line.find(pl_e) > -1 || + line.find(ja_e) > -1 || + line.find(ko_e) > -1 || + line.find(ko_b) > -1 || + line.find(pt_br_e) > -1 || + line.find(ru_e) > -1 || + line.find(de_e1) > -1 || + line.find(de_e2) > -1 || + line.find(es_e) > -1 || + line.find(nl_e) > -1) { // grab the directory name if(dirChange.search(line) > -1) @@ -164,17 +164,17 @@ bool DirectoryStatusMessageFilter::matchLeaveDir( const TQString& line, TQString // avoid TQRegExp if possible. This regex performs VERY badly with large inputs, // and the input required is very short if these strings match. - if(line.tqfind(en_l) > -1 || - line.tqfind(fr_l) > -1 || - line.tqfind(ja_l) > -1 || - (line.tqfind(ko_l) > -1 && line.tqfind(ko_b) > -1) || - line.tqfind(pt_br_l) > -1 || - line.tqfind(ru_l) > -1 || - line.tqfind(de_l1) > -1 || - line.tqfind(de_l2) > -1 || - line.tqfind(es_l) > -1 || - line.tqfind(nl_l) > -1 || - line.tqfind(po_l) > -1) + if(line.find(en_l) > -1 || + line.find(fr_l) > -1 || + line.find(ja_l) > -1 || + (line.find(ko_l) > -1 && line.find(ko_b) > -1) || + line.find(pt_br_l) > -1 || + line.find(ru_l) > -1 || + line.find(de_l1) > -1 || + line.find(de_l2) > -1 || + line.find(es_l) > -1 || + line.find(nl_l) > -1 || + line.find(po_l) > -1) { // grab the directory name if(dirChange.search(line) > -1 ) |