summaryrefslogtreecommitdiffstats
path: root/examples/dummyresource/resourcefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dummyresource/resourcefactory.cpp')
-rw-r--r--examples/dummyresource/resourcefactory.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/dummyresource/resourcefactory.cpp b/examples/dummyresource/resourcefactory.cpp
index cfce6e4..597bd95 100644
--- a/examples/dummyresource/resourcefactory.cpp
+++ b/examples/dummyresource/resourcefactory.cpp
@@ -55,9 +55,12 @@ class DummySynchronizer : public Sink::Synchronizer {
55 Sink::ApplicationDomain::Event::Ptr createEvent(const QByteArray &ridBuffer, const QMap<QString, QVariant> &data) 55 Sink::ApplicationDomain::Event::Ptr createEvent(const QByteArray &ridBuffer, const QMap<QString, QVariant> &data)
56 { 56 {
57 auto event = Sink::ApplicationDomain::Event::Ptr::create(); 57 auto event = Sink::ApplicationDomain::Event::Ptr::create();
58 event->setSummary(data.value("summary").toString()); 58 event->setExtractedUid(data.value("uid").toString());
59 event->setExtractedSummary(data.value("summary").toString());
60 event->setExtractedDescription(data.value("description").toString());
61 event->setExtractedStartTime(data.value("starttime").toDateTime());
62 event->setExtractedEndTime(data.value("endtime").toDateTime());
59 event->setProperty("remoteId", ridBuffer); 63 event->setProperty("remoteId", ridBuffer);
60 event->setDescription(data.value("description").toString());
61 return event; 64 return event;
62 } 65 }
63 66