aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-09-18 15:20:19 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-09-18 15:20:19 -0300
commit16aec6877fb3cd4b76cf76988c853529b9b31c42 (patch)
treeb84f9602337cb37baba7dbcdc8b34e37d5cf91f6 /abstractmetabuilder.h
parentaaf120dfbbcce364f694f985fb2348a9429b2bee (diff)
Fixed bugs related to the strings returned by defaultValue and originalDefaultValue.
- If there are no typesystem modifications, originalDefaultValue will be equals to defautlvalue, so originalDefaultValue will not be the same string found by the C++ parser, it will be usefull only to check if there are some default values modifications.
Diffstat (limited to 'abstractmetabuilder.h')
-rw-r--r--abstractmetabuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/abstractmetabuilder.h b/abstractmetabuilder.h
index 4f0979129..1b66ac5a9 100644
--- a/abstractmetabuilder.h
+++ b/abstractmetabuilder.h
@@ -117,7 +117,7 @@ public:
void setupClonable(AbstractMetaClass *cls);
void setupFunctionDefaults(AbstractMetaFunction *metaFunction, AbstractMetaClass *metaClass);
- QString translateDefaultValue(ArgumentModelItem item, AbstractMetaType *type,
+ QString fixDefaultValue(ArgumentModelItem item, AbstractMetaType *type,
AbstractMetaFunction *fnc, AbstractMetaClass *,
int argumentIndex);
AbstractMetaType *translateType(const TypeInfo &type, bool *ok, bool resolveType = true, bool resolveScope = true);