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 | 055401d5dbcb7a509b9d6a6414ba3fc55a23eb82 (patch) | |
tree | 00c2014321c12930c673079eb5d736c80a85be45 /plugins/strigi | |
parent | ba9755cbdc76d556757b1facb56e1c453f67025b (diff) | |
download | kbfx-055401d5dbcb7a509b9d6a6414ba3fc55a23eb82.tar.gz kbfx-055401d5dbcb7a509b9d6a6414ba3fc55a23eb82.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/strigi')
-rw-r--r-- | plugins/strigi/kbfxstrigiplugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/strigi/kbfxstrigiplugin.cpp b/plugins/strigi/kbfxstrigiplugin.cpp index 8039fa4..d97c1ae 100644 --- a/plugins/strigi/kbfxstrigiplugin.cpp +++ b/plugins/strigi/kbfxstrigiplugin.cpp @@ -167,11 +167,11 @@ search ( TQString _keyword ) TQString name; std::map < std::string, std::string >::const_iterator it = - hits.hits[i].properties.tqfind ( "title" ); + hits.hits[i].properties.find ( "title" ); TQString filename ( hits.hits[i].uri.c_str () ); - if ( filename.tqcontains ( ".tar." ) > 0 ) + if ( filename.contains ( ".tar." ) > 0 ) { filename = "tar:" + filename; kdDebug() << filename << endl; @@ -183,7 +183,7 @@ search ( TQString _keyword ) } else { - uint pos = hits.hits[i].uri.rtqfind ( '/' ); + uint pos = hits.hits[i].uri.rfind ( '/' ); if ( pos == std::string::npos ) { name = hits.hits[i].uri; |