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 | 2a99db3ebc4c211e436f95fde24b5ac6826d0267 (patch) | |
tree | ce2e122a017c12f803ea428a299c7e3cec52c8fe /plugins/webinterface/php_handler.cpp | |
parent | 100dcb6968ca22bfa52836ad55eb4f01225791db (diff) | |
download | ktorrent-2a99db3ebc4c211e436f95fde24b5ac6826d0267.tar.gz ktorrent-2a99db3ebc4c211e436f95fde24b5ac6826d0267.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/webinterface/php_handler.cpp')
-rw-r--r-- | plugins/webinterface/php_handler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/webinterface/php_handler.cpp b/plugins/webinterface/php_handler.cpp index 852f1fd..87c8acd 100644 --- a/plugins/webinterface/php_handler.cpp +++ b/plugins/webinterface/php_handler.cpp @@ -48,7 +48,7 @@ namespace kt bool PhpHandler::executeScript(const TQString & path,const TQMap<TQString,TQString> & args) { TQByteArray php_s; - if (!scripts.tqcontains(path)) + if (!scripts.contains(path)) { TQFile fptr(path); if (!fptr.open(IO_ReadOnly)) @@ -66,7 +66,7 @@ namespace kt output.resize(0); - int firstphptag = TQCString(php_s).tqfind("<?php"); + int firstphptag = TQCString(php_s).find("<?php"); if (firstphptag == -1) return false; |