diff options
Diffstat (limited to 'lib/interfaces/codemodel_utils.h')
-rw-r--r-- | lib/interfaces/codemodel_utils.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/interfaces/codemodel_utils.h b/lib/interfaces/codemodel_utils.h index 8836e058..2879a424 100644 --- a/lib/interfaces/codemodel_utils.h +++ b/lib/interfaces/codemodel_utils.h @@ -45,7 +45,7 @@ This can be done with following code: @code class MyPred{ public: - MyPred(const QString &name): m_name(name) {} + MyPred(const TQString &name): m_name(name) {} bool operator() (const FunctionDefinitionDom &def) const { @@ -53,7 +53,7 @@ public: } private: - QString m_name; + TQString m_name; }; @endcode */ @@ -333,14 +333,14 @@ struct Scope{ /**Information about functions.*/ struct AllFunctions{ /**Scope of functions.*/ - QMap<FunctionDom, Scope> relations; + TQMap<FunctionDom, Scope> relations; /**List of functions.*/ FunctionList functionList; }; /**Information about function definitions.*/ struct AllFunctionDefinitions{ /**Scope of function definitions.*/ - QMap<FunctionDefinitionDom, Scope> relations; + TQMap<FunctionDefinitionDom, Scope> relations; /**List of function definitions.*/ FunctionDefinitionList functionList; }; @@ -361,7 +361,7 @@ void processNamespaces(FunctionList &list, const NamespaceDom dom); @param list The list of functions found by this routine. @param dom The class to look for functions. @param relations The scope information.*/ -void processClasses(FunctionList &list, const ClassDom dom, QMap<FunctionDom, Scope> &relations); +void processClasses(FunctionList &list, const ClassDom dom, TQMap<FunctionDom, Scope> &relations); /**Looks for functions in the class and also saves their scope. Used for classes withing a namespace. @@ -369,13 +369,13 @@ Used for classes withing a namespace. @param dom The class to look for functions. @param relations The scope information. @param nsdom The namespace which contains a class.*/ -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); /**Looks for functions in the namespace and also saves their scope. @param list The list of functions found by this routine. @param dom The namespace to look for functions. @param relations The scope information.*/ -void processNamespaces(FunctionList &list, const NamespaceDom dom, QMap<FunctionDom, Scope> &relations); +void processNamespaces(FunctionList &list, const NamespaceDom dom, TQMap<FunctionDom, Scope> &relations); } /**Namespace with utilities to find function definitions in the @ref CodeModel.*/ @@ -394,7 +394,7 @@ void processNamespaces(FunctionDefinitionList &list, const NamespaceDom dom); @param list The list of function definitions found by this routine. @param dom The class to look for function definitions. @param relations The scope information.*/ -void processClasses(FunctionDefinitionList &list, const ClassDom dom, QMap<FunctionDefinitionDom, Scope> &relations); +void processClasses(FunctionDefinitionList &list, const ClassDom dom, TQMap<FunctionDefinitionDom, Scope> &relations); /**Looks for function definitions in the class and also saves their scope. Used for classes withing a namespace. @@ -402,13 +402,13 @@ Used for classes withing a namespace. @param dom The class to look for function definitions . @param relations The scope information. @param nsdom The namespace which contains a class.*/ -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); /**Looks for function definitions in the namespace and also saves their scope. @param list The list of function definitions found by this routine. @param dom The namespace to look for function definitions. @param relations The scope information.*/ -void processNamespaces(FunctionDefinitionList &list, const NamespaceDom dom, QMap<FunctionDefinitionDom, Scope> &relations); +void processNamespaces(FunctionDefinitionList &list, const NamespaceDom dom, TQMap<FunctionDefinitionDom, Scope> &relations); } /** @@ -527,14 +527,14 @@ int findLastVariableLine( ClassDom aClass, CodeModelItem::Access access ); * @return string The representation of an access (e.g. "public"). * @author Jonas Jacobi <j.jacobi@gmx.de> */ -QString accessSpecifierToString( CodeModelItem::Access access ); +TQString accessSpecifierToString( CodeModelItem::Access access ); class CodeModelHelper { private: CodeModel* m_model; FileList m_files; - QString m_fileName; + TQString m_fileName; FunctionDefinitionDom functionDefinitionAt(NamespaceDom ns, int line, int column); |