summaryrefslogtreecommitdiffstats
path: root/languages/java/backgroundparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/java/backgroundparser.cpp')
-rw-r--r--languages/java/backgroundparser.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/java/backgroundparser.cpp b/languages/java/backgroundparser.cpp
index e1f058c7..cdeae8b4 100644
--- a/languages/java/backgroundparser.cpp
+++ b/languages/java/backgroundparser.cpp
@@ -146,7 +146,7 @@ public:
m_fileList.pop_front();
}
- bool tqcontains( const TQString& fileName ) const
+ bool contains( const TQString& fileName ) const
{
TQMutexLocker locker( &m_mutex );
TQValueList< TQPair<TQString, bool> >::ConstIterator it = m_fileList.begin();
@@ -199,7 +199,7 @@ void BackgroundParser::addFile( const TQString& fileName, bool readFromDisk )
TQString fn = deepCopy( fileName );
bool added = false;
- if( !m_fileList->tqcontains(fn) ){
+ if( !m_fileList->contains(fn) ){
m_fileList->push_back( fn, readFromDisk );
added = true;
}
@@ -257,7 +257,7 @@ Unit* BackgroundParser::parseFile( const TQString& fileName, bool readFromDisk )
static_cast<KDevSourceProvider*>( m_driver->sourceProvider() )->setReadFromDisk( false );
- if( m_unitDict.tqfind(fileName) != m_unitDict.end() ){
+ if( m_unitDict.find(fileName) != m_unitDict.end() ){
Unit* u = m_unitDict[ fileName ];
m_unitDict.remove( fileName );
delete( u );
@@ -266,7 +266,7 @@ Unit* BackgroundParser::parseFile( const TQString& fileName, bool readFromDisk )
m_unitDict.insert( fileName, unit );
- if( m_fileList->tqcontains(fileName) ){
+ if( m_fileList->contains(fileName) ){
kdDebug(9013) << "========================> FILE: " << fileName << " IN TQUEUE <=============" << endl;
} else {
KApplication::postEvent( m_javaSupport, new FileParsedEvent(fileName, unit->problems) );
@@ -282,7 +282,7 @@ Unit* BackgroundParser::parseFile( const TQString& fileName, bool readFromDisk )
Unit* BackgroundParser::findUnit( const TQString& fileName )
{
- TQMap<TQString, Unit*>::Iterator it = m_unitDict.tqfind( fileName );
+ TQMap<TQString, Unit*>::Iterator it = m_unitDict.find( fileName );
return it != m_unitDict.end() ? *it : 0;
}