diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/domain/applicationdomaintype.cpp | 6 | ||||
-rw-r--r-- | common/domain/applicationdomaintype.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index b0be729..9bc3d08 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp | |||
@@ -26,6 +26,12 @@ | |||
26 | #include "utils.h" //for generateUid() | 26 | #include "utils.h" //for generateUid() |
27 | #include <QFile> | 27 | #include <QFile> |
28 | 28 | ||
29 | QDebug Sink::ApplicationDomain::operator<< (QDebug d, const Sink::ApplicationDomain::Contact::Email &e) | ||
30 | { | ||
31 | d << "Email(" << e.email << ", " << e.type << ")"; | ||
32 | return d; | ||
33 | } | ||
34 | |||
29 | QDebug Sink::ApplicationDomain::operator<< (QDebug d, const Sink::ApplicationDomain::Mail::Contact &c) | 35 | QDebug Sink::ApplicationDomain::operator<< (QDebug d, const Sink::ApplicationDomain::Mail::Contact &c) |
30 | { | 36 | { |
31 | d << "Contact(" << c.name << ", " << c.emailAddress << ")"; | 37 | d << "Contact(" << c.name << ", " << c.emailAddress << ")"; |
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index deaa917..802efd8 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h | |||
@@ -389,6 +389,8 @@ struct SINK_EXPORT Contact : public Entity { | |||
389 | SINK_REFERENCE_PROPERTY(Addressbook, Addressbook, addressbook); | 389 | SINK_REFERENCE_PROPERTY(Addressbook, Addressbook, addressbook); |
390 | }; | 390 | }; |
391 | 391 | ||
392 | SINK_EXPORT QDebug operator<< (QDebug d, const Contact::Email &); | ||
393 | |||
392 | struct SINK_EXPORT Calendar : public Entity { | 394 | struct SINK_EXPORT Calendar : public Entity { |
393 | SINK_ENTITY(Calendar, calendar); | 395 | SINK_ENTITY(Calendar, calendar); |
394 | SINK_PROPERTY(QString, Name, name); | 396 | SINK_PROPERTY(QString, Name, name); |