summaryrefslogtreecommitdiffstats
path: root/languages/kjssupport/kjssupport_part.cpp
diff options
context:
space:
mode:
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;