From 16aec6877fb3cd4b76cf76988c853529b9b31c42 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Fri, 18 Sep 2009 15:20:19 -0300 Subject: 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. --- abstractmetabuilder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'abstractmetabuilder.h') 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); -- cgit v1.2.3