parent
117eed2255
commit
084c7c284e
|
@ -1333,6 +1333,8 @@
|
|||
<define name="Q_DECL_IMPORT" value=""/>
|
||||
<define name="QT_DECLARE_DEPRECATED_TR_FUNCTIONS(context)" value="static inline QString trUtf8(const char *sourceText, const char *disambiguation = Q_NULLPTR, int n = -1) { return QCoreApplication::translate(#context, sourceText, disambiguation, n); }"/>
|
||||
<define name="Q_DECLARE_FLAGS(x,y)" value=""/>
|
||||
<define name="Q_DECLARE_OPERATORS_FOR_FLAGS(x)" value=""/>
|
||||
<define name="Q_DECLARE_METATYPE(x)" 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_TR_FUNCTIONS(context)" value="public: static inline QString tr(const char *sourceText, const char *disambiguation = Q_NULLPTR, int n = -1) { return QCoreApplication::translate(#context, sourceText, disambiguation, n); } QT_DECLARE_DEPRECATED_TR_FUNCTIONS(context) private:"/>
|
||||
<define name="Q_DISABLE_COPY(C)" value="C(C&);C& operator=(const C&);"/>
|
||||
|
|
Loading…
Reference in New Issue