From abc90b737074d93f73490a77e1eb1e1666dac375 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 6 Jul 2016 09:58:34 +0200 Subject: Test the resource status --- examples/dummyresource/resourcefactory.h | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/dummyresource/resourcefactory.h') diff --git a/examples/dummyresource/resourcefactory.h b/examples/dummyresource/resourcefactory.h index 1c51b00..a7d0281 100644 --- a/examples/dummyresource/resourcefactory.h +++ b/examples/dummyresource/resourcefactory.h @@ -35,6 +35,7 @@ public: DummyResource(const QByteArray &instanceIdentifier, const QSharedPointer &pipeline = QSharedPointer()); virtual ~DummyResource(); + KAsync::Job synchronizeWithSource() Q_DECL_OVERRIDE; KAsync::Job inspect(int inspectionType, const QByteArray &inspectionId, const QByteArray &domainType, const QByteArray &entityId, const QByteArray &property, const QVariant &expectedValue) Q_DECL_OVERRIDE; }; -- cgit v1.2.3 From 81fa4c3635a029b1c8f9cc3cd670f0b04f1c3f21 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 8 Jul 2016 11:22:40 +0200 Subject: Shorten the types to be more distinctive. The org.kde prefix is useless and possibly misleading. Simply prefixing with sink is more unique and shorter. --- examples/dummyresource/resourcefactory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/dummyresource/resourcefactory.h') 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 @@ #include //TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA -#define PLUGIN_NAME "org.kde.dummy" +#define PLUGIN_NAME "sink.dummy" class DummyResource : public Sink::GenericResource { @@ -42,7 +42,7 @@ public: class DummyResourceFactory : public Sink::ResourceFactory { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.kde.dummy") + Q_PLUGIN_METADATA(IID "sink.dummy") Q_INTERFACES(Sink::ResourceFactory) public: -- cgit v1.2.3