summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/client/main.cpp2
-rw-r--r--examples/dummyresource/resourcefactory.h4
-rw-r--r--examples/imapresource/imapresource.h4
-rw-r--r--examples/maildirresource/maildirresource.h4
-rw-r--r--examples/mailtransportresource/mailtransportresource.h4
5 files changed, 9 insertions, 9 deletions
diff --git a/examples/client/main.cpp b/examples/client/main.cpp
index 07e780e..f4b472f 100644
--- a/examples/client/main.cpp
+++ b/examples/client/main.cpp
@@ -120,7 +120,7 @@ public:
120 syncButton->setText("Synchronize!"); 120 syncButton->setText("Synchronize!");
121 QObject::connect(syncButton, &QPushButton::pressed, []() { 121 QObject::connect(syncButton, &QPushButton::pressed, []() {
122 Sink::Query query; 122 Sink::Query query;
123 query.resources << "org.kde.dummy.instance1"; 123 query.resources << "sink.dummy.instance1";
124 Sink::Store::synchronize(query).exec(); 124 Sink::Store::synchronize(query).exec();
125 }); 125 });
126 126
diff --git a/examples/dummyresource/resourcefactory.h b/examples/dummyresource/resourcefactory.h
index a7d0281..9192c68 100644
--- a/examples/dummyresource/resourcefactory.h
+++ b/examples/dummyresource/resourcefactory.h
@@ -27,7 +27,7 @@
27#include <flatbuffers/flatbuffers.h> 27#include <flatbuffers/flatbuffers.h>
28 28
29//TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA 29//TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA
30#define PLUGIN_NAME "org.kde.dummy" 30#define PLUGIN_NAME "sink.dummy"
31 31
32class DummyResource : public Sink::GenericResource 32class DummyResource : public Sink::GenericResource
33{ 33{
@@ -42,7 +42,7 @@ public:
42class DummyResourceFactory : public Sink::ResourceFactory 42class DummyResourceFactory : public Sink::ResourceFactory
43{ 43{
44 Q_OBJECT 44 Q_OBJECT
45 Q_PLUGIN_METADATA(IID "org.kde.dummy") 45 Q_PLUGIN_METADATA(IID "sink.dummy")
46 Q_INTERFACES(Sink::ResourceFactory) 46 Q_INTERFACES(Sink::ResourceFactory)
47 47
48public: 48public:
diff --git a/examples/imapresource/imapresource.h b/examples/imapresource/imapresource.h
index 0c3b541..534a04e 100644
--- a/examples/imapresource/imapresource.h
+++ b/examples/imapresource/imapresource.h
@@ -26,7 +26,7 @@
26#include <flatbuffers/flatbuffers.h> 26#include <flatbuffers/flatbuffers.h>
27 27
28//TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA 28//TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA
29#define PLUGIN_NAME "org.kde.imap" 29#define PLUGIN_NAME "sink.imap"
30 30
31class ImapMailAdaptorFactory; 31class ImapMailAdaptorFactory;
32class ImapFolderAdaptorFactory; 32class ImapFolderAdaptorFactory;
@@ -56,7 +56,7 @@ private:
56class ImapResourceFactory : public Sink::ResourceFactory 56class ImapResourceFactory : public Sink::ResourceFactory
57{ 57{
58 Q_OBJECT 58 Q_OBJECT
59 Q_PLUGIN_METADATA(IID "org.kde.imap") 59 Q_PLUGIN_METADATA(IID "sink.imap")
60 Q_INTERFACES(Sink::ResourceFactory) 60 Q_INTERFACES(Sink::ResourceFactory)
61 61
62public: 62public:
diff --git a/examples/maildirresource/maildirresource.h b/examples/maildirresource/maildirresource.h
index d481b22..76aef77 100644
--- a/examples/maildirresource/maildirresource.h
+++ b/examples/maildirresource/maildirresource.h
@@ -26,7 +26,7 @@
26#include <flatbuffers/flatbuffers.h> 26#include <flatbuffers/flatbuffers.h>
27 27
28//TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA 28//TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA
29#define PLUGIN_NAME "org.kde.maildir" 29#define PLUGIN_NAME "sink.maildir"
30 30
31class MaildirMailAdaptorFactory; 31class MaildirMailAdaptorFactory;
32class MaildirFolderAdaptorFactory; 32class MaildirFolderAdaptorFactory;
@@ -58,7 +58,7 @@ private:
58class MaildirResourceFactory : public Sink::ResourceFactory 58class MaildirResourceFactory : public Sink::ResourceFactory
59{ 59{
60 Q_OBJECT 60 Q_OBJECT
61 Q_PLUGIN_METADATA(IID "org.kde.maildir") 61 Q_PLUGIN_METADATA(IID "sink.maildir")
62 Q_INTERFACES(Sink::ResourceFactory) 62 Q_INTERFACES(Sink::ResourceFactory)
63 63
64public: 64public:
diff --git a/examples/mailtransportresource/mailtransportresource.h b/examples/mailtransportresource/mailtransportresource.h
index 6622ea6..cf6abf2 100644
--- a/examples/mailtransportresource/mailtransportresource.h
+++ b/examples/mailtransportresource/mailtransportresource.h
@@ -23,7 +23,7 @@
23#include "common/genericresource.h" 23#include "common/genericresource.h"
24 24
25//TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA 25//TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA
26#define PLUGIN_NAME "org.kde.mailtransport" 26#define PLUGIN_NAME "sink.mailtransport"
27 27
28class MailtransportResource : public Sink::GenericResource 28class MailtransportResource : public Sink::GenericResource
29{ 29{
@@ -46,7 +46,7 @@ private:
46class MailtransportResourceFactory : public Sink::ResourceFactory 46class MailtransportResourceFactory : public Sink::ResourceFactory
47{ 47{
48 Q_OBJECT 48 Q_OBJECT
49 Q_PLUGIN_METADATA(IID "org.kde.mailtransport") 49 Q_PLUGIN_METADATA(IID "sink.mailtransport")
50 Q_INTERFACES(Sink::ResourceFactory) 50 Q_INTERFACES(Sink::ResourceFactory)
51 51
52public: 52public: