#include <QtCore/qsharedpointer.h>
#include <QtCore/qtypeinfo.h>
Go to the source code of this file.
◆ DECLARE_COMPARE_SET
#define DECLARE_COMPARE_SET |
( |
|
T1, |
|
|
|
A1, |
|
|
|
T2, |
|
|
|
A2 |
|
) |
| |
Value:
{ return A1 == A2; } \
{ return A1 != A2; }
template< typename Enum > bool operator!=(Enum lhs, QFlags< Enum > rhs)
template< typename Enum > bool operator==(Enum lhs, QFlags< Enum > rhs)
Definition at line 93 of file qpointer.h.
◆ DECLARE_TEMPLATE_COMPARE_SET
#define DECLARE_TEMPLATE_COMPARE_SET |
( |
|
T1, |
|
|
|
A1, |
|
|
|
T2, |
|
|
|
A2 |
|
) |
| |
Value: template <typename X> \
{ return A1 == A2; } \
template <typename X> \
{ return A1 != A2; }
Definition at line 99 of file qpointer.h.
◆ Q_DECLARE_TYPEINFO_BODY()
◆ qPointerFromVariant()
◆ swap()