qt.cfg: Added support for Q_DECLARE_BUILTIN_METATYPE-macro, found by daca@home
This commit is contained in:
parent
b51158db71
commit
ad1bd3ef4c
|
@ -5040,6 +5040,7 @@
|
|||
<define name="Q_DECLARE_LOGGING_CATEGORY(name)" value="extern const QLoggingCategory &name();"/>
|
||||
<define name="Q_DECLARE_OPERATORS_FOR_FLAGS(x)" value=""/>
|
||||
<define name="Q_DECLARE_METATYPE(x)" value=""/>
|
||||
<define name="Q_DECLARE_BUILTIN_METATYPE(TYPE, NAME)" value=""/>
|
||||
<define name="Q_DECLARE_PRIVATE(Class)" value="inline Class##Private* d_func() { return reinterpret_cast<Class##Private*>(qGetPtrHelper(d_ptr)); } inline const Class##Private d_func() const { return reinterpret_cast<const Class##Private *>(qGetPtrHelper(d_ptr)); } friend class Class##Private;"/>
|
||||
<define name="Q_DECLARE_PRIVATE_D(Dptr, Class)" value="inline Class##Private* d_func() { return reinterpret_cast<Class##Private *>(qGetPtrHelper(Dptr)); } inline const Class##Private* d_func() const { return reinterpret_cast<const Class##Private *>(qGetPtrHelper(Dptr)); } friend class Class##Private;"/>
|
||||
<define name="Q_DECLARE_PUBLIC(Class)" value="inline Class##Public* d_func() { return reinterpret_cast<Class##Public*>(qGetPtrHelper(d_ptr)); } inline const Class##Public d_func() const { return reinterpret_cast<const Class##Public *>(qGetPtrHelper(d_ptr)); } friend class Class##Public;"/>
|
||||
|
|
Loading…
Reference in New Issue