summaryrefslogtreecommitdiffstats
path: root/languages/php/phpnewclassdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /languages/php/phpnewclassdlg.cpp
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-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 'languages/php/phpnewclassdlg.cpp')
-rw-r--r--languages/php/phpnewclassdlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/php/phpnewclassdlg.cpp b/languages/php/phpnewclassdlg.cpp
index 9227e8ff..2b014cfc 100644
--- a/languages/php/phpnewclassdlg.cpp
+++ b/languages/php/phpnewclassdlg.cpp
@@ -104,14 +104,14 @@ void PHPNewClassDlg::accept(){
// generate the sourcecode for the class
if(m_baseClassEdit->text().isEmpty()){
- text = text.tqreplace(TQRegExp("extends BASECLASS"),"");
- text = text.tqreplace(TQRegExp("BASECLASS\\:\\:BASECLASS\\(\\);"),"");
+ text = text.replace(TQRegExp("extends BASECLASS"),"");
+ text = text.replace(TQRegExp("BASECLASS\\:\\:BASECLASS\\(\\);"),"");
}else{
- text = text.tqreplace(TQRegExp("BASECLASS"),m_baseClassEdit->text());
+ text = text.replace(TQRegExp("BASECLASS"),m_baseClassEdit->text());
}
- text = text.tqreplace(TQRegExp("CLASSNAME"),m_classNameEdit->text());
- text = text.tqreplace(TQRegExp("FILENAME"),m_fileNameEdit->text().upper());
- text = text.tqreplace(TQRegExp("AUTHOR"),"not implemented");
+ text = text.replace(TQRegExp("CLASSNAME"),m_classNameEdit->text());
+ text = text.replace(TQRegExp("FILENAME"),m_fileNameEdit->text().upper());
+ text = text.replace(TQRegExp("AUTHOR"),"not implemented");
file.setName(absFileName);
if(file.open(IO_WriteOnly)){