summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/domain/applicationdomaintype.h4
-rw-r--r--common/resourcefacade.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h
index 2c93639..af2920c 100644
--- a/common/domain/applicationdomaintype.h
+++ b/common/domain/applicationdomaintype.h
@@ -275,7 +275,7 @@ struct SINK_EXPORT SinkAccount : public ApplicationDomainType {
275 275
276 SINK_PROPERTY(QString, Name, name); 276 SINK_PROPERTY(QString, Name, name);
277 SINK_PROPERTY(QString, Icon, icon); 277 SINK_PROPERTY(QString, Icon, icon);
278 SINK_PROPERTY(QString, AccountType, accountType); 278 SINK_PROPERTY(QString, AccountType, type);
279 SINK_STATUS_PROPERTY(int, Status, status); 279 SINK_STATUS_PROPERTY(int, Status, status);
280 SINK_STATUS_PROPERTY(ApplicationDomain::Error, Error, error); 280 SINK_STATUS_PROPERTY(ApplicationDomain::Error, Error, error);
281 SINK_STATUS_PROPERTY(ApplicationDomain::Progress, Progress, progress); 281 SINK_STATUS_PROPERTY(ApplicationDomain::Progress, Progress, progress);
@@ -296,7 +296,7 @@ struct SINK_EXPORT SinkResource : public ApplicationDomainType {
296 virtual ~SinkResource(); 296 virtual ~SinkResource();
297 297
298 SINK_REFERENCE_PROPERTY(SinkAccount, Account, account); 298 SINK_REFERENCE_PROPERTY(SinkAccount, Account, account);
299 SINK_PROPERTY(QByteArray, ResourceType, resourceType); 299 SINK_PROPERTY(QByteArray, ResourceType, type);
300 SINK_PROPERTY(QByteArrayList, Capabilities, capabilities); 300 SINK_PROPERTY(QByteArrayList, Capabilities, capabilities);
301 SINK_STATUS_PROPERTY(int, Status, status); 301 SINK_STATUS_PROPERTY(int, Status, status);
302 SINK_STATUS_PROPERTY(ApplicationDomain::Error, Error, error); 302 SINK_STATUS_PROPERTY(ApplicationDomain::Error, Error, error);
diff --git a/common/resourcefacade.cpp b/common/resourcefacade.cpp
index aee5706..6747938 100644
--- a/common/resourcefacade.cpp
+++ b/common/resourcefacade.cpp
@@ -279,7 +279,7 @@ QPair<KAsync::Job<void>, typename Sink::ResultEmitter<typename ApplicationDomain
279} 279}
280 280
281 281
282AccountFacade::AccountFacade() : LocalStorageFacade<Sink::ApplicationDomain::SinkAccount>("accounts", "type") 282AccountFacade::AccountFacade() : LocalStorageFacade<Sink::ApplicationDomain::SinkAccount>("accounts", ApplicationDomain::SinkAccount::AccountType::name)
283{ 283{
284} 284}
285 285