mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Fixed value cache registerMetadata
(MS/KB slack)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
f448d50e29
commit
4d4d6fcdc9
@@ -60,6 +60,11 @@ namespace BlackMisc
|
||||
return result;
|
||||
}
|
||||
|
||||
void CValueCachePacket::registerMetadata()
|
||||
{
|
||||
MetaType::registerMetadata();
|
||||
qDBusRegisterMetaType<value_type>();
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
// CValueCache
|
||||
|
||||
@@ -43,6 +43,9 @@ namespace BlackMisc
|
||||
//! Discard timestamps and return as variant map.
|
||||
CVariantMap toVariantMap() const;
|
||||
|
||||
//! \copydoc CValueObject::registerMetadata`
|
||||
static void registerMetadata();
|
||||
|
||||
//! \private Iterator behaves like a CVariantMap::const_iterator with an additional timestamp() method.
|
||||
struct const_iterator : public CDictionary::const_iterator
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user