mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 03:45:30 +08:00
refs #784 CVariant can detect whether a value object supports memoized JSON and pick the appropriate methods to call.
This commit is contained in:
committed by
Klaus Basan
parent
5d7289adb3
commit
72a5a0e670
@@ -277,6 +277,12 @@ namespace BlackMisc
|
||||
//! \copydoc BlackMisc::Mixin::JsonByMetaClass::convertFromJson
|
||||
void convertFromJson(const QJsonObject &json);
|
||||
|
||||
//! To compact JSON format.
|
||||
QJsonObject toMemoizedJson() const;
|
||||
|
||||
//! From compact JSON format.
|
||||
void convertFromMemoizedJson(const QJsonObject &json);
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::DBusByMetaClass::marshallToDbus
|
||||
void marshallToDbus(QDBusArgument &argument) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user