diff options
Diffstat (limited to 'common/datastorequery.cpp')
-rw-r--r-- | common/datastorequery.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/common/datastorequery.cpp b/common/datastorequery.cpp index 9f20ba9..ff255f4 100644 --- a/common/datastorequery.cpp +++ b/common/datastorequery.cpp | |||
@@ -21,10 +21,6 @@ | |||
21 | #include "log.h" | 21 | #include "log.h" |
22 | #include "applicationdomaintype.h" | 22 | #include "applicationdomaintype.h" |
23 | 23 | ||
24 | #include "folder.h" | ||
25 | #include "mail.h" | ||
26 | #include "event.h" | ||
27 | |||
28 | using namespace Sink; | 24 | using namespace Sink; |
29 | using namespace Sink::Storage; | 25 | using namespace Sink::Storage; |
30 | 26 | ||
@@ -394,20 +390,6 @@ QVector<QByteArray> DataStoreQuery::indexLookup(const QByteArray &property, cons | |||
394 | /* } */ | 390 | /* } */ |
395 | /* } */ | 391 | /* } */ |
396 | 392 | ||
397 | /* template <typename ... Args> */ | ||
398 | /* QSharedPointer<DataStoreQuery> prepareQuery(const QByteArray &type, Args && ... args) */ | ||
399 | /* { */ | ||
400 | /* if (type == ApplicationDomain::getTypeName<ApplicationDomain::Folder>()) { */ | ||
401 | /* return ApplicationDomain::TypeImplementation<ApplicationDomain::Folder>::prepareQuery(std::forward<Args>(args)...); */ | ||
402 | /* } else if (type == ApplicationDomain::getTypeName<ApplicationDomain::Mail>()) { */ | ||
403 | /* return ApplicationDomain::TypeImplementation<ApplicationDomain::Mail>::prepareQuery(std::forward<Args>(args)...); */ | ||
404 | /* } else if (type == ApplicationDomain::getTypeName<ApplicationDomain::Event>()) { */ | ||
405 | /* return ApplicationDomain::TypeImplementation<ApplicationDomain::Event>::prepareQuery(std::forward<Args>(args)...); */ | ||
406 | /* } */ | ||
407 | /* Q_ASSERT(false); */ | ||
408 | /* return QSharedPointer<DataStoreQuery>(); */ | ||
409 | /* } */ | ||
410 | |||
411 | QByteArrayList DataStoreQuery::executeSubquery(const Query &subquery) | 393 | QByteArrayList DataStoreQuery::executeSubquery(const Query &subquery) |
412 | { | 394 | { |
413 | Q_ASSERT(!subquery.type.isEmpty()); | 395 | Q_ASSERT(!subquery.type.isEmpty()); |