-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathlqt5.lqt
85 lines (68 loc) · 1.89 KB
/
lqt5.lqt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// TODO: Q_DECLARE_FLAGS - QFlags<T>
#define __cplusplus 1
#define __STDC__
// Qt
#define Q_DECL_NOTHROW
#define Q_DECL_NOEXCEPT
#define Q_DECL_EQ_DELETE
#define Q_DECL_CONSTEXPR
#define Q_DECL_RELAXED_CONSTEXPR
#define Q_DECL_DEPRECATED
#define Q_REQUIRED_RESULT
#define QT_ASCII_CAST_WARN
#define QT_DEPRECATED
#define Q_DECL_CONST_FUNCTION
#define Q_DECLARE_SHARED(a)
#define QT_DEPRECATED_X(a)
#define Q_ATTRIBUTE_FORMAT_PRINTF(a)
#define Q_DECLARE_METATYPE(a)
#define Q_REVISION(a)
#define QT_CONFIG(a) 1
#define Q_PRIVATE_PROPERTY(a)
#define Q_CLASSINFO(a)
#define Q_INTERFACES(a)
#define QDOC_PROPERTY(a)
#define Q_DECLARE_PRIVATE_D(a)
#define Q_INLINE_TEMPLATE
#define Q_OVERRIDE(a)
#define DESIGNABLE(a)
#define QT_FASTCALL
#define Q_DECL_CONST_FUNCTION const
#define Q_SLOTS slots
#define Q_SIGNALS signals
// not yet supported
#define Q_DECL_UNUSED
#define Q_ENUM(a)
#define Q_FLAG(a)
#define inline
#define noexcept
#define constexpr const
#define Q_FLAGS(a)
// #define Q_PRIVATE_SLOT(a, b)
#define Q_DECLARE_INTERFACE(a,b)
// #define Q_INTERFACES(a)
// #define Q_OVERRIDE(a)
// #define Q_OS_OS2
// #define Q_NO_USING_KEYWORD
#define Q_DECLARE_PRIVATE(a) Q_DISABLE_COPY(a)
#define Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS)
// There are symbols in Qt that exist in Debug but
// not in release
#define QT_NO_DEBUG
// #define QT_JAMBI_RUN
// #define std::move(__VA_ARGS__)
// Fix cpptoxml (don't know nullptr)
#define nullptr NULL
#define override
// for QObject::tr function
#define QT_NO_TRANSLATION
#define LQT_OBJECT \
public: \
virtual void *qt_metacast(const char *); \
virtual int qt_metacall(QMetaObject::Call, int, void **); \
static inline QString tr(const char *s, const char *c = nullptr, int n = -1); \
QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1); \
private:
#define Q_GADGET \
public: \
static const QMetaObject staticMetaObject;