mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #247 CValueObject: Added missing convertFromCVariant method to complement toCVariant.
This commit is contained in:
@@ -184,6 +184,9 @@ namespace BlackMisc
|
||||
//! Set from QVariant
|
||||
virtual void convertFromQVariant(const QVariant &variant) = 0;
|
||||
|
||||
//! Set from CVariant
|
||||
void convertFromCVariant(const CVariant &variant);
|
||||
|
||||
//! Contribute to JSON object
|
||||
virtual QJsonObject toJson() const { QJsonObject json; return json;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user