diff options
Diffstat (limited to 'examples/dummyresource/resourcefactory.cpp')
-rw-r--r-- | examples/dummyresource/resourcefactory.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/dummyresource/resourcefactory.cpp b/examples/dummyresource/resourcefactory.cpp index 5f42262..674aca7 100644 --- a/examples/dummyresource/resourcefactory.cpp +++ b/examples/dummyresource/resourcefactory.cpp | |||
@@ -143,17 +143,6 @@ DummyResource::~DummyResource() | |||
143 | 143 | ||
144 | } | 144 | } |
145 | 145 | ||
146 | void DummyResource::removeDataFromDisk() | ||
147 | { | ||
148 | removeFromDisk(mResourceInstanceIdentifier); | ||
149 | } | ||
150 | |||
151 | void DummyResource::removeFromDisk(const QByteArray &instanceIdentifier) | ||
152 | { | ||
153 | GenericResource::removeFromDisk(instanceIdentifier); | ||
154 | Sink::Storage(Sink::storageLocation(), instanceIdentifier + ".synchronization", Sink::Storage::ReadWrite).removeFromDisk(); | ||
155 | } | ||
156 | |||
157 | KAsync::Job<void> DummyResource::inspect(int inspectionType, const QByteArray &inspectionId, const QByteArray &domainType, const QByteArray &entityId, const QByteArray &property, const QVariant &expectedValue) | 146 | KAsync::Job<void> DummyResource::inspect(int inspectionType, const QByteArray &inspectionId, const QByteArray &domainType, const QByteArray &entityId, const QByteArray &property, const QVariant &expectedValue) |
158 | { | 147 | { |
159 | 148 | ||