diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-26 21:26:13 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-02-26 21:26:13 -0300 |
commit | 6dbd55084104eea9a3e950456a4bf0d966ee9ac9 (patch) | |
tree | 0a0db526cdf66de75b8dd65d68d1e37beb92f1df /abstractmetabuilder.h | |
parent | 6f8cde0951da369d0b2960d8634ab9cf2a4b08d3 (diff) |
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.
Diffstat (limited to 'abstractmetabuilder.h')
-rw-r--r-- | abstractmetabuilder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/abstractmetabuilder.h b/abstractmetabuilder.h index dc38d3b1a..163067beb 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, |