Mercurial > projects > qtd
diff generator/abstractmetalang.h @ 357:9784459f0750
An attempt (failed due to optlink) to improve locality of declarations exported from QtD executables
Q_CLASSINFO implementation
Now Qtd can be built on Windows
author | Max Samukha <maxter@spambox.com> |
---|---|
date | Wed, 02 Jun 2010 19:38:05 +0300 |
parents | 18bd68f586c6 |
children |
line wrap: on
line diff
--- a/generator/abstractmetalang.h Tue May 25 20:14:04 2010 +0300 +++ b/generator/abstractmetalang.h Wed Jun 02 19:38:05 2010 +0300 @@ -395,7 +395,7 @@ SignalFunction, EmptyFunction, SlotFunction, - GlobalScopeFunction + GlobalScopeFunction, }; enum CompareResult { @@ -415,6 +415,15 @@ NotEqual = 0x00001000 }; + enum Option + { + NoOptions = 0, + DeclaringClass = 0x01, + NoExternNamespace = 0x02 + }; + + typedef QFlags<Option> Options; + AbstractMetaFunction() : m_function_type(NormalFunction), m_type(0), @@ -444,7 +453,7 @@ QString minimalSignature(int reduce = 0) const; QStringList possibleIntrospectionCompatibleSignatures() const; - QString marshalledName(bool classIsOwner = true) const; + QString marshalledName(Options options = NoOptions) const; // true if one or more of the arguments are of QtJambiObject subclasses bool argumentsHaveNativeId() const