mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +08:00
Ref T264, Ref T263 simple approach to remember last directory (load/save) in view
* utility function "unwrapCache" to unwrap cache data * fixed loading from file, also supporting memoized formats as well * remember last directory
This commit is contained in:
@@ -275,6 +275,16 @@ namespace BlackMisc
|
||||
//! \remark if data object unstrip from that, otherwise leave unchanged
|
||||
BLACKMISC_EXPORT QJsonObject swiftDataObjectValue(const QString &jsonString);
|
||||
|
||||
//! The value of a cache/setting object
|
||||
//! \remark if cache object unstrip from that, otherwise leave unchanged
|
||||
//! \remark format is type/value
|
||||
BLACKMISC_EXPORT QJsonObject unwrapCache(const QJsonObject &object);
|
||||
|
||||
//! The value of a cache/setting object
|
||||
//! \remark if cache object unstrip from that, otherwise leave unchanged
|
||||
//! \remark format is type/value
|
||||
BLACKMISC_EXPORT QJsonObject unwrapCache(const QString &jsonString);
|
||||
|
||||
/*!
|
||||
* Load JSON file and init by that
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user