Add a const overload for QMetaType::iface()
Change-Id: I865dc51d466d90636e177556d95558ba66f466de Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
220510a885
commit
6d6fb7846c
@ -733,7 +733,11 @@ public:
|
||||
static void unregisterMutableViewFunction(QMetaType from, QMetaType to);
|
||||
|
||||
static void unregisterMetaType(QMetaType type);
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
|
||||
const QtPrivate::QMetaTypeInterface *iface() { return d_ptr; }
|
||||
#endif
|
||||
const QtPrivate::QMetaTypeInterface *iface() const { return d_ptr; }
|
||||
|
||||
private:
|
||||
int idHelper() const;
|
||||
|
Loading…
Reference in New Issue
Block a user