summaryrefslogtreecommitdiffstats
path: root/languages/kjssupport/kjssupport_part.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/kjssupport/kjssupport_part.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/kjssupport/kjssupport_part.cpp')
-rw-r--r--languages/kjssupport/kjssupport_part.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/kjssupport/kjssupport_part.cpp b/languages/kjssupport/kjssupport_part.cpp
index 8f6afda3..2c894b17 100644
--- a/languages/kjssupport/kjssupport_part.cpp
+++ b/languages/kjssupport/kjssupport_part.cpp
@@ -157,7 +157,7 @@ void kjsSupportPart::savedFile(const TQString &fileName)
{
- if (project()->allFiles().tqcontains(fileName.mid ( project()->projectDirectory().length() + 1 )))
+ if (project()->allFiles().contains(fileName.mid ( project()->projectDirectory().length() + 1 )))
{
kdDebug(9014) << "parse file " << fileName << endl;
parse( fileName );
@@ -326,10 +326,10 @@ void kjsSupportPart::parse(const TQString &fileName)
m_problemReporter->addLine(m_file->fileName(), lineNo, errorMessage.qstring());
}
- if( line.tqcontains("{") )
+ if( line.contains("{") )
++depth;
- if( line.tqcontains("}") )
+ if( line.contains("}") )
--depth;
++lineNo;