aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-04-22 16:31:23 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:00 -0300
commitd8430135a0747071d7f047329c841a7ae51c3cd9 (patch)
tree53c32d2353c80308e9b62e3c1bce1bd35bbfabf8
parent20e999b731191a1e427ab7e1183f2b37790678c7 (diff)
Add method setTypeEntry to AbstractMetaFunction.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Araújo <renato.araujo@openbossa.org>
-rw-r--r--abstractmetabuilder.cpp1
-rw-r--r--abstractmetalang.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/abstractmetabuilder.cpp b/abstractmetabuilder.cpp
index 002e90f65..facb15ca5 100644
--- a/abstractmetabuilder.cpp
+++ b/abstractmetabuilder.cpp
@@ -398,6 +398,7 @@ bool AbstractMetaBuilder::build(QIODevice* input)
}
setInclude(funcEntry, func->fileName());
+ metaFunc->setTypeEntry(funcEntry);
m_globalFunctions << metaFunc;
}
diff --git a/abstractmetalang.h b/abstractmetalang.h
index 9cba7e411..e4a81e810 100644
--- a/abstractmetalang.h
+++ b/abstractmetalang.h
@@ -1094,6 +1094,11 @@ public:
{
return m_typeEntry;
}
+
+ void setTypeEntry(FunctionTypeEntry* typeEntry)
+ {
+ m_typeEntry = typeEntry;
+ }
private:
QString m_name;
QString m_originalName;