From 6dbd55084104eea9a3e950456a4bf0d966ee9ac9 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Fri, 26 Feb 2010 21:26:13 -0300 Subject: Adds the AbstractMetaBuilder::setupExternalConversions(metaClass) method. The code to add the external conversion operators for a class found in another class was moved to its own function, setupExternalConversions, that is called after all classes were traversed. Not all classes are ready when fixReturnTypeOfConversionOperator(metaFunc), the method where the moved code dwelt, is called. --- abstractmetabuilder.h | 1 + 1 file changed, 1 insertion(+) (limited to 'abstractmetabuilder.h') diff --git a/abstractmetabuilder.h b/abstractmetabuilder.h index dc38d3b..163067b 100644 --- a/abstractmetabuilder.h +++ b/abstractmetabuilder.h @@ -128,6 +128,7 @@ public: void setupEquals(AbstractMetaClass *metaClass); void setupComparable(AbstractMetaClass *metaClass); void setupClonable(AbstractMetaClass *cls); + void setupExternalConversion(AbstractMetaClass* cls); void setupFunctionDefaults(AbstractMetaFunction *metaFunction, AbstractMetaClass *metaClass); QString fixDefaultValue(ArgumentModelItem item, AbstractMetaType *type, -- cgit v1.2.3