summaryrefslogtreecommitdiffstats
path: root/languages/cpp/store_walker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/store_walker.cpp')
-rw-r--r--languages/cpp/store_walker.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/store_walker.cpp b/languages/cpp/store_walker.cpp
index bcea1a05..e0c9bfd6 100644
--- a/languages/cpp/store_walker.cpp
+++ b/languages/cpp/store_walker.cpp
@@ -53,7 +53,7 @@ void StoreWalker::parseTranslationUnit( const ParsedFile& ast )
m_anon = 0;
m_imports.clear();
- m_imports << QPair<TQMap<TQString, ClassDom>, TQStringList>(TQMap<TQString, ClassDom>(), TQStringList());
+ m_imports << TQPair<TQMap<TQString, ClassDom>, TQStringList>(TQMap<TQString, ClassDom>(), TQStringList());
TreeParser::parseTranslationUnit( ast );
m_imports.pop_back();
}
@@ -519,7 +519,7 @@ void StoreWalker::parseClassSpecifier( ClassSpecifierAST* ast )
klass->setEndPosition( endLine, endColumn );
klass->setFileName( m_fileName );
- int i = className.find( '<' );
+ int i = className.tqfind( '<' );
if( i != -1 ) {
klass->setSpecializationDeclaration( className.mid( i ) );
className = className.left( i );
@@ -900,7 +900,7 @@ void StoreWalker::parseFunctionArguments( DeclaratorAST* declarator, FunctionDom
if ( param->declarator() )
{
- TQString text = declaratorToString( param->declarator(), TQString::null, true );
+ TQString text = declaratorToString( param->declarator(), TQString(), true );
if ( !text.isEmpty() )
arg->setName( text );
}
@@ -917,7 +917,7 @@ void StoreWalker::parseFunctionArguments( DeclaratorAST* declarator, FunctionDom
TQString StoreWalker::typeOfDeclaration( TypeSpecifierAST* typeSpec, DeclaratorAST* declarator )
{
if ( !typeSpec || !declarator )
- return TQString::null;
+ return TQString();
TQString text;
@@ -982,7 +982,7 @@ ClassDom StoreWalker::findClassFromScope( const TQStringList& scope )
{
TQString scopeText = scope.join("::");
if( !m_imports.isEmpty() ) {
- TQMapIterator<TQString, ClassDom> it = m_imports.back().first.find( scopeText );
+ TQMapIterator<TQString, ClassDom> it = m_imports.back().first.tqfind( scopeText );
if( it != m_imports.back().first.end() ) {
return *it;
}
@@ -1052,7 +1052,7 @@ ClassDom StoreWalker::classFromScope(const TQStringList& scope) {
if( c ) {
///Check the file that overrides the code-model file
- it = m_overrides.find( c->fileName() );
+ it = m_overrides.tqfind( c->fileName() );
//Find the class within the file that is overriding the one in code-model.
if( it != m_overrides.end() ) {