[[maybe_unused]] \
constexpr inline QFlags<Flags::enum_type>
operator|(Flags::enum_type f1, Flags::enum_type f2)
noexcept \
{ return QFlags<Flags::enum_type>(f1) | f2; } \
[[maybe_unused]] \
constexpr inline QFlags<Flags::enum_type>
operator|(Flags::enum_type f1, QFlags<Flags::enum_type> f2)
noexcept \
{ return f2 | f1; } \
[[maybe_unused]] \
constexpr inline QFlags<Flags::enum_type>
operator&(Flags::enum_type f1, Flags::enum_type f2)
noexcept \
{ return QFlags<Flags::enum_type>(f1) & f2; } \
[[maybe_unused]] \
constexpr inline QFlags<Flags::enum_type>
operator&(Flags::enum_type f1, QFlags<Flags::enum_type> f2)
noexcept \
{ return f2 & f1; } \
[[maybe_unused]] \
constexpr inline QFlags<Flags::enum_type>
operator^(Flags::enum_type f1, Flags::enum_type f2)
noexcept \
{ return QFlags<Flags::enum_type>(f1) ^ f2; } \
[[maybe_unused]] \
constexpr inline QFlags<Flags::enum_type>
operator^(Flags::enum_type f1, QFlags<Flags::enum_type> f2)
noexcept \
{ return f2 ^ f1; } \
constexpr inline void operator+(Flags::enum_type f1, Flags::enum_type f2)
noexcept =
delete; \
constexpr inline void operator+(Flags::enum_type f1, QFlags<Flags::enum_type> f2)
noexcept =
delete; \
constexpr inline void operator+(
int f1, QFlags<Flags::enum_type> f2)
noexcept =
delete; \
constexpr inline void operator-(Flags::enum_type f1, Flags::enum_type f2)
noexcept =
delete; \
constexpr inline void operator-(Flags::enum_type f1, QFlags<Flags::enum_type> f2)
noexcept =
delete; \
constexpr inline void operator-(
int f1, QFlags<Flags::enum_type> f2)
noexcept =
delete; \
constexpr inline void operator+(
int f1, Flags::enum_type f2)
noexcept =
delete; \
constexpr inline void operator+(Flags::enum_type f1,
int f2)
noexcept =
delete; \
constexpr inline void operator-(
int f1, Flags::enum_type f2)
noexcept =
delete; \
constexpr inline void operator-(Flags::enum_type f1,
int f2)
noexcept =
delete; \
QT_DECLARE_TYPESAFE_OPERATORS_FOR_FLAGS_ENUM(
Flags)
QBitArray operator^(const QBitArray &a1, const QBitArray &a2)
constexpr timespec operator+(const timespec &t1, const timespec &t2)
constexpr timespec operator-(const timespec &t1, const timespec &t2)
constexpr QKeyCombination operator|(Qt::Modifier modifier, Qt::Key key) noexcept
static bool operator&(QSortFilterProxyModelPrivate::Direction a, QSortFilterProxyModelPrivate::Direction b)