summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/codemodel_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interfaces/codemodel_utils.cpp')
-rw-r--r--lib/interfaces/codemodel_utils.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/interfaces/codemodel_utils.cpp b/lib/interfaces/codemodel_utils.cpp
index 2bdffd53..afb946bd 100644
--- a/lib/interfaces/codemodel_utils.cpp
+++ b/lib/interfaces/codemodel_utils.cpp
@@ -62,7 +62,7 @@ void processNamespaces(FunctionList &list, const NamespaceDom dom)
}
}
-void processNamespaces( FunctionList & list, const NamespaceDom dom, QMap< FunctionDom, Scope > & relations )
+void processNamespaces( FunctionList & list, const NamespaceDom dom, TQMap< FunctionDom, Scope > & relations )
{
const NamespaceList nslist = dom->namespaceList();
for (NamespaceList::ConstIterator it = nslist.begin(); it != nslist.end(); ++it)
@@ -83,7 +83,7 @@ void processNamespaces( FunctionList & list, const NamespaceDom dom, QMap< Funct
}
}
-void processClasses( FunctionList & list, const ClassDom dom, QMap< FunctionDom, Scope > & relations )
+void processClasses( FunctionList & list, const ClassDom dom, TQMap< FunctionDom, Scope > & relations )
{
const ClassList cllist = dom->classList();
for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it)
@@ -99,7 +99,7 @@ void processClasses( FunctionList & list, const ClassDom dom, QMap< FunctionDom,
}
}
-void processClasses( FunctionList & list, const ClassDom dom, QMap< FunctionDom, Scope > & relations, const NamespaceDom & nsdom )
+void processClasses( FunctionList & list, const ClassDom dom, TQMap< FunctionDom, Scope > & relations, const NamespaceDom & nsdom )
{
const ClassList cllist = dom->classList();
for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it)
@@ -158,7 +158,7 @@ void processNamespaces(FunctionDefinitionList &list, const NamespaceDom dom)
}
}
-void processNamespaces( FunctionDefinitionList & list, const NamespaceDom dom, QMap< FunctionDefinitionDom, Scope > & relations )
+void processNamespaces( FunctionDefinitionList & list, const NamespaceDom dom, TQMap< FunctionDefinitionDom, Scope > & relations )
{
const NamespaceList nslist = dom->namespaceList();
for (NamespaceList::ConstIterator it = nslist.begin(); it != nslist.end(); ++it)
@@ -179,7 +179,7 @@ void processNamespaces( FunctionDefinitionList & list, const NamespaceDom dom, Q
}
}
-void processClasses( FunctionDefinitionList & list, const ClassDom dom, QMap< FunctionDefinitionDom, Scope > & relations )
+void processClasses( FunctionDefinitionList & list, const ClassDom dom, TQMap< FunctionDefinitionDom, Scope > & relations )
{
const ClassList cllist = dom->classList();
for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it)
@@ -195,7 +195,7 @@ void processClasses( FunctionDefinitionList & list, const ClassDom dom, QMap< Fu
}
}
-void processClasses( FunctionDefinitionList & list, const ClassDom dom, QMap< FunctionDefinitionDom, Scope > & relations, const NamespaceDom & nsdom )
+void processClasses( FunctionDefinitionList & list, const ClassDom dom, TQMap< FunctionDefinitionDom, Scope > & relations, const NamespaceDom & nsdom )
{
const ClassList cllist = dom->classList();
for (ClassList::ConstIterator it = cllist.begin(); it != cllist.end(); ++it)
@@ -297,8 +297,8 @@ AllFunctionDefinitions allFunctionDefinitionsDetailed( const FileDom & dom )
bool resultTypesFit( const FunctionDom & dec, const FunctionDefinitionDom & def ) {
if( !def->resultType().contains("::") ) return dec->resultType() == def->resultType();
- QStringList l1 = dec->scope() + QStringList::split("::", dec->resultType() );
- QStringList l2 = QStringList::split("::", def->resultType() );
+ TQStringList l1 = dec->scope() + TQStringList::split("::", dec->resultType() );
+ TQStringList l2 = TQStringList::split("::", def->resultType() );
if( l1.isEmpty() || l2.isEmpty() || l1.back() != l2.back() ) return false;
@@ -349,7 +349,7 @@ bool compareDeclarationToDefinition( const FunctionDom & dec, const FunctionDefi
if (defList[i]->type() != decList[i]->type())
return false;
- const QStringList &defScope = def->scope(), &decScope = dec->scope();
+ const TQStringList &defScope = def->scope(), &decScope = dec->scope();
if (defScope != decScope)
{
if (defScope.size() >= decScope.size())
@@ -486,7 +486,7 @@ int findLastVariableLine( ClassDom aClass, CodeModelItem::Access access )
return point;
}
-QString accessSpecifierToString( CodeModelItem::Access access )
+TQString accessSpecifierToString( CodeModelItem::Access access )
{
switch(access)
{