diff options
Diffstat (limited to 'src/corelib/kernel/qmetatype.cpp')
-rw-r--r-- | src/corelib/kernel/qmetatype.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/corelib/kernel/qmetatype.cpp b/src/corelib/kernel/qmetatype.cpp index 3f47f03f42..1ba5f3979c 100644 --- a/src/corelib/kernel/qmetatype.cpp +++ b/src/corelib/kernel/qmetatype.cpp @@ -1485,12 +1485,6 @@ public: stream << qulonglong(*data); return true; } - bool delegate(const QCborSimpleType *data) - { - // TODO just define a normal QDataStream operator - stream << quint8(*data); - return true; - } bool delegate(const QMetaTypeSwitcher::NotBuiltinType *data) { const QVector<QCustomTypeInfo> * const ct = customTypes(); @@ -1542,14 +1536,6 @@ public: *const_cast<unsigned long*>(data) = l; return true; } - bool delegate(const QCborSimpleType *data) - { - // TODO just define a normal QDataStream operator - quint8 l; - stream >> l; - *const_cast<QCborSimpleType*>(data) = QCborSimpleType(l); - return true; - } bool delegate(const QMetaTypeSwitcher::NotBuiltinType *data) { const QVector<QCustomTypeInfo> * const ct = customTypes(); |