summaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-09-18 11:17:08 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-09-18 11:53:12 -0300
commit31bf15c779fc5c66c0ed37b557d288dd7911dfa3 (patch)
tree8668d328cc389d50486bac5d9485598a7d0fdb0a /abstractmetabuilder.h
parent2ed8b4dcc030ce0274ea056dd541f48d57629ee8 (diff)
Revert "Fix a bug related to function default values."
This fix bring to much regressions. This reverts commit 752c22056f4ba61961a01819992f9af71a3b0416.
Diffstat (limited to 'abstractmetabuilder.h')
-rw-r--r--abstractmetabuilder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/abstractmetabuilder.h b/abstractmetabuilder.h
index fb40193..4f09791 100644
--- a/abstractmetabuilder.h
+++ b/abstractmetabuilder.h
@@ -117,6 +117,9 @@ 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);