summaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-09-10 11:17:11 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-09-15 14:01:38 -0300
commit752c22056f4ba61961a01819992f9af71a3b0416 (patch)
treede1531dc76801c6d7fdc6688be3879b920f95975 /abstractmetabuilder.h
parent2bf0c409590c15b72a960d693fad4ac48ce4b8a6 (diff)
Fix a bug related to function default values.
ApiExtractor tries to modify the defaultValue every time, so then return value of originalDefaultValue() if diferent from the return value of defaultValue() when they dont need to be. Unit test included.
Diffstat (limited to 'abstractmetabuilder.h')
-rw-r--r--abstractmetabuilder.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/abstractmetabuilder.h b/abstractmetabuilder.h
index 4f09791..fb40193 100644
--- a/abstractmetabuilder.h
+++ b/abstractmetabuilder.h
@@ -117,9 +117,6 @@ public:
void setupClonable(AbstractMetaClass *cls);
void setupFunctionDefaults(AbstractMetaFunction *metaFunction, AbstractMetaClass *metaClass);
- QString translateDefaultValue(ArgumentModelItem item, AbstractMetaType *type,
- AbstractMetaFunction *fnc, AbstractMetaClass *,
- int argumentIndex);
AbstractMetaType *translateType(const TypeInfo &type, bool *ok, bool resolveType = true, bool resolveScope = true);
void decideUsagePattern(AbstractMetaType *type);