diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-09 14:49:28 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-09 19:00:00 -0200 |
commit | e363a1d1d2aa2a05139719adc02756766bc92cc1 (patch) | |
tree | b8c5954af58e9306655d9f448094dcad45b4bbfc /typesystem.h | |
parent | f59e7ee17f8be5d29be464e56c0cf901b8e3f023 (diff) |
Fix add-function tag when adding a global function.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'typesystem.h')
-rw-r--r-- | typesystem.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/typesystem.h b/typesystem.h index 635ae43d8..b63db9b7b 100644 --- a/typesystem.h +++ b/typesystem.h @@ -1901,21 +1901,21 @@ public: m_templates[t->name()] = t; } - AddedFunctionList addedFunctions() const + AddedFunctionList globalUserFunctions() const { - return m_addedFunctions; + return m_globalUserFunctions; } - void setAddedFunctions(const AddedFunctionList& addedFunctions) + void addGlobalUserFunctions(const AddedFunctionList& functions) { - m_addedFunctions = addedFunctions; + m_globalUserFunctions << functions; } - AddedFunctionList findAddedFunctions(const QString& name) const; + AddedFunctionList findGlobalUserFunctions(const QString& name) const; - void setFunctionModifications(const FunctionModificationList& functionModifications) + void addGlobalUserFunctionModifications(const FunctionModificationList& functionModifications) { - m_functionMods = functionModifications; + m_functionMods << functionModifications; } - void addFunctionModification(const FunctionModification& functionModification) + void addGlobalUserFunctionModification(const FunctionModification& functionModification) { m_functionMods << functionModification; } @@ -1977,7 +1977,7 @@ private: TemplateEntryHash m_templates; QStringList m_suppressedWarnings; - AddedFunctionList m_addedFunctions; + AddedFunctionList m_globalUserFunctions; FunctionModificationList m_functionMods; QStringList m_requiredTargetImports; |