diff options
Diffstat (limited to 'common/domain/applicationdomaintype.cpp')
-rw-r--r-- | common/domain/applicationdomaintype.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index 1649cb4..df10327 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp | |||
@@ -64,6 +64,12 @@ ApplicationDomainType::~ApplicationDomainType() | |||
64 | { | 64 | { |
65 | } | 65 | } |
66 | 66 | ||
67 | bool ApplicationDomainType::hasProperty(const QByteArray &key) const | ||
68 | { | ||
69 | Q_ASSERT(mAdaptor); | ||
70 | return mAdaptor->availableProperties().contains(key); | ||
71 | } | ||
72 | |||
67 | QVariant ApplicationDomainType::getProperty(const QByteArray &key) const | 73 | QVariant ApplicationDomainType::getProperty(const QByteArray &key) const |
68 | { | 74 | { |
69 | Q_ASSERT(mAdaptor); | 75 | Q_ASSERT(mAdaptor); |