From e486e0bbe2065bbc228f84f93178e0636475021b Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Wed, 20 Jul 2011 11:53:01 -0300 Subject: Added default constructor option for value types. The unit test is in place and the 'value-type' tag documentation was update with information about the 'default-constructor' attribute. Reviewed by Hugo Parente Reviewed by Luciano Wolf --- typesystem.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'typesystem.h') diff --git a/typesystem.h b/typesystem.h index bd99fd6c6..3fcb241fd 100644 --- a/typesystem.h +++ b/typesystem.h @@ -1439,6 +1439,7 @@ public: centry->setCodeSnips(codeSnips()); centry->setTargetLangPackage(targetLangPackage()); centry->setBaseContainerType(baseContainerType()); + centry->setDefaultConstructor(defaultConstructor()); return centry; } @@ -1629,6 +1630,9 @@ public: return m_baseContainerType; } + QString defaultConstructor() const; + void setDefaultConstructor(const QString& defaultConstructor); + bool hasDefaultConstructor() const; private: AddedFunctionList m_addedFunctions; -- cgit v1.2.3