diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-27 16:00:50 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-27 16:00:50 -0600 |
commit | 5275b0f173579162176e2340cbb9eaedafe8334a (patch) | |
tree | bc0d47d4609c39950a44f0346f6231500b9bc1b0 /common/domain | |
parent | 4333b8fe03d50ae9cfd5dfb5c656cc48302dc072 (diff) | |
download | sink-5275b0f173579162176e2340cbb9eaedafe8334a.tar.gz sink-5275b0f173579162176e2340cbb9eaedafe8334a.zip |
Adjusted docs and test.
Diffstat (limited to 'common/domain')
-rw-r--r-- | common/domain/applicationdomaintype.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index 602d54c..1250455 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h | |||
@@ -270,7 +270,17 @@ public: | |||
270 | bool hasProperty(const QByteArray &key) const; | 270 | bool hasProperty(const QByteArray &key) const; |
271 | 271 | ||
272 | QVariant getProperty(const QByteArray &key) const; | 272 | QVariant getProperty(const QByteArray &key) const; |
273 | |||
274 | /** | ||
275 | * Set a property and record a changed property | ||
276 | * | ||
277 | * If the propery is available and did not change the call will be ignored. | ||
278 | */ | ||
273 | void setProperty(const QByteArray &key, const QVariant &value); | 279 | void setProperty(const QByteArray &key, const QVariant &value); |
280 | |||
281 | /** | ||
282 | * Convenience method to set a reference property. | ||
283 | */ | ||
274 | void setProperty(const QByteArray &key, const ApplicationDomainType &value); | 284 | void setProperty(const QByteArray &key, const ApplicationDomainType &value); |
275 | 285 | ||
276 | QByteArray getBlobProperty(const QByteArray &key) const; | 286 | QByteArray getBlobProperty(const QByteArray &key) const; |