diff options
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
-rw-r--r-- | src/corelib/global/qglobal.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index c1a6e7a268..84cb8def80 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -539,6 +539,30 @@ static_assert(sizeof(qint64) == 8, "Internal error, qint64 is misdefined"); */ /*! + \fn template <typename Enum> bool operator==(QFlags<Enum> lhs, QFlags<Enum> rhs) + \fn template <typename Enum> bool operator==(QFlags<Enum> lhs, Enum rhs) + \fn template <typename Enum> bool operator==(Enum lhs, QFlags<Enum> rhs) + \since 6.2 + \relates QFlags + + Compares \a lhs and \a rhs for equality; the two arguments are + considered equal if they represent exactly the same value + (bitmask). +*/ + +/*! + \fn template <typename Enum> bool operator!=(QFlags<Enum> lhs, QFlags<Enum> rhs) + \fn template <typename Enum> bool operator!=(QFlags<Enum> lhs, Enum rhs) + \fn template <typename Enum> bool operator!=(Enum lhs, QFlags<Enum> rhs) + \since 6.2 + \relates QFlags + + Compares \a lhs and \a rhs for inequality; the two arguments are + considered different if they don't represent exactly the same value + (bitmask). +*/ + +/*! \macro Q_DISABLE_COPY(Class) \relates QObject |