diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-20 19:07:07 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-20 19:07:07 +0100 |
commit | bdb01c2c068df326f5a8328ed1492ab1bea388c5 (patch) | |
tree | 25c2ee1b29bc481b6914c244ed9ca194b1415d16 /common/facadefactory.cpp | |
parent | 17e7ee40c9185c0505883853345fd6024c675b1a (diff) | |
download | sink-bdb01c2c068df326f5a8328ed1492ab1bea388c5.tar.gz sink-bdb01c2c068df326f5a8328ed1492ab1bea388c5.zip |
Renamed Akonadi2 to Sink
(except for documentation).
Diffstat (limited to 'common/facadefactory.cpp')
-rw-r--r-- | common/facadefactory.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/facadefactory.cpp b/common/facadefactory.cpp index 707d9ad..d9ee5f7 100644 --- a/common/facadefactory.cpp +++ b/common/facadefactory.cpp | |||
@@ -22,7 +22,7 @@ | |||
22 | #include "resourcefacade.h" | 22 | #include "resourcefacade.h" |
23 | #include "resource.h" | 23 | #include "resource.h" |
24 | 24 | ||
25 | using namespace Akonadi2; | 25 | using namespace Sink; |
26 | 26 | ||
27 | QMutex FacadeFactory::sMutex; | 27 | QMutex FacadeFactory::sMutex; |
28 | 28 | ||
@@ -54,7 +54,7 @@ void FacadeFactory::resetFactory() | |||
54 | 54 | ||
55 | void FacadeFactory::registerStaticFacades() | 55 | void FacadeFactory::registerStaticFacades() |
56 | { | 56 | { |
57 | registerFacade<Akonadi2::ApplicationDomain::AkonadiResource, ResourceFacade>(QByteArray()); | 57 | registerFacade<Sink::ApplicationDomain::SinkResource, ResourceFacade>(QByteArray()); |
58 | } | 58 | } |
59 | 59 | ||
60 | std::shared_ptr<void> FacadeFactory::getFacade(const QByteArray &resource, const QByteArray &instanceIdentifier, const QByteArray &typeName) | 60 | std::shared_ptr<void> FacadeFactory::getFacade(const QByteArray &resource, const QByteArray &instanceIdentifier, const QByteArray &typeName) |
@@ -65,7 +65,7 @@ std::shared_ptr<void> FacadeFactory::getFacade(const QByteArray &resource, const | |||
65 | if (!mFacadeRegistry.contains(k)) { | 65 | if (!mFacadeRegistry.contains(k)) { |
66 | locker.unlock(); | 66 | locker.unlock(); |
67 | //This will call FacadeFactory::instace() internally | 67 | //This will call FacadeFactory::instace() internally |
68 | Akonadi2::ResourceFactory::load(QString::fromLatin1(resource)); | 68 | Sink::ResourceFactory::load(QString::fromLatin1(resource)); |
69 | locker.relock(); | 69 | locker.relock(); |
70 | } | 70 | } |
71 | 71 | ||