Replace discouraged Q_MOVABLE_TYPE by Q_RELOCATABLE_TYPE
Q_MOVABLE_TYPE was conceived before C++ had move semantics. Now, with move semantics, its name is misleading. Q_RELOCATABLE_TYPE was introduced as a synonym to Q_MOVABLE_TYPE. Usage of Q_MOVABLE_TYPE is discouraged now. This patch replaces all usages of Q_MOVABLE_TYPE by Q_RELOCATABLE_TYPE in QtBase. As the two are synonymous, this patch should have no impact on users. Pick-to: 6.0 Change-Id: Ie653984363198c1aeb1f70f8e0fa189aae38eb5c Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
This commit is contained in:
parent
5e84023344
commit
0440614af0
@ -291,7 +291,7 @@ public:
|
|||||||
QString shellQuote(const QString &str) const;
|
QString shellQuote(const QString &str) const;
|
||||||
virtual ProKey fullTargetVariable() const;
|
virtual ProKey fullTargetVariable() const;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(MakefileGenerator::Compiler, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(MakefileGenerator::Compiler, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_OPERATORS_FOR_FLAGS(MakefileGenerator::FileFixifyTypes)
|
Q_DECLARE_OPERATORS_FOR_FLAGS(MakefileGenerator::FileFixifyTypes)
|
||||||
|
|
||||||
inline void MakefileGenerator::setNoIO(bool o)
|
inline void MakefileGenerator::setNoIO(bool o)
|
||||||
|
@ -1002,7 +1002,7 @@ public:
|
|||||||
const VCFilter &filterByName(const QString &name) const;
|
const VCFilter &filterByName(const QString &name) const;
|
||||||
const VCFilter &filterForExtraCompiler(const QString &compilerName) const;
|
const VCFilter &filterForExtraCompiler(const QString &compilerName) const;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(VCProjectSingleConfig, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(VCProjectSingleConfig, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
// Tree & Flat view of files --------------------------------------------------
|
// Tree & Flat view of files --------------------------------------------------
|
||||||
class VCFilter;
|
class VCFilter;
|
||||||
|
@ -190,7 +190,7 @@ private:
|
|||||||
friend QString operator+(const ProString &one, const ProString &two);
|
friend QString operator+(const ProString &one, const ProString &two);
|
||||||
friend class ProKey;
|
friend class ProKey;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(ProString, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(ProString, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
|
|
||||||
class ProKey : public ProString {
|
class ProKey : public ProString {
|
||||||
@ -222,7 +222,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
ProKey(const ProString &other);
|
ProKey(const ProString &other);
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(ProKey, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(ProKey, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
template <> struct QConcatenable<ProString> : private QAbstractConcatenable
|
template <> struct QConcatenable<ProString> : private QAbstractConcatenable
|
||||||
{
|
{
|
||||||
@ -343,7 +343,7 @@ public:
|
|||||||
{ return contains(ProString(str), cs); }
|
{ return contains(ProString(str), cs); }
|
||||||
bool contains(const char *str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const;
|
bool contains(const char *str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(ProStringList, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(ProStringList, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline ProStringList operator+(const ProStringList &one, const ProStringList &two)
|
inline ProStringList operator+(const ProStringList &one, const ProStringList &two)
|
||||||
{ ProStringList ret = one; ret += two; return ret; }
|
{ ProStringList ret = one; ret += two; return ret; }
|
||||||
@ -496,7 +496,7 @@ private:
|
|||||||
int m_offset;
|
int m_offset;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(ProFunctionDef, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(ProFunctionDef, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
struct ProFunctionDefs {
|
struct ProFunctionDefs {
|
||||||
QHash<ProKey, ProFunctionDef> testFunctions;
|
QHash<ProKey, ProFunctionDef> testFunctions;
|
||||||
|
@ -107,7 +107,7 @@ extern QMakeStatics statics;
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QMakeInternal::QMakeBuiltin, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMakeInternal::QMakeBuiltin, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -230,7 +230,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if !defined(__GNUC__) || __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)
|
#if !defined(__GNUC__) || __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)
|
||||||
Q_DECLARE_TYPEINFO(QMakeParser::BlockScope, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMakeParser::BlockScope, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QMakeParser::Context, Q_PRIMITIVE_TYPE);
|
Q_DECLARE_TYPEINFO(QMakeParser::Context, Q_PRIMITIVE_TYPE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ struct SedSubst {
|
|||||||
QRegularExpression from;
|
QRegularExpression from;
|
||||||
QString to;
|
QString to;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(SedSubst, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(SedSubst, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
static int doSed(int argc, char **argv)
|
static int doSed(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
@ -553,7 +553,7 @@ private:
|
|||||||
int *data;
|
int *data;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(Point2D, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(Point2D, Q_RELOCATABLE_TYPE);
|
||||||
//! [39]
|
//! [39]
|
||||||
|
|
||||||
|
|
||||||
|
@ -1096,7 +1096,7 @@ struct QMessagePattern
|
|||||||
static QBasicMutex mutex;
|
static QBasicMutex mutex;
|
||||||
};
|
};
|
||||||
#ifdef QLOGGING_HAVE_BACKTRACE
|
#ifdef QLOGGING_HAVE_BACKTRACE
|
||||||
Q_DECLARE_TYPEINFO(QMessagePattern::BacktraceParams, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMessagePattern::BacktraceParams, Q_RELOCATABLE_TYPE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QBasicMutex QMessagePattern::mutex;
|
QBasicMutex QMessagePattern::mutex;
|
||||||
|
@ -1919,7 +1919,7 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QKeyCombination, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QKeyCombination, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
constexpr QKeyCombination operator|(Qt::Modifier modifier, Qt::Key key) noexcept
|
constexpr QKeyCombination operator|(Qt::Modifier modifier, Qt::Key key) noexcept
|
||||||
{
|
{
|
||||||
|
@ -188,7 +188,7 @@ Q_DECLARE_TYPEINFO_BODY(QFlags<T>, Q_PRIMITIVE_TYPE);
|
|||||||
namespace as Qt for this to work.
|
namespace as Qt for this to work.
|
||||||
|
|
||||||
If the type was already released without Q_DECLARE_SHARED applied,
|
If the type was already released without Q_DECLARE_SHARED applied,
|
||||||
_and_ without an explicit Q_DECLARE_TYPEINFO(type, Q_MOVABLE_TYPE),
|
_and_ without an explicit Q_DECLARE_TYPEINFO(type, Q_RELOCATABLE_TYPE),
|
||||||
then use Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(type) to mark the
|
then use Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(type) to mark the
|
||||||
type shared (incl. swap()), without marking it movable (which
|
type shared (incl. swap()), without marking it movable (which
|
||||||
would change the memory layout of QList, a BiC change.
|
would change the memory layout of QList, a BiC change.
|
||||||
@ -199,9 +199,9 @@ Q_DECLARE_TYPEINFO(TYPE, FLAGS); \
|
|||||||
inline void swap(TYPE &value1, TYPE &value2) \
|
inline void swap(TYPE &value1, TYPE &value2) \
|
||||||
noexcept(noexcept(value1.swap(value2))) \
|
noexcept(noexcept(value1.swap(value2))) \
|
||||||
{ value1.swap(value2); }
|
{ value1.swap(value2); }
|
||||||
#define Q_DECLARE_SHARED(TYPE) Q_DECLARE_SHARED_IMPL(TYPE, Q_MOVABLE_TYPE)
|
#define Q_DECLARE_SHARED(TYPE) Q_DECLARE_SHARED_IMPL(TYPE, Q_RELOCATABLE_TYPE)
|
||||||
#define Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(TYPE) \
|
#define Q_DECLARE_SHARED_NOT_MOVABLE_UNTIL_QT6(TYPE) \
|
||||||
Q_DECLARE_SHARED_IMPL(TYPE, Q_MOVABLE_TYPE)
|
Q_DECLARE_SHARED_IMPL(TYPE, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
namespace QTypeTraits
|
namespace QTypeTraits
|
||||||
{
|
{
|
||||||
|
@ -138,7 +138,7 @@ public:
|
|||||||
bool operator==(const QFileSystemWatcherPathKey &other) const { return !compare(other, Qt::CaseInsensitive); }
|
bool operator==(const QFileSystemWatcherPathKey &other) const { return !compare(other, Qt::CaseInsensitive); }
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QFileSystemWatcherPathKey, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QFileSystemWatcherPathKey, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline size_t qHash(const QFileSystemWatcherPathKey &key) { return qHash(key.toCaseFolded()); }
|
inline size_t qHash(const QFileSystemWatcherPathKey &key) { return qHash(key.toCaseFolded()); }
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_OPERATORS_FOR_FLAGS(QLoggingRule::PatternFlags)
|
Q_DECLARE_OPERATORS_FOR_FLAGS(QLoggingRule::PatternFlags)
|
||||||
Q_DECLARE_TYPEINFO(QLoggingRule, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QLoggingRule, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_AUTOTEST_EXPORT QLoggingSettingsParser
|
class Q_AUTOTEST_EXPORT QLoggingSettingsParser
|
||||||
{
|
{
|
||||||
|
@ -99,7 +99,7 @@ inline bool operator<(const QProcEnvKey &a, const QProcEnvKey &b)
|
|||||||
return a.compare(b, Qt::CaseInsensitive) < 0;
|
return a.compare(b, Qt::CaseInsensitive) < 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QProcEnvKey, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QProcEnvKey, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
typedef QString QProcEnvValue;
|
typedef QString QProcEnvValue;
|
||||||
#else
|
#else
|
||||||
@ -133,7 +133,7 @@ public:
|
|||||||
mutable QByteArray byteValue;
|
mutable QByteArray byteValue;
|
||||||
mutable QString stringValue;
|
mutable QString stringValue;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QProcEnvValue, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QProcEnvValue, Q_RELOCATABLE_TYPE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class QProcessEnvironmentPrivate: public QSharedData
|
class QProcessEnvironmentPrivate: public QSharedData
|
||||||
|
@ -194,7 +194,7 @@ static QString cleanPath(const QString &_path)
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QResourceRoot, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QResourceRoot, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
typedef QList<QResourceRoot*> ResourceList;
|
typedef QList<QResourceRoot*> ResourceList;
|
||||||
struct QResourceGlobalData
|
struct QResourceGlobalData
|
||||||
|
@ -108,7 +108,7 @@ struct QConfFileCustomFormat
|
|||||||
QSettings::WriteFunc writeFunc;
|
QSettings::WriteFunc writeFunc;
|
||||||
Qt::CaseSensitivity caseSensitivity;
|
Qt::CaseSensitivity caseSensitivity;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QConfFileCustomFormat, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QConfFileCustomFormat, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
typedef QHash<QString, QConfFile *> ConfFileHash;
|
typedef QHash<QString, QConfFile *> ConfFileHash;
|
||||||
typedef QCache<QString, QConfFile> ConfFileCache;
|
typedef QCache<QString, QConfFile> ConfFileCache;
|
||||||
@ -1715,7 +1715,7 @@ public:
|
|||||||
|
|
||||||
int position;
|
int position;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSettingsIniKey, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSettingsIniKey, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
static bool operator<(const QSettingsIniKey &k1, const QSettingsIniKey &k2)
|
static bool operator<(const QSettingsIniKey &k1, const QSettingsIniKey &k2)
|
||||||
{
|
{
|
||||||
@ -1734,7 +1734,7 @@ struct QSettingsIniSection
|
|||||||
inline QSettingsIniSection() : position(-1) {}
|
inline QSettingsIniSection() : position(-1) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QSettingsIniSection, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSettingsIniSection, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
typedef QMap<QString, QSettingsIniSection> IniMap;
|
typedef QMap<QString, QSettingsIniSection> IniMap;
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ private:
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QSettingsKey, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSettingsKey, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
typedef QMap<QSettingsKey, QByteArray> UnparsedSettingsMap;
|
typedef QMap<QSettingsKey, QByteArray> UnparsedSettingsMap;
|
||||||
typedef QMap<QSettingsKey, QVariant> ParsedSettingsMap;
|
typedef QMap<QSettingsKey, QVariant> ParsedSettingsMap;
|
||||||
@ -134,7 +134,7 @@ public:
|
|||||||
int num;
|
int num;
|
||||||
int maxNum;
|
int maxNum;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSettingsGroup, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSettingsGroup, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline QString QSettingsGroup::toString() const
|
inline QString QSettingsGroup::toString() const
|
||||||
{
|
{
|
||||||
|
@ -71,7 +71,7 @@ public:
|
|||||||
void clearData() noexcept { m_data.clear(); }
|
void clearData() noexcept { m_data.clear(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QModelRoleData, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QModelRoleData, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QModelRoleDataSpan;
|
class QModelRoleDataSpan;
|
||||||
|
|
||||||
@ -151,7 +151,7 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QModelRoleDataSpan, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QModelRoleDataSpan, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QAbstractItemModel;
|
class QAbstractItemModel;
|
||||||
class QPersistentModelIndex;
|
class QPersistentModelIndex;
|
||||||
@ -196,7 +196,7 @@ private:
|
|||||||
quintptr i;
|
quintptr i;
|
||||||
const QAbstractItemModel *m;
|
const QAbstractItemModel *m;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QModelIndex, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QModelIndex, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
#ifndef QT_NO_DEBUG_STREAM
|
#ifndef QT_NO_DEBUG_STREAM
|
||||||
Q_CORE_EXPORT QDebug operator<<(QDebug, const QModelIndex &);
|
Q_CORE_EXPORT QDebug operator<<(QDebug, const QModelIndex &);
|
||||||
|
@ -152,7 +152,7 @@ public:
|
|||||||
static bool isVariantLessThan(const QVariant &left, const QVariant &right,
|
static bool isVariantLessThan(const QVariant &left, const QVariant &right,
|
||||||
Qt::CaseSensitivity cs = Qt::CaseSensitive, bool isLocaleAware = false);
|
Qt::CaseSensitivity cs = Qt::CaseSensitive, bool isLocaleAware = false);
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QAbstractItemModelPrivate::Change, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QAbstractItemModelPrivate::Change, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
QPersistentModelIndex tl, br;
|
QPersistentModelIndex tl, br;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QItemSelectionRange, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QItemSelectionRange, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QItemSelection;
|
class QItemSelection;
|
||||||
class QItemSelectionModelPrivate;
|
class QItemSelectionModelPrivate;
|
||||||
|
@ -198,9 +198,9 @@ inline QVariantRef<QAssociativeIterator> &QVariantRef<QAssociativeIterator>::ope
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QAssociativeIterable, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QAssociativeIterable, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QAssociativeIterable::iterator, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QAssociativeIterable::iterator, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QAssociativeIterable::const_iterator, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QAssociativeIterable::const_iterator, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ public:
|
|||||||
void start(int msec, Qt::TimerType timerType, QObject *obj);
|
void start(int msec, Qt::TimerType timerType, QObject *obj);
|
||||||
void stop();
|
void stop();
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QBasicTimer, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QBasicTimer, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline void swap(QBasicTimer &lhs, QBasicTimer &rhs) noexcept { lhs.swap(rhs); }
|
inline void swap(QBasicTimer &lhs, QBasicTimer &rhs) noexcept { lhs.swap(rhs); }
|
||||||
|
|
||||||
|
@ -213,7 +213,7 @@ private:
|
|||||||
friend bool operator!=(const QMetaMethod &m1, const QMetaMethod &m2) noexcept
|
friend bool operator!=(const QMetaMethod &m1, const QMetaMethod &m2) noexcept
|
||||||
{ return !(m1 == m2); }
|
{ return !(m1 == m2); }
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QMetaMethod, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMetaMethod, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_CORE_EXPORT QMetaEnum
|
class Q_CORE_EXPORT QMetaEnum
|
||||||
{
|
{
|
||||||
@ -270,7 +270,7 @@ private:
|
|||||||
friend struct QMetaObject;
|
friend struct QMetaObject;
|
||||||
friend struct QMetaObjectPrivate;
|
friend struct QMetaObjectPrivate;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QMetaEnum, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMetaEnum, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_CORE_EXPORT QMetaProperty
|
class Q_CORE_EXPORT QMetaProperty
|
||||||
{
|
{
|
||||||
@ -378,7 +378,7 @@ private:
|
|||||||
Data data;
|
Data data;
|
||||||
friend struct QMetaObject;
|
friend struct QMetaObject;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QMetaClassInfo, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMetaClassInfo, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ private:
|
|||||||
int _type;
|
int _type;
|
||||||
QByteArray _name;
|
QByteArray _name;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QArgumentType, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QArgumentType, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
typedef QVarLengthArray<QArgumentType, 10> QArgumentTypeArray;
|
typedef QVarLengthArray<QArgumentType, 10> QArgumentTypeArray;
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ public:
|
|||||||
return signature.left(qMax(signature.indexOf('('), 0));
|
return signature.left(qMax(signature.indexOf('('), 0));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QMetaMethodBuilderPrivate, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMetaMethodBuilderPrivate, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QMetaPropertyBuilderPrivate
|
class QMetaPropertyBuilderPrivate
|
||||||
{
|
{
|
||||||
@ -183,7 +183,7 @@ public:
|
|||||||
flags &= ~f;
|
flags &= ~f;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QMetaPropertyBuilderPrivate, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMetaPropertyBuilderPrivate, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QMetaEnumBuilderPrivate
|
class QMetaEnumBuilderPrivate
|
||||||
{
|
{
|
||||||
@ -200,7 +200,7 @@ public:
|
|||||||
QList<QByteArray> keys;
|
QList<QByteArray> keys;
|
||||||
QList<int> values;
|
QList<int> values;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QMetaEnumBuilderPrivate, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMetaEnumBuilderPrivate, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QMetaObjectBuilderPrivate
|
class QMetaObjectBuilderPrivate
|
||||||
{
|
{
|
||||||
|
@ -709,7 +709,7 @@ public:
|
|||||||
inline void first(void *dataPtr) const { _getFirst(&_pair, dataPtr); }
|
inline void first(void *dataPtr) const { _getFirst(&_pair, dataPtr); }
|
||||||
inline void second(void *dataPtr) const { _getSecond(&_pair, dataPtr); }
|
inline void second(void *dataPtr) const { _getSecond(&_pair, dataPtr); }
|
||||||
};
|
};
|
||||||
QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_MOVABLE_TYPE)
|
QT_METATYPE_PRIVATE_DECLARE_TYPEINFO(QPairVariantInterfaceImpl, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
template<typename From>
|
template<typename From>
|
||||||
struct QPairVariantInterfaceConvertFunctor;
|
struct QPairVariantInterfaceConvertFunctor;
|
||||||
|
@ -58,7 +58,7 @@ struct QMimeDataStruct
|
|||||||
QString format;
|
QString format;
|
||||||
QVariant data;
|
QVariant data;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QMimeDataStruct, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMimeDataStruct, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QMimeDataPrivate : public QObjectPrivate
|
class QMimeDataPrivate : public QObjectPrivate
|
||||||
{
|
{
|
||||||
|
@ -387,7 +387,7 @@ public:
|
|||||||
QBindingStorage bindingStorage;
|
QBindingStorage bindingStorage;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QObjectPrivate::ConnectionList, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QObjectPrivate::ConnectionList, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Catch mixing of incompatible library versions.
|
Catch mixing of incompatible library versions.
|
||||||
@ -498,8 +498,8 @@ bool QObjectPrivate::disconnect(const typename QtPrivate::FunctionPointer< Func1
|
|||||||
&SignalType::Object::staticMetaObject);
|
&SignalType::Object::staticMetaObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QObjectPrivate::Connection, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QObjectPrivate::Connection, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QObjectPrivate::Sender, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QObjectPrivate::Sender, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QSemaphore;
|
class QSemaphore;
|
||||||
class Q_CORE_EXPORT QAbstractMetaCallEvent : public QEvent
|
class Q_CORE_EXPORT QAbstractMetaCallEvent : public QEvent
|
||||||
|
@ -112,7 +112,7 @@ public:
|
|||||||
#undef DECLARE_COMPARE_SET
|
#undef DECLARE_COMPARE_SET
|
||||||
#undef DECLARE_TEMPLATE_COMPARE_SET
|
#undef DECLARE_TEMPLATE_COMPARE_SET
|
||||||
};
|
};
|
||||||
template <class T> Q_DECLARE_TYPEINFO_BODY(QPointer<T>, Q_MOVABLE_TYPE);
|
template <class T> Q_DECLARE_TYPEINFO_BODY(QPointer<T>, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
QPointer<T>
|
QPointer<T>
|
||||||
|
@ -180,9 +180,9 @@ inline QVariantRef<QSequentialIterator> &QVariantRef<QSequentialIterator>::opera
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QSequentialIterable, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSequentialIterable, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QSequentialIterable::iterator, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSequentialIterable::iterator, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QSequentialIterable::const_iterator, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSequentialIterable::const_iterator, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ public:
|
|||||||
{ return !operator==(other); }
|
{ return !operator==(other); }
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QXmlStreamAttribute, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QXmlStreamAttribute, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
// We export each out-of-line method invidually to prevent MSVC from
|
// We export each out-of-line method invidually to prevent MSVC from
|
||||||
// exporting the whole QList class.
|
// exporting the whole QList class.
|
||||||
@ -154,7 +154,7 @@ public:
|
|||||||
{ return !operator==(other); }
|
{ return !operator==(other); }
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QXmlStreamNamespaceDeclaration, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QXmlStreamNamespaceDeclaration, Q_RELOCATABLE_TYPE);
|
||||||
typedef QList<QXmlStreamNamespaceDeclaration> QXmlStreamNamespaceDeclarations;
|
typedef QList<QXmlStreamNamespaceDeclaration> QXmlStreamNamespaceDeclarations;
|
||||||
|
|
||||||
class Q_CORE_EXPORT QXmlStreamNotationDeclaration {
|
class Q_CORE_EXPORT QXmlStreamNotationDeclaration {
|
||||||
@ -175,7 +175,7 @@ public:
|
|||||||
{ return !operator==(other); }
|
{ return !operator==(other); }
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QXmlStreamNotationDeclaration, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QXmlStreamNotationDeclaration, Q_RELOCATABLE_TYPE);
|
||||||
typedef QList<QXmlStreamNotationDeclaration> QXmlStreamNotationDeclarations;
|
typedef QList<QXmlStreamNotationDeclaration> QXmlStreamNotationDeclarations;
|
||||||
|
|
||||||
class Q_CORE_EXPORT QXmlStreamEntityDeclaration {
|
class Q_CORE_EXPORT QXmlStreamEntityDeclaration {
|
||||||
@ -201,7 +201,7 @@ public:
|
|||||||
{ return !operator==(other); }
|
{ return !operator==(other); }
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QXmlStreamEntityDeclaration, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QXmlStreamEntityDeclaration, Q_RELOCATABLE_TYPE);
|
||||||
typedef QList<QXmlStreamEntityDeclaration> QXmlStreamEntityDeclarations;
|
typedef QList<QXmlStreamEntityDeclaration> QXmlStreamEntityDeclarations;
|
||||||
|
|
||||||
class Q_CORE_EXPORT QXmlStreamEntityResolver
|
class Q_CORE_EXPORT QXmlStreamEntityResolver
|
||||||
|
@ -638,7 +638,7 @@ private:
|
|||||||
char16_t ucs;
|
char16_t ucs;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QChar, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QChar, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
#ifndef QT_NO_DATASTREAM
|
#ifndef QT_NO_DATASTREAM
|
||||||
Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
|
Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
|
||||||
|
@ -135,7 +135,7 @@ private:
|
|||||||
friend class QSystemLocaleSingleton;
|
friend class QSystemLocaleSingleton;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSystemLocale::QueryType, Q_PRIMITIVE_TYPE);
|
Q_DECLARE_TYPEINFO(QSystemLocale::QueryType, Q_PRIMITIVE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QSystemLocale::CurrencyToStringArgument, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSystemLocale::CurrencyToStringArgument, Q_RELOCATABLE_TYPE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if QT_CONFIG(icu)
|
#if QT_CONFIG(icu)
|
||||||
|
@ -4456,7 +4456,7 @@ public:
|
|||||||
qsizetype length;
|
qsizetype length;
|
||||||
QStringView string;
|
QStringView string;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(qt_section_chunk, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(qt_section_chunk, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
static QString extractSections(const QList<qt_section_chunk> §ions, qsizetype start, qsizetype end,
|
static QString extractSections(const QList<qt_section_chunk> §ions, qsizetype start, qsizetype end,
|
||||||
QString::SectionFlags flags)
|
QString::SectionFlags flags)
|
||||||
|
@ -311,7 +311,7 @@ private:
|
|||||||
qsizetype m_size;
|
qsizetype m_size;
|
||||||
const char *m_data;
|
const char *m_data;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QLatin1String, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QLatin1String, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
// Qt 4.x compatibility
|
// Qt 4.x compatibility
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ public:
|
|||||||
: receiver(r), event(e), priority(p)
|
: receiver(r), event(e), priority(p)
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QPostEvent, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QPostEvent, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline bool operator<(const QPostEvent &first, const QPostEvent &second)
|
inline bool operator<(const QPostEvent &first, const QPostEvent &second)
|
||||||
{
|
{
|
||||||
|
@ -160,7 +160,7 @@ private:
|
|||||||
friend Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QDate &);
|
friend Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QDate &);
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QDate, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QDate, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_CORE_EXPORT QTime
|
class Q_CORE_EXPORT QTime
|
||||||
{
|
{
|
||||||
@ -230,7 +230,7 @@ private:
|
|||||||
friend Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QTime &);
|
friend Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QTime &);
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QTime, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTime, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QDateTimePrivate;
|
class QDateTimePrivate;
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ private:
|
|||||||
QSharedDataPointer<QTimeZonePrivate> d;
|
QSharedDataPointer<QTimeZonePrivate> d;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QTimeZone::OffsetData, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTimeZone::OffsetData, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_SHARED(QTimeZone)
|
Q_DECLARE_SHARED(QTimeZone)
|
||||||
|
|
||||||
#ifndef QT_NO_DATASTREAM
|
#ifndef QT_NO_DATASTREAM
|
||||||
|
@ -168,7 +168,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
QByteArray m_id;
|
QByteArray m_id;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QTimeZonePrivate::Data, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTimeZonePrivate::Data, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
template<> QTimeZonePrivate *QSharedDataPointer<QTimeZonePrivate>::clone();
|
template<> QTimeZonePrivate *QSharedDataPointer<QTimeZonePrivate>::clone();
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ public:
|
|||||||
//! True if parse() needs to be called
|
//! True if parse() needs to be called
|
||||||
bool needsParsing;
|
bool needsParsing;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QCommandLineParserPrivate::PositionalArgumentDefinition, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QCommandLineParserPrivate::PositionalArgumentDefinition, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QStringList QCommandLineParserPrivate::aliases(const QString &optionName) const
|
QStringList QCommandLineParserPrivate::aliases(const QString &optionName) const
|
||||||
{
|
{
|
||||||
|
@ -89,7 +89,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
QPoint pt1, pt2;
|
QPoint pt1, pt2;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QLine, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QLine, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* class QLine inline members
|
* class QLine inline members
|
||||||
@ -274,7 +274,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
QPointF pt1, pt2;
|
QPointF pt1, pt2;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QLineF, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QLineF, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* class QLineF inline members
|
* class QLineF inline members
|
||||||
|
@ -112,7 +112,7 @@ private:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QMargins, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMargins, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
QMargins stream functions
|
QMargins stream functions
|
||||||
@ -361,7 +361,7 @@ private:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QMarginsF, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMarginsF, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
QMarginsF stream functions
|
QMarginsF stream functions
|
||||||
|
@ -129,7 +129,7 @@ private:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QPoint, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QPoint, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
QPoint stream functions
|
QPoint stream functions
|
||||||
@ -323,7 +323,7 @@ private:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QPointF, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QPointF, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
QPointF stream functions
|
QPointF stream functions
|
||||||
|
@ -164,7 +164,7 @@ private:
|
|||||||
int x2;
|
int x2;
|
||||||
int y2;
|
int y2;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QRect, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRect, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
@ -625,7 +625,7 @@ private:
|
|||||||
qreal w;
|
qreal w;
|
||||||
qreal h;
|
qreal h;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QRectF, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRectF, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
@ -267,7 +267,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_SHARED(QRingChunk)
|
Q_DECLARE_SHARED(QRingChunk)
|
||||||
Q_DECLARE_TYPEINFO(QRingBuffer, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRingBuffer, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -293,8 +293,8 @@ size_t qHash(const QExplicitlySharedDataPointer<T> &ptr, size_t seed = 0) noexce
|
|||||||
return qHash(ptr.data(), seed);
|
return qHash(ptr.data(), seed);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T> Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer<T>, Q_MOVABLE_TYPE);
|
template<typename T> Q_DECLARE_TYPEINFO_BODY(QSharedDataPointer<T>, Q_RELOCATABLE_TYPE);
|
||||||
template<typename T> Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer<T>, Q_MOVABLE_TYPE);
|
template<typename T> Q_DECLARE_TYPEINFO_BODY(QExplicitlySharedDataPointer<T>, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
#define QT_DECLARE_QSDP_SPECIALIZATION_DTOR(Class) \
|
#define QT_DECLARE_QSDP_SPECIALIZATION_DTOR(Class) \
|
||||||
template<> QSharedDataPointer<Class>::~QSharedDataPointer();
|
template<> QSharedDataPointer<Class>::~QSharedDataPointer();
|
||||||
|
@ -946,8 +946,8 @@ std::shared_ptr<X> qSharedPointerObjectCast(std::shared_ptr<T> &&src)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
template<typename T> Q_DECLARE_TYPEINFO_BODY(QWeakPointer<T>, Q_MOVABLE_TYPE);
|
template<typename T> Q_DECLARE_TYPEINFO_BODY(QWeakPointer<T>, Q_RELOCATABLE_TYPE);
|
||||||
template<typename T> Q_DECLARE_TYPEINFO_BODY(QSharedPointer<T>, Q_MOVABLE_TYPE);
|
template<typename T> Q_DECLARE_TYPEINFO_BODY(QSharedPointer<T>, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
@ -113,7 +113,7 @@ private:
|
|||||||
int wd;
|
int wd;
|
||||||
int ht;
|
int ht;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSize, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSize, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
QSize stream functions
|
QSize stream functions
|
||||||
@ -290,7 +290,7 @@ private:
|
|||||||
qreal wd;
|
qreal wd;
|
||||||
qreal ht;
|
qreal ht;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSizeF, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSizeF, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
@ -303,7 +303,7 @@ private:
|
|||||||
friend Q_CORE_EXPORT size_t qHash(const QVersionNumber &key, size_t seed);
|
friend Q_CORE_EXPORT size_t qHash(const QVersionNumber &key, size_t seed);
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QVersionNumber, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QVersionNumber, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
#ifndef QT_NO_DEBUG_STREAM
|
#ifndef QT_NO_DEBUG_STREAM
|
||||||
Q_CORE_EXPORT QDebug operator<<(QDebug, const QVersionNumber &version);
|
Q_CORE_EXPORT QDebug operator<<(QDebug, const QVersionNumber &version);
|
||||||
@ -454,7 +454,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
static_assert(sizeof(QTypeRevision) == 2);
|
static_assert(sizeof(QTypeRevision) == 2);
|
||||||
Q_DECLARE_TYPEINFO(QTypeRevision, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTypeRevision, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
#ifndef QT_NO_DEBUG_STREAM
|
#ifndef QT_NO_DEBUG_STREAM
|
||||||
Q_CORE_EXPORT QDebug operator<<(QDebug, const QTypeRevision &revision);
|
Q_CORE_EXPORT QDebug operator<<(QDebug, const QTypeRevision &revision);
|
||||||
|
@ -76,7 +76,7 @@ struct QSpiObjectReference
|
|||||||
QSpiObjectReference(const QDBusConnection& connection, const QDBusObjectPath& path)
|
QSpiObjectReference(const QDBusConnection& connection, const QDBusObjectPath& path)
|
||||||
: service(connection.baseService()), path(path) {}
|
: service(connection.baseService()), path(path) {}
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSpiObjectReference, Q_MOVABLE_TYPE); // QDBusObjectPath is movable, even though it
|
Q_DECLARE_TYPEINFO(QSpiObjectReference, Q_RELOCATABLE_TYPE); // QDBusObjectPath is movable, even though it
|
||||||
// cannot be marked that way until Qt 6
|
// cannot be marked that way until Qt 6
|
||||||
|
|
||||||
QDBusArgument &operator<<(QDBusArgument &argument, const QSpiObjectReference &address);
|
QDBusArgument &operator<<(QDBusArgument &argument, const QSpiObjectReference &address);
|
||||||
@ -96,7 +96,7 @@ struct QSpiAccessibleCacheItem
|
|||||||
QString description;
|
QString description;
|
||||||
QSpiUIntList state;
|
QSpiUIntList state;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSpiAccessibleCacheItem, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSpiAccessibleCacheItem, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
typedef QList<QSpiAccessibleCacheItem> QSpiAccessibleCacheArray;
|
typedef QList<QSpiAccessibleCacheItem> QSpiAccessibleCacheArray;
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ struct QSpiAction
|
|||||||
QString description;
|
QString description;
|
||||||
QString keyBinding;
|
QString keyBinding;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSpiAction, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSpiAction, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
typedef QList<QSpiAction> QSpiActionArray;
|
typedef QList<QSpiAction> QSpiActionArray;
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ struct QSpiEventListener
|
|||||||
QString listenerAddress;
|
QString listenerAddress;
|
||||||
QString eventName;
|
QString eventName;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSpiEventListener, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSpiEventListener, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
typedef QList<QSpiEventListener> QSpiEventListenerArray;
|
typedef QList<QSpiEventListener> QSpiEventListenerArray;
|
||||||
|
|
||||||
@ -138,7 +138,7 @@ struct QSpiTextRange {
|
|||||||
QString contents;
|
QString contents;
|
||||||
QVariant v;
|
QVariant v;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSpiTextRange, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSpiTextRange, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
typedef QList<QSpiTextRange> QSpiTextRangeList;
|
typedef QList<QSpiTextRange> QSpiTextRangeList;
|
||||||
typedef QMap <QString, QString> QSpiAttributeSet;
|
typedef QMap <QString, QString> QSpiAttributeSet;
|
||||||
@ -153,7 +153,7 @@ struct QSpiAppUpdate {
|
|||||||
int type; /* Is an application added or removed */
|
int type; /* Is an application added or removed */
|
||||||
QString address; /* D-Bus address of application added or removed */
|
QString address; /* D-Bus address of application added or removed */
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSpiAppUpdate, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSpiAppUpdate, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QDBusArgument &operator<<(QDBusArgument &argument, const QSpiAppUpdate &update);
|
QDBusArgument &operator<<(QDBusArgument &argument, const QSpiAppUpdate &update);
|
||||||
const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiAppUpdate &update);
|
const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiAppUpdate &update);
|
||||||
@ -167,7 +167,7 @@ struct QSpiDeviceEvent {
|
|||||||
QString text;
|
QString text;
|
||||||
bool isText;
|
bool isText;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QSpiDeviceEvent, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QSpiDeviceEvent, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QDBusArgument &operator<<(QDBusArgument &argument, const QSpiDeviceEvent &event);
|
QDBusArgument &operator<<(QDBusArgument &argument, const QSpiDeviceEvent &event);
|
||||||
const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiDeviceEvent &event);
|
const QDBusArgument &operator>>(const QDBusArgument &argument, QSpiDeviceEvent &event);
|
||||||
|
@ -97,7 +97,7 @@ struct QPixmapIconEngineEntry
|
|||||||
QIcon::State state;
|
QIcon::State state;
|
||||||
bool isNull() const {return (fileName.isEmpty() && pixmap.isNull()); }
|
bool isNull() const {return (fileName.isEmpty() && pixmap.isNull()); }
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QPixmapIconEngineEntry, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QPixmapIconEngineEntry, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline QPixmapIconEngineEntry::QPixmapIconEngineEntry(const QString &file, const QImage &image, QIcon::Mode m, QIcon::State s)
|
inline QPixmapIconEngineEntry::QPixmapIconEngineEntry(const QString &file, const QImage &image, QIcon::Mode m, QIcon::State s)
|
||||||
: fileName(file), size(image.size()), scale(image.devicePixelRatio()), mode(m), state(s)
|
: fileName(file), size(image.size()), scale(image.devicePixelRatio()), mode(m), state(s)
|
||||||
|
@ -86,7 +86,7 @@ struct QIconDirInfo
|
|||||||
short scale;
|
short scale;
|
||||||
Type type;
|
Type type;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QIconDirInfo, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QIconDirInfo, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QIconLoaderEngineEntry
|
class QIconLoaderEngineEntry
|
||||||
{
|
{
|
||||||
|
@ -220,7 +220,7 @@ public:
|
|||||||
static inline QFrameInfo endMarker()
|
static inline QFrameInfo endMarker()
|
||||||
{ return QFrameInfo(true); }
|
{ return QFrameInfo(true); }
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QFrameInfo, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QFrameInfo, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QMoviePrivate : public QObjectPrivate
|
class QMoviePrivate : public QObjectPrivate
|
||||||
{
|
{
|
||||||
|
@ -82,7 +82,7 @@ public:
|
|||||||
bool operator==(const QFileSystemModelNodePathKey &other) const { return !compare(other, Qt::CaseInsensitive); }
|
bool operator==(const QFileSystemModelNodePathKey &other) const { return !compare(other, Qt::CaseInsensitive); }
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QFileSystemModelNodePathKey, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QFileSystemModelNodePathKey, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline size_t qHash(const QFileSystemModelNodePathKey &key) { return qHash(key.toCaseFolded()); }
|
inline size_t qHash(const QFileSystemModelNodePathKey &key) { return qHash(key.toCaseFolded()); }
|
||||||
#else // Q_OS_WIN
|
#else // Q_OS_WIN
|
||||||
@ -316,7 +316,7 @@ public:
|
|||||||
// not recursive, meaning we sort only what we see.
|
// not recursive, meaning we sort only what we see.
|
||||||
bool disableRecursiveSort = false;
|
bool disableRecursiveSort = false;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QFileSystemModelPrivate::Fetching, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QFileSystemModelPrivate::Fetching, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ public:
|
|||||||
QVariant value;
|
QVariant value;
|
||||||
inline bool operator==(const QStandardItemData &other) const { return role == other.role && value == other.value; }
|
inline bool operator==(const QStandardItemData &other) const { return role == other.role && value == other.value; }
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QStandardItemData, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QStandardItemData, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
#ifndef QT_NO_DATASTREAM
|
#ifndef QT_NO_DATASTREAM
|
||||||
|
|
||||||
|
@ -721,7 +721,7 @@ private:
|
|||||||
int m_replacementStart;
|
int m_replacementStart;
|
||||||
int m_replacementLength;
|
int m_replacementLength;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QInputMethodEvent::Attribute, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QInputMethodEvent::Attribute, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_GUI_EXPORT QInputMethodQueryEvent : public QEvent
|
class Q_GUI_EXPORT QInputMethodQueryEvent : public QEvent
|
||||||
{
|
{
|
||||||
@ -745,7 +745,7 @@ private:
|
|||||||
friend QTypeInfo<QueryPair>;
|
friend QTypeInfo<QueryPair>;
|
||||||
QList<QueryPair> m_values;
|
QList<QueryPair> m_values;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QInputMethodQueryEvent::QueryPair, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QInputMethodQueryEvent::QueryPair, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
#endif // QT_NO_INPUTMETHOD
|
#endif // QT_NO_INPUTMETHOD
|
||||||
|
|
||||||
|
@ -1059,7 +1059,7 @@ struct QModifKeyName {
|
|||||||
int qt_key;
|
int qt_key;
|
||||||
QString name;
|
QString name;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QModifKeyName, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QModifKeyName, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GLOBAL_STATIC(QList<QModifKeyName>, globalModifs)
|
Q_GLOBAL_STATIC(QList<QModifKeyName>, globalModifs)
|
||||||
Q_GLOBAL_STATIC(QList<QModifKeyName>, globalPortableModifs)
|
Q_GLOBAL_STATIC(QList<QModifKeyName>, globalPortableModifs)
|
||||||
|
@ -79,7 +79,7 @@ private:
|
|||||||
// In this case, m_numericId will then turn into an index into that array (or hash).
|
// In this case, m_numericId will then turn into an index into that array (or hash).
|
||||||
qint64 m_numericId;
|
qint64 m_numericId;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QPointingDeviceUniqueId, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QPointingDeviceUniqueId, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GUI_EXPORT size_t qHash(QPointingDeviceUniqueId key, size_t seed = 0) noexcept;
|
Q_GUI_EXPORT size_t qHash(QPointingDeviceUniqueId key, size_t seed = 0) noexcept;
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ struct QShortcutEntry
|
|||||||
QObject *owner;
|
QObject *owner;
|
||||||
QShortcutMap::ContextMatcher contextMatcher;
|
QShortcutMap::ContextMatcher contextMatcher;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QShortcutEntry, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShortcutEntry, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
#ifdef Dump_QShortcutMap
|
#ifdef Dump_QShortcutMap
|
||||||
/*! \internal
|
/*! \internal
|
||||||
|
@ -213,7 +213,7 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(QMatrix4x4::Flags)
|
|||||||
QT_WARNING_PUSH
|
QT_WARNING_PUSH
|
||||||
QT_WARNING_DISABLE_FLOAT_COMPARE
|
QT_WARNING_DISABLE_FLOAT_COMPARE
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QMatrix4x4, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QMatrix4x4, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline QMatrix4x4::QMatrix4x4
|
inline QMatrix4x4::QMatrix4x4
|
||||||
(float m11, float m12, float m13, float m14,
|
(float m11, float m12, float m13, float m14,
|
||||||
|
@ -169,7 +169,7 @@ private:
|
|||||||
float wp, xp, yp, zp;
|
float wp, xp, yp, zp;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QQuaternion, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QQuaternion, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline QQuaternion::QQuaternion() : wp(1.0f), xp(0.0f), yp(0.0f), zp(0.0f) {}
|
inline QQuaternion::QQuaternion() : wp(1.0f), xp(0.0f), yp(0.0f), zp(0.0f) {}
|
||||||
|
|
||||||
|
@ -297,7 +297,7 @@ public: // can't give friendship to a namespace, so it needs to be public
|
|||||||
: cspec(spec), ct(a1, a2, a3, a4, a5) {}
|
: cspec(spec), ct(a1, a2, a3, a4, a5) {}
|
||||||
#endif // Q_COMPILER_UNIFORM_INIT
|
#endif // Q_COMPILER_UNIFORM_INIT
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QColor, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QColor, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline QColor::QColor(QLatin1String aname)
|
inline QColor::QColor(QLatin1String aname)
|
||||||
{ setNamedColor(aname); }
|
{ setNamedColor(aname); }
|
||||||
|
@ -116,7 +116,7 @@ Q_GUI_EXPORT QDebug operator<<(QDebug dbg, const QPageRanges &pageRanges);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
Q_DECLARE_SHARED(QPageRanges)
|
Q_DECLARE_SHARED(QPageRanges)
|
||||||
Q_DECLARE_TYPEINFO(QPageRanges::Range, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QPageRanges::Range, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ public:
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QPainterClipInfo, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QPainterClipInfo, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_GUI_EXPORT QPainterState : public QPaintEngineState
|
class Q_GUI_EXPORT QPainterState : public QPaintEngineState
|
||||||
{
|
{
|
||||||
|
@ -80,7 +80,7 @@ struct QBackingstoreTextureInfo
|
|||||||
QPlatformTextureList::Flags flags;
|
QPlatformTextureList::Flags flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QBackingstoreTextureInfo, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QBackingstoreTextureInfo, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QPlatformTextureListPrivate : public QObjectPrivate
|
class QPlatformTextureListPrivate : public QObjectPrivate
|
||||||
{
|
{
|
||||||
|
@ -177,7 +177,7 @@ private:
|
|||||||
mutable uint m_type : 5;
|
mutable uint m_type : 5;
|
||||||
mutable uint m_dirty : 5;
|
mutable uint m_dirty : 5;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QTransform, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTransform, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GUI_EXPORT Q_DECL_CONST_FUNCTION size_t qHash(const QTransform &key, size_t seed = 0) noexcept;
|
Q_GUI_EXPORT Q_DECL_CONST_FUNCTION size_t qHash(const QTransform &key, size_t seed = 0) noexcept;
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ public:
|
|||||||
int m_id;
|
int m_id;
|
||||||
QVariantMap m_properties;
|
QVariantMap m_properties;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QDBusMenuItem, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QDBusMenuItem, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
const QDBusArgument &operator<<(QDBusArgument &arg, const QDBusMenuItem &item);
|
const QDBusArgument &operator<<(QDBusArgument &arg, const QDBusMenuItem &item);
|
||||||
const QDBusArgument &operator>>(const QDBusArgument &arg, QDBusMenuItem &item);
|
const QDBusArgument &operator>>(const QDBusArgument &arg, QDBusMenuItem &item);
|
||||||
@ -94,7 +94,7 @@ public:
|
|||||||
int id;
|
int id;
|
||||||
QStringList properties;
|
QStringList properties;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QDBusMenuItemKeys, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QDBusMenuItemKeys, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
const QDBusArgument &operator<<(QDBusArgument &arg, const QDBusMenuItemKeys &keys);
|
const QDBusArgument &operator<<(QDBusArgument &arg, const QDBusMenuItemKeys &keys);
|
||||||
const QDBusArgument &operator>>(const QDBusArgument &arg, QDBusMenuItemKeys &keys);
|
const QDBusArgument &operator>>(const QDBusArgument &arg, QDBusMenuItemKeys &keys);
|
||||||
@ -112,7 +112,7 @@ public:
|
|||||||
QVariantMap m_properties;
|
QVariantMap m_properties;
|
||||||
QList<QDBusMenuLayoutItem> m_children;
|
QList<QDBusMenuLayoutItem> m_children;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QDBusMenuLayoutItem, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QDBusMenuLayoutItem, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
const QDBusArgument &operator<<(QDBusArgument &arg, const QDBusMenuLayoutItem &);
|
const QDBusArgument &operator<<(QDBusArgument &arg, const QDBusMenuLayoutItem &);
|
||||||
const QDBusArgument &operator>>(const QDBusArgument &arg, QDBusMenuLayoutItem &item);
|
const QDBusArgument &operator>>(const QDBusArgument &arg, QDBusMenuLayoutItem &item);
|
||||||
@ -127,7 +127,7 @@ public:
|
|||||||
QDBusVariant m_data;
|
QDBusVariant m_data;
|
||||||
uint m_timestamp;
|
uint m_timestamp;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QDBusMenuEvent, Q_MOVABLE_TYPE); // QDBusVariant is movable, even though it cannot
|
Q_DECLARE_TYPEINFO(QDBusMenuEvent, Q_RELOCATABLE_TYPE); // QDBusVariant is movable, even though it cannot
|
||||||
// be marked as such until Qt 6.
|
// be marked as such until Qt 6.
|
||||||
|
|
||||||
const QDBusArgument &operator<<(QDBusArgument &arg, const QDBusMenuEvent &ev);
|
const QDBusArgument &operator<<(QDBusArgument &arg, const QDBusMenuEvent &ev);
|
||||||
|
@ -75,7 +75,7 @@ struct QXdgDBusImageStruct
|
|||||||
int height;
|
int height;
|
||||||
QByteArray data;
|
QByteArray data;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QXdgDBusImageStruct, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QXdgDBusImageStruct, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
using QXdgDBusImageVector = QList<QXdgDBusImageStruct>;
|
using QXdgDBusImageVector = QList<QXdgDBusImageStruct>;
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ struct QXdgDBusToolTipStruct
|
|||||||
QString title;
|
QString title;
|
||||||
QString subTitle;
|
QString subTitle;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QXdgDBusToolTipStruct, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QXdgDBusToolTipStruct, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
const QDBusArgument &operator<<(QDBusArgument &argument, const QXdgDBusImageStruct &icon);
|
const QDBusArgument &operator<<(QDBusArgument &argument, const QXdgDBusImageStruct &icon);
|
||||||
const QDBusArgument &operator>>(const QDBusArgument &argument, QXdgDBusImageStruct &icon);
|
const QDBusArgument &operator>>(const QDBusArgument &argument, QXdgDBusImageStruct &icon);
|
||||||
|
@ -90,7 +90,7 @@ private:
|
|||||||
quint32 m_s = 0;
|
quint32 m_s = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiDepthStencilClearValue, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiDepthStencilClearValue, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GUI_EXPORT bool operator==(const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b) noexcept;
|
Q_GUI_EXPORT bool operator==(const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b) noexcept;
|
||||||
Q_GUI_EXPORT bool operator!=(const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b) noexcept;
|
Q_GUI_EXPORT bool operator!=(const QRhiDepthStencilClearValue &a, const QRhiDepthStencilClearValue &b) noexcept;
|
||||||
@ -122,7 +122,7 @@ private:
|
|||||||
float m_maxDepth = 1.0f;
|
float m_maxDepth = 1.0f;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiViewport, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiViewport, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GUI_EXPORT bool operator==(const QRhiViewport &a, const QRhiViewport &b) noexcept;
|
Q_GUI_EXPORT bool operator==(const QRhiViewport &a, const QRhiViewport &b) noexcept;
|
||||||
Q_GUI_EXPORT bool operator!=(const QRhiViewport &a, const QRhiViewport &b) noexcept;
|
Q_GUI_EXPORT bool operator!=(const QRhiViewport &a, const QRhiViewport &b) noexcept;
|
||||||
@ -146,7 +146,7 @@ private:
|
|||||||
std::array<int, 4> m_rect { { 0, 0, 0, 0 } };
|
std::array<int, 4> m_rect { { 0, 0, 0, 0 } };
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiScissor, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiScissor, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GUI_EXPORT bool operator==(const QRhiScissor &a, const QRhiScissor &b) noexcept;
|
Q_GUI_EXPORT bool operator==(const QRhiScissor &a, const QRhiScissor &b) noexcept;
|
||||||
Q_GUI_EXPORT bool operator!=(const QRhiScissor &a, const QRhiScissor &b) noexcept;
|
Q_GUI_EXPORT bool operator!=(const QRhiScissor &a, const QRhiScissor &b) noexcept;
|
||||||
@ -181,7 +181,7 @@ private:
|
|||||||
int m_instanceStepRate = 1;
|
int m_instanceStepRate = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiVertexInputBinding, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiVertexInputBinding, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GUI_EXPORT bool operator==(const QRhiVertexInputBinding &a, const QRhiVertexInputBinding &b) noexcept;
|
Q_GUI_EXPORT bool operator==(const QRhiVertexInputBinding &a, const QRhiVertexInputBinding &b) noexcept;
|
||||||
Q_GUI_EXPORT bool operator!=(const QRhiVertexInputBinding &a, const QRhiVertexInputBinding &b) noexcept;
|
Q_GUI_EXPORT bool operator!=(const QRhiVertexInputBinding &a, const QRhiVertexInputBinding &b) noexcept;
|
||||||
@ -237,7 +237,7 @@ private:
|
|||||||
int m_matrixSlice = -1;
|
int m_matrixSlice = -1;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiVertexInputAttribute, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiVertexInputAttribute, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GUI_EXPORT bool operator==(const QRhiVertexInputAttribute &a, const QRhiVertexInputAttribute &b) noexcept;
|
Q_GUI_EXPORT bool operator==(const QRhiVertexInputAttribute &a, const QRhiVertexInputAttribute &b) noexcept;
|
||||||
Q_GUI_EXPORT bool operator!=(const QRhiVertexInputAttribute &a, const QRhiVertexInputAttribute &b) noexcept;
|
Q_GUI_EXPORT bool operator!=(const QRhiVertexInputAttribute &a, const QRhiVertexInputAttribute &b) noexcept;
|
||||||
@ -281,7 +281,7 @@ private:
|
|||||||
friend Q_GUI_EXPORT QDebug operator<<(QDebug, const QRhiVertexInputLayout &);
|
friend Q_GUI_EXPORT QDebug operator<<(QDebug, const QRhiVertexInputLayout &);
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiVertexInputLayout, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiVertexInputLayout, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GUI_EXPORT bool operator==(const QRhiVertexInputLayout &a, const QRhiVertexInputLayout &b) noexcept;
|
Q_GUI_EXPORT bool operator==(const QRhiVertexInputLayout &a, const QRhiVertexInputLayout &b) noexcept;
|
||||||
Q_GUI_EXPORT bool operator!=(const QRhiVertexInputLayout &a, const QRhiVertexInputLayout &b) noexcept;
|
Q_GUI_EXPORT bool operator!=(const QRhiVertexInputLayout &a, const QRhiVertexInputLayout &b) noexcept;
|
||||||
@ -318,7 +318,7 @@ private:
|
|||||||
QShader::Variant m_shaderVariant = QShader::StandardShader;
|
QShader::Variant m_shaderVariant = QShader::StandardShader;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiShaderStage, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiShaderStage, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GUI_EXPORT bool operator==(const QRhiShaderStage &a, const QRhiShaderStage &b) noexcept;
|
Q_GUI_EXPORT bool operator==(const QRhiShaderStage &a, const QRhiShaderStage &b) noexcept;
|
||||||
Q_GUI_EXPORT bool operator!=(const QRhiShaderStage &a, const QRhiShaderStage &b) noexcept;
|
Q_GUI_EXPORT bool operator!=(const QRhiShaderStage &a, const QRhiShaderStage &b) noexcept;
|
||||||
@ -466,7 +466,7 @@ private:
|
|||||||
int m_resolveLevel = 0;
|
int m_resolveLevel = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiColorAttachment, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiColorAttachment, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_GUI_EXPORT QRhiTextureRenderTargetDescription
|
class Q_GUI_EXPORT QRhiTextureRenderTargetDescription
|
||||||
{
|
{
|
||||||
@ -499,7 +499,7 @@ private:
|
|||||||
QRhiTexture *m_depthTexture = nullptr;
|
QRhiTexture *m_depthTexture = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiTextureRenderTargetDescription, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiTextureRenderTargetDescription, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_GUI_EXPORT QRhiTextureSubresourceUploadDescription
|
class Q_GUI_EXPORT QRhiTextureSubresourceUploadDescription
|
||||||
{
|
{
|
||||||
@ -531,7 +531,7 @@ private:
|
|||||||
QPoint m_sourceTopLeft;
|
QPoint m_sourceTopLeft;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiTextureSubresourceUploadDescription, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiTextureSubresourceUploadDescription, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_GUI_EXPORT QRhiTextureUploadEntry
|
class Q_GUI_EXPORT QRhiTextureUploadEntry
|
||||||
{
|
{
|
||||||
@ -554,7 +554,7 @@ private:
|
|||||||
QRhiTextureSubresourceUploadDescription m_desc;
|
QRhiTextureSubresourceUploadDescription m_desc;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiTextureUploadEntry, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiTextureUploadEntry, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_GUI_EXPORT QRhiTextureUploadDescription
|
class Q_GUI_EXPORT QRhiTextureUploadDescription
|
||||||
{
|
{
|
||||||
@ -577,7 +577,7 @@ private:
|
|||||||
QVarLengthArray<QRhiTextureUploadEntry, 16> m_entries;
|
QVarLengthArray<QRhiTextureUploadEntry, 16> m_entries;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiTextureUploadDescription, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiTextureUploadDescription, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_GUI_EXPORT QRhiTextureCopyDescription
|
class Q_GUI_EXPORT QRhiTextureCopyDescription
|
||||||
{
|
{
|
||||||
@ -615,7 +615,7 @@ private:
|
|||||||
QPoint m_destinationTopLeft;
|
QPoint m_destinationTopLeft;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiTextureCopyDescription, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiTextureCopyDescription, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_GUI_EXPORT QRhiReadbackDescription
|
class Q_GUI_EXPORT QRhiReadbackDescription
|
||||||
{
|
{
|
||||||
@ -638,7 +638,7 @@ private:
|
|||||||
int m_level = 0;
|
int m_level = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiReadbackDescription, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiReadbackDescription, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
struct Q_GUI_EXPORT QRhiNativeHandles
|
struct Q_GUI_EXPORT QRhiNativeHandles
|
||||||
{
|
{
|
||||||
@ -1249,7 +1249,7 @@ protected:
|
|||||||
|
|
||||||
Q_DECLARE_OPERATORS_FOR_FLAGS(QRhiGraphicsPipeline::Flags)
|
Q_DECLARE_OPERATORS_FOR_FLAGS(QRhiGraphicsPipeline::Flags)
|
||||||
Q_DECLARE_OPERATORS_FOR_FLAGS(QRhiGraphicsPipeline::ColorMask)
|
Q_DECLARE_OPERATORS_FOR_FLAGS(QRhiGraphicsPipeline::ColorMask)
|
||||||
Q_DECLARE_TYPEINFO(QRhiGraphicsPipeline::TargetBlend, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiGraphicsPipeline::TargetBlend, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_GUI_EXPORT QRhiSwapChain : public QRhiResource
|
class Q_GUI_EXPORT QRhiSwapChain : public QRhiResource
|
||||||
{
|
{
|
||||||
|
@ -351,7 +351,7 @@ private:
|
|||||||
QRhiBufferDataPrivate *d = nullptr;
|
QRhiBufferDataPrivate *d = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiBufferData, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiBufferData, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QRhiResourceUpdateBatchPrivate
|
class QRhiResourceUpdateBatchPrivate
|
||||||
{
|
{
|
||||||
@ -498,8 +498,8 @@ public:
|
|||||||
static QRhiResourceUpdateBatchPrivate *get(QRhiResourceUpdateBatch *b) { return b->d; }
|
static QRhiResourceUpdateBatchPrivate *get(QRhiResourceUpdateBatch *b) { return b->d; }
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiResourceUpdateBatchPrivate::BufferOp, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiResourceUpdateBatchPrivate::BufferOp, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QRhiResourceUpdateBatchPrivate::TextureOp, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiResourceUpdateBatchPrivate::TextureOp, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct QRhiBatchedBindings
|
struct QRhiBatchedBindings
|
||||||
@ -652,8 +652,8 @@ private:
|
|||||||
QHash<QRhiTexture *, Texture> m_textures;
|
QHash<QRhiTexture *, Texture> m_textures;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiPassResourceTracker::Buffer, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiPassResourceTracker::Buffer, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QRhiPassResourceTracker::Texture, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiPassResourceTracker::Texture, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
template<typename T, int GROW = 1024>
|
template<typename T, int GROW = 1024>
|
||||||
class QRhiBackendCommandList
|
class QRhiBackendCommandList
|
||||||
|
@ -277,7 +277,7 @@ struct QD3D11ShaderResourceBindings : public QRhiShaderResourceBindings
|
|||||||
friend class QRhiD3D11;
|
friend class QRhiD3D11;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QD3D11ShaderResourceBindings::BoundResourceData, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QD3D11ShaderResourceBindings::BoundResourceData, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
struct QD3D11GraphicsPipeline : public QRhiGraphicsPipeline
|
struct QD3D11GraphicsPipeline : public QRhiGraphicsPipeline
|
||||||
{
|
{
|
||||||
@ -762,8 +762,8 @@ public:
|
|||||||
} deviceCurse;
|
} deviceCurse;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiD3D11::TextureReadback, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiD3D11::TextureReadback, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QRhiD3D11::BufferReadback, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiD3D11::BufferReadback, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -258,7 +258,7 @@ struct QGles2UniformDescription
|
|||||||
int arrayDim;
|
int arrayDim;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QGles2UniformDescription, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QGles2UniformDescription, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
struct QGles2SamplerDescription
|
struct QGles2SamplerDescription
|
||||||
{
|
{
|
||||||
@ -266,7 +266,7 @@ struct QGles2SamplerDescription
|
|||||||
int binding;
|
int binding;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QGles2SamplerDescription, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QGles2SamplerDescription, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
using QGles2UniformDescriptionVector = QVarLengthArray<QGles2UniformDescription, 8>;
|
using QGles2UniformDescriptionVector = QVarLengthArray<QGles2UniformDescription, 8>;
|
||||||
using QGles2SamplerDescriptionVector = QVarLengthArray<QGles2SamplerDescription, 4>;
|
using QGles2SamplerDescriptionVector = QVarLengthArray<QGles2SamplerDescription, 4>;
|
||||||
@ -998,7 +998,7 @@ public:
|
|||||||
QHash<QRhiShaderStage, uint> m_shaderCache;
|
QHash<QRhiShaderStage, uint> m_shaderCache;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiGles2::DeferredReleaseEntry, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiGles2::DeferredReleaseEntry, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -216,8 +216,8 @@ struct QRhiMetalData
|
|||||||
QHash<QRhiShaderStage, QMetalShader> shaderCache;
|
QHash<QRhiShaderStage, QMetalShader> shaderCache;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiMetalData::DeferredReleaseEntry, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiMetalData::DeferredReleaseEntry, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QRhiMetalData::TextureReadback, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiMetalData::TextureReadback, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
struct QMetalBufferData
|
struct QMetalBufferData
|
||||||
{
|
{
|
||||||
|
@ -112,8 +112,8 @@ private:
|
|||||||
friend class QRhiProfilerPrivate;
|
friend class QRhiProfilerPrivate;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiProfiler::CpuTime, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiProfiler::CpuTime, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QRhiProfiler::GpuTime, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiProfiler::GpuTime, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ public:
|
|||||||
QHash<QRhiSwapChain *, Sc> swapchains;
|
QHash<QRhiSwapChain *, Sc> swapchains;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiProfilerPrivate::Sc, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiProfilerPrivate::Sc, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ struct QVkBuffer : public QRhiBuffer
|
|||||||
friend class QRhiVulkan;
|
friend class QRhiVulkan;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QVkBuffer::DynamicUpdate, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QVkBuffer::DynamicUpdate, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
struct QVkTexture;
|
struct QVkTexture;
|
||||||
|
|
||||||
@ -294,7 +294,7 @@ struct QVkShaderResourceBindings : public QRhiShaderResourceBindings
|
|||||||
friend class QRhiVulkan;
|
friend class QRhiVulkan;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QVkShaderResourceBindings::BoundResourceData, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QVkShaderResourceBindings::BoundResourceData, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
struct QVkGraphicsPipeline : public QRhiGraphicsPipeline
|
struct QVkGraphicsPipeline : public QRhiGraphicsPipeline
|
||||||
{
|
{
|
||||||
@ -991,10 +991,10 @@ public:
|
|||||||
QList<DeferredReleaseEntry> releaseQueue;
|
QList<DeferredReleaseEntry> releaseQueue;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QRhiVulkan::DescriptorPoolData, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiVulkan::DescriptorPoolData, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QRhiVulkan::DeferredReleaseEntry, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiVulkan::DeferredReleaseEntry, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QRhiVulkan::TextureReadback, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiVulkan::TextureReadback, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QRhiVulkan::BufferReadback, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QRhiVulkan::BufferReadback, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_OPERATORS_FOR_FLAGS(QShaderVersion::Flags)
|
Q_DECLARE_OPERATORS_FOR_FLAGS(QShaderVersion::Flags)
|
||||||
Q_DECLARE_TYPEINFO(QShaderVersion, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderVersion, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QShaderCode;
|
class QShaderCode;
|
||||||
Q_GUI_EXPORT size_t qHash(const QShaderCode &, size_t = 0) noexcept;
|
Q_GUI_EXPORT size_t qHash(const QShaderCode &, size_t = 0) noexcept;
|
||||||
@ -103,7 +103,7 @@ private:
|
|||||||
QByteArray m_entryPoint;
|
QByteArray m_entryPoint;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QShaderCode, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderCode, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class Q_GUI_EXPORT QShader
|
class Q_GUI_EXPORT QShader
|
||||||
{
|
{
|
||||||
@ -192,7 +192,7 @@ private:
|
|||||||
QShader::Variant m_sourceVariant = QShader::StandardShader;
|
QShader::Variant m_sourceVariant = QShader::StandardShader;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QShaderKey, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderKey, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GUI_EXPORT bool operator==(const QShader &lhs, const QShader &rhs) noexcept;
|
Q_GUI_EXPORT bool operator==(const QShader &lhs, const QShader &rhs) noexcept;
|
||||||
Q_GUI_EXPORT size_t qHash(const QShader &s, size_t seed = 0) noexcept;
|
Q_GUI_EXPORT size_t qHash(const QShader &s, size_t seed = 0) noexcept;
|
||||||
|
@ -338,7 +338,7 @@ private:
|
|||||||
QFixed scalableBitmapScaleFactor;
|
QFixed scalableBitmapScaleFactor;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QFontEngineFT::QGlyphSet, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QFontEngineFT::QGlyphSet, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
|
|
||||||
inline size_t qHash(const QFontEngineFT::GlyphAndSubPixelPosition &g)
|
inline size_t qHash(const QFontEngineFT::GlyphAndSubPixelPosition &g)
|
||||||
|
@ -391,7 +391,7 @@ struct Value
|
|||||||
|
|
||||||
Q_GUI_EXPORT QString toString() const;
|
Q_GUI_EXPORT QString toString() const;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(Value, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(Value, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
struct ColorData {
|
struct ColorData {
|
||||||
ColorData() : role(QPalette::NoRole), type(Invalid) {}
|
ColorData() : role(QPalette::NoRole), type(Invalid) {}
|
||||||
@ -401,7 +401,7 @@ struct ColorData {
|
|||||||
QPalette::ColorRole role;
|
QPalette::ColorRole role;
|
||||||
enum { Invalid, Color, Role} type;
|
enum { Invalid, Color, Role} type;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(ColorData, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(ColorData, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
struct BrushData {
|
struct BrushData {
|
||||||
BrushData() : role(QPalette::NoRole), type(Invalid) {}
|
BrushData() : role(QPalette::NoRole), type(Invalid) {}
|
||||||
@ -411,7 +411,7 @@ struct BrushData {
|
|||||||
QPalette::ColorRole role;
|
QPalette::ColorRole role;
|
||||||
enum { Invalid, Brush, Role, DependsOnThePalette } type;
|
enum { Invalid, Brush, Role, DependsOnThePalette } type;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(BrushData, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(BrushData, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
struct BackgroundData {
|
struct BackgroundData {
|
||||||
BrushData brush;
|
BrushData brush;
|
||||||
@ -419,7 +419,7 @@ struct BackgroundData {
|
|||||||
Repeat repeat;
|
Repeat repeat;
|
||||||
Qt::Alignment alignment;
|
Qt::Alignment alignment;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(BackgroundData, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(BackgroundData, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
struct LengthData {
|
struct LengthData {
|
||||||
qreal number;
|
qreal number;
|
||||||
@ -432,7 +432,7 @@ struct BorderData {
|
|||||||
BorderStyle style;
|
BorderStyle style;
|
||||||
BrushData color;
|
BrushData color;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(BorderData, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(BorderData, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
// 1. StyleRule - x:hover, y:clicked > z:checked { prop1: value1; prop2: value2; }
|
// 1. StyleRule - x:hover, y:clicked > z:checked { prop1: value1; prop2: value2; }
|
||||||
// 2. QList<Selector> - x:hover, y:clicked z:checked
|
// 2. QList<Selector> - x:hover, y:clicked z:checked
|
||||||
@ -483,7 +483,7 @@ struct Q_GUI_EXPORT Declaration
|
|||||||
void borderImageValue(QString *image, int *cuts, TileMode *h, TileMode *v) const;
|
void borderImageValue(QString *image, int *cuts, TileMode *h, TileMode *v) const;
|
||||||
bool borderCollapseValue() const;
|
bool borderCollapseValue() const;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(Declaration, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(Declaration, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
const quint64 PseudoClass_Unknown = Q_UINT64_C(0x0000000000000000);
|
const quint64 PseudoClass_Unknown = Q_UINT64_C(0x0000000000000000);
|
||||||
const quint64 PseudoClass_Enabled = Q_UINT64_C(0x0000000000000001);
|
const quint64 PseudoClass_Enabled = Q_UINT64_C(0x0000000000000001);
|
||||||
@ -543,7 +543,7 @@ struct Pseudo
|
|||||||
QString function;
|
QString function;
|
||||||
bool negated;
|
bool negated;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(Pseudo, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(Pseudo, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
struct AttributeSelector
|
struct AttributeSelector
|
||||||
{
|
{
|
||||||
@ -562,7 +562,7 @@ struct AttributeSelector
|
|||||||
QString value;
|
QString value;
|
||||||
ValueMatchType valueMatchCriterium;
|
ValueMatchType valueMatchCriterium;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(AttributeSelector, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(AttributeSelector, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
struct BasicSelector
|
struct BasicSelector
|
||||||
{
|
{
|
||||||
@ -584,7 +584,7 @@ struct BasicSelector
|
|||||||
|
|
||||||
Relation relationToNext;
|
Relation relationToNext;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(BasicSelector, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(BasicSelector, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
struct Q_GUI_EXPORT Selector
|
struct Q_GUI_EXPORT Selector
|
||||||
{
|
{
|
||||||
@ -593,7 +593,7 @@ struct Q_GUI_EXPORT Selector
|
|||||||
quint64 pseudoClass(quint64 *negated = nullptr) const;
|
quint64 pseudoClass(quint64 *negated = nullptr) const;
|
||||||
QString pseudoElement() const;
|
QString pseudoElement() const;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(Selector, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(Selector, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
struct StyleRule
|
struct StyleRule
|
||||||
{
|
{
|
||||||
@ -602,28 +602,28 @@ struct StyleRule
|
|||||||
QList<Declaration> declarations;
|
QList<Declaration> declarations;
|
||||||
int order;
|
int order;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(StyleRule, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(StyleRule, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
struct MediaRule
|
struct MediaRule
|
||||||
{
|
{
|
||||||
QStringList media;
|
QStringList media;
|
||||||
QList<StyleRule> styleRules;
|
QList<StyleRule> styleRules;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(MediaRule, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(MediaRule, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
struct PageRule
|
struct PageRule
|
||||||
{
|
{
|
||||||
QString selector;
|
QString selector;
|
||||||
QList<Declaration> declarations;
|
QList<Declaration> declarations;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(PageRule, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(PageRule, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
struct ImportRule
|
struct ImportRule
|
||||||
{
|
{
|
||||||
QString href;
|
QString href;
|
||||||
QStringList media;
|
QStringList media;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(ImportRule, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(ImportRule, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
enum StyleSheetOrigin {
|
enum StyleSheetOrigin {
|
||||||
StyleSheetOrigin_Unspecified,
|
StyleSheetOrigin_Unspecified,
|
||||||
@ -647,7 +647,7 @@ struct StyleSheet
|
|||||||
|
|
||||||
Q_GUI_EXPORT void buildIndexes(Qt::CaseSensitivity nameCaseSensitivity = Qt::CaseSensitive);
|
Q_GUI_EXPORT void buildIndexes(Qt::CaseSensitivity nameCaseSensitivity = Qt::CaseSensitive);
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(StyleSheet, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(StyleSheet, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
|
|
||||||
class Q_GUI_EXPORT StyleSelector
|
class Q_GUI_EXPORT StyleSelector
|
||||||
@ -745,7 +745,7 @@ struct Symbol
|
|||||||
int start, len;
|
int start, len;
|
||||||
Q_GUI_EXPORT QString lexem() const;
|
Q_GUI_EXPORT QString lexem() const;
|
||||||
};
|
};
|
||||||
QT_CSS_DECLARE_TYPEINFO(Symbol, Q_MOVABLE_TYPE)
|
QT_CSS_DECLARE_TYPEINFO(Symbol, Q_RELOCATABLE_TYPE)
|
||||||
|
|
||||||
class Q_GUI_EXPORT Scanner
|
class Q_GUI_EXPORT Scanner
|
||||||
{
|
{
|
||||||
|
@ -272,7 +272,7 @@ public:
|
|||||||
|
|
||||||
void invalidate();
|
void invalidate();
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QFontDatabasePrivate::ApplicationFont, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QFontDatabasePrivate::ApplicationFont, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -343,7 +343,7 @@ struct QTtfTable {
|
|||||||
Tag tag;
|
Tag tag;
|
||||||
QByteArray data;
|
QByteArray data;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QTtfTable, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTtfTable, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
|
|
||||||
struct qttf_head_table {
|
struct qttf_head_table {
|
||||||
@ -391,7 +391,7 @@ struct qttf_name_table {
|
|||||||
QString subfamily;
|
QString subfamily;
|
||||||
QString postscript_name;
|
QString postscript_name;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(qttf_name_table, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(qttf_name_table, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
|
|
||||||
static QTtfTable generateHead(const qttf_head_table &head);
|
static QTtfTable generateHead(const qttf_head_table &head);
|
||||||
@ -419,7 +419,7 @@ struct QTtfGlyph {
|
|||||||
quint16 numPoints;
|
quint16 numPoints;
|
||||||
QByteArray data;
|
QByteArray data;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QTtfGlyph, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTtfGlyph, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
static QTtfGlyph generateGlyph(int index, const QPainterPath &path, qreal advance, qreal lsb, qreal ppem);
|
static QTtfGlyph generateGlyph(int index, const QPainterPath &path, qreal advance, qreal lsb, qreal ppem);
|
||||||
// generates glyf, loca and hmtx
|
// generates glyf, loca and hmtx
|
||||||
@ -619,7 +619,7 @@ struct QTtfNameRecord {
|
|||||||
quint16 nameId;
|
quint16 nameId;
|
||||||
QString value;
|
QString value;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QTtfNameRecord, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTtfNameRecord, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
static QTtfTable generateName(const QList<QTtfNameRecord> &name);
|
static QTtfTable generateName(const QList<QTtfNameRecord> &name);
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ private: // private to avoid abuse
|
|||||||
// ================
|
// ================
|
||||||
// 43 bytes per item
|
// 43 bytes per item
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QStaticTextItem, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QStaticTextItem, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QStaticText;
|
class QStaticText;
|
||||||
class Q_AUTOTEST_EXPORT QStaticTextPrivate
|
class Q_AUTOTEST_EXPORT QStaticTextPrivate
|
||||||
|
@ -233,9 +233,9 @@ private:
|
|||||||
int currentNodeIdx;
|
int currentNodeIdx;
|
||||||
const QTextHtmlParserNode *currentNode;
|
const QTextHtmlParserNode *currentNode;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QTextHtmlImporter::List, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextHtmlImporter::List, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QTextHtmlImporter::TableCellIterator, Q_PRIMITIVE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextHtmlImporter::TableCellIterator, Q_PRIMITIVE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QTextHtmlImporter::Table, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextHtmlImporter::Table, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QTextHtmlImporter::RowColSpanInfo, Q_PRIMITIVE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextHtmlImporter::RowColSpanInfo, Q_PRIMITIVE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
@ -673,7 +673,7 @@ public:
|
|||||||
LayoutData _layoutData;
|
LayoutData _layoutData;
|
||||||
void *_memory[MemSize];
|
void *_memory[MemSize];
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QTextEngine::ItemDecoration, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextEngine::ItemDecoration, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
struct QTextLineItemIterator
|
struct QTextLineItemIterator
|
||||||
{
|
{
|
||||||
|
@ -177,7 +177,7 @@ struct Property
|
|||||||
{ return key == other.key && value == other.value; }
|
{ return key == other.key && value == other.value; }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Q_DECLARE_TYPEINFO(Property, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(Property, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QTextFormatPrivate : public QSharedData
|
class QTextFormatPrivate : public QSharedData
|
||||||
{
|
{
|
||||||
|
@ -269,7 +269,7 @@ struct QTextHtmlParserNode {
|
|||||||
|
|
||||||
friend class QTextHtmlParser;
|
friend class QTextHtmlParser;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QTextHtmlParserNode, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextHtmlParserNode, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
|
|
||||||
class QTextHtmlParser
|
class QTextHtmlParser
|
||||||
@ -357,7 +357,7 @@ protected:
|
|||||||
const QTextDocument *resourceProvider;
|
const QTextDocument *resourceProvider;
|
||||||
};
|
};
|
||||||
#if QT_CONFIG(cssparser)
|
#if QT_CONFIG(cssparser)
|
||||||
Q_DECLARE_TYPEINFO(QTextHtmlParser::ExternalStyleSheet, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextHtmlParser::ExternalStyleSheet, Q_RELOCATABLE_TYPE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
@ -179,7 +179,7 @@ private:
|
|||||||
Q_DECLARE_PRIVATE(QTextFrame)
|
Q_DECLARE_PRIVATE(QTextFrame)
|
||||||
Q_DISABLE_COPY(QTextFrame)
|
Q_DISABLE_COPY(QTextFrame)
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QTextFrame::iterator, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextFrame::iterator, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline void QTextFrame::setFrameFormat(const QTextFrameFormat &aformat)
|
inline void QTextFrame::setFrameFormat(const QTextFrameFormat &aformat)
|
||||||
{ QTextObject::setFormat(aformat); }
|
{ QTextObject::setFormat(aformat); }
|
||||||
@ -284,8 +284,8 @@ private:
|
|||||||
friend class QTextLayout;
|
friend class QTextLayout;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QTextBlock, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextBlock, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QTextBlock::iterator, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextBlock::iterator, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
|
|
||||||
class Q_GUI_EXPORT QTextFragment
|
class Q_GUI_EXPORT QTextFragment
|
||||||
@ -320,7 +320,7 @@ private:
|
|||||||
int ne;
|
int ne;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QTextFragment, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextFragment, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -414,7 +414,7 @@ struct FileHeader
|
|||||||
QByteArray extra_field;
|
QByteArray extra_field;
|
||||||
QByteArray file_comment;
|
QByteArray file_comment;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(FileHeader, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(FileHeader, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
class QZipPrivate
|
class QZipPrivate
|
||||||
{
|
{
|
||||||
|
@ -118,7 +118,7 @@ private:
|
|||||||
QZipReaderPrivate *d;
|
QZipReaderPrivate *d;
|
||||||
Q_DISABLE_COPY_MOVE(QZipReader)
|
Q_DISABLE_COPY_MOVE(QZipReader)
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QZipReader::FileInfo, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QZipReader::FileInfo, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QZipReader::Status, Q_PRIMITIVE_TYPE);
|
Q_DECLARE_TYPEINFO(QZipReader::Status, Q_PRIMITIVE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
@ -214,7 +214,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QGridLayoutBox, Q_MOVABLE_TYPE); // cannot be Q_PRIMITIVE_TYPE, as q_maximumSize, say, is != 0
|
Q_DECLARE_TYPEINFO(QGridLayoutBox, Q_RELOCATABLE_TYPE); // cannot be Q_PRIMITIVE_TYPE, as q_maximumSize, say, is != 0
|
||||||
|
|
||||||
bool operator==(const QGridLayoutBox &box1, const QGridLayoutBox &box2);
|
bool operator==(const QGridLayoutBox &box1, const QGridLayoutBox &box2);
|
||||||
inline bool operator!=(const QGridLayoutBox &box1, const QGridLayoutBox &box2)
|
inline bool operator!=(const QGridLayoutBox &box1, const QGridLayoutBox &box2)
|
||||||
|
@ -114,7 +114,7 @@ inline bool operator!=(const QShaderFormat &lhs, const QShaderFormat &rhs) noexc
|
|||||||
return !(lhs == rhs);
|
return !(lhs == rhs);
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QShaderFormat, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderFormat, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ public:
|
|||||||
QShaderFormat format;
|
QShaderFormat format;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QShaderGenerator, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderGenerator, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -111,9 +111,9 @@ inline bool operator!=(const QShaderGraph::Statement &lhs, const QShaderGraph::S
|
|||||||
return !(lhs == rhs);
|
return !(lhs == rhs);
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QShaderGraph, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderGraph, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QShaderGraph::Edge, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderGraph::Edge, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QShaderGraph::Statement, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderGraph::Statement, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ private:
|
|||||||
QShaderGraph m_graph;
|
QShaderGraph m_graph;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QShaderGraphLoader, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderGraphLoader, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -117,8 +117,8 @@ inline bool operator!=(const QShaderNode::Rule &lhs, const QShaderNode::Rule &rh
|
|||||||
return !(lhs == rhs);
|
return !(lhs == rhs);
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QShaderNode, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderNode, Q_RELOCATABLE_TYPE);
|
||||||
Q_DECLARE_TYPEINFO(QShaderNode::Rule, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderNode::Rule, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ inline bool operator!=(const QShaderNodePort &lhs, const QShaderNodePort &rhs) n
|
|||||||
return !(lhs == rhs);
|
return !(lhs == rhs);
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QShaderNodePort, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderNodePort, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ private:
|
|||||||
QHash<QString, QShaderNode> m_nodes;
|
QHash<QString, QShaderNode> m_nodes;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QShaderNodesLoader, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QShaderNodesLoader, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ private:
|
|||||||
QSharedDataPointer<QTextureFileDataPrivate> d;
|
QSharedDataPointer<QTextureFileDataPrivate> d;
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QTextureFileData, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QTextureFileData, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
Q_GUI_EXPORT QDebug operator<<(QDebug dbg, const QTextureFileData &d);
|
Q_GUI_EXPORT QDebug operator<<(QDebug dbg, const QTextureFileData &d);
|
||||||
|
|
||||||
|
@ -104,7 +104,7 @@ struct QVulkanLayer
|
|||||||
QVersionNumber specVersion;
|
QVersionNumber specVersion;
|
||||||
QByteArray description;
|
QByteArray description;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QVulkanLayer, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QVulkanLayer, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline bool operator==(const QVulkanLayer &lhs, const QVulkanLayer &rhs) noexcept
|
inline bool operator==(const QVulkanLayer &lhs, const QVulkanLayer &rhs) noexcept
|
||||||
{
|
{
|
||||||
@ -127,7 +127,7 @@ struct QVulkanExtension
|
|||||||
QByteArray name;
|
QByteArray name;
|
||||||
uint32_t version;
|
uint32_t version;
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QVulkanExtension, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QVulkanExtension, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
inline bool operator==(const QVulkanExtension &lhs, const QVulkanExtension &rhs) noexcept
|
inline bool operator==(const QVulkanExtension &lhs, const QVulkanExtension &rhs) noexcept
|
||||||
{
|
{
|
||||||
|
@ -74,7 +74,7 @@ public:
|
|||||||
return domain.isNull() && user.isNull() && password.isNull();
|
return domain.isNull() && user.isNull() && password.isNull();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QNetworkAuthenticationCredential, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QNetworkAuthenticationCredential, Q_RELOCATABLE_TYPE);
|
||||||
inline bool operator<(const QNetworkAuthenticationCredential &t1, const QString &t2)
|
inline bool operator<(const QNetworkAuthenticationCredential &t1, const QString &t2)
|
||||||
{ return t1.domain < t2; }
|
{ return t1.domain < t2; }
|
||||||
inline bool operator<(const QString &t1, const QNetworkAuthenticationCredential &t2)
|
inline bool operator<(const QString &t1, const QNetworkAuthenticationCredential &t2)
|
||||||
|
@ -91,7 +91,7 @@ private:
|
|||||||
void parseAndSetHeader(const QByteArray &key, const QByteArray &value);
|
void parseAndSetHeader(const QByteArray &key, const QByteArray &value);
|
||||||
};
|
};
|
||||||
|
|
||||||
Q_DECLARE_TYPEINFO(QNetworkHeadersPrivate::RawHeaderPair, Q_MOVABLE_TYPE);
|
Q_DECLARE_TYPEINFO(QNetworkHeadersPrivate::RawHeaderPair, Q_RELOCATABLE_TYPE);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user