Changeset View
Changeset View
Standalone View
Standalone View
src/akonadi/akonadistorage.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 36 | public: | |||
---|---|---|---|---|---|
47 | KJob *moveItems(Item::List item, Collection collection, QObject *parent = nullptr) override; | 47 | KJob *moveItems(Item::List item, Collection collection, QObject *parent = nullptr) override; | ||
48 | 48 | | |||
49 | KJob *createCollection(Collection collection, QObject *parent = nullptr) override; | 49 | KJob *createCollection(Collection collection, QObject *parent = nullptr) override; | ||
50 | KJob *updateCollection(Collection collection, QObject *parent = nullptr) override; | 50 | KJob *updateCollection(Collection collection, QObject *parent = nullptr) override; | ||
51 | KJob *removeCollection(Collection collection, QObject *parent = nullptr) override; | 51 | KJob *removeCollection(Collection collection, QObject *parent = nullptr) override; | ||
52 | 52 | | |||
53 | KJob *createTransaction() override; | 53 | KJob *createTransaction() override; | ||
54 | 54 | | |||
55 | KJob *createTag(Akonadi::Tag tag) override; | | |||
56 | KJob *updateTag(Akonadi::Tag tag) override; | | |||
57 | KJob *removeTag(Akonadi::Tag tag) override; | | |||
58 | | ||||
59 | CollectionFetchJobInterface *fetchCollections(Akonadi::Collection collection, FetchDepth depth) override; | 55 | CollectionFetchJobInterface *fetchCollections(Akonadi::Collection collection, FetchDepth depth) override; | ||
60 | ItemFetchJobInterface *fetchItems(Akonadi::Collection collection) override; | 56 | ItemFetchJobInterface *fetchItems(Akonadi::Collection collection) override; | ||
61 | ItemFetchJobInterface *fetchItem(Akonadi::Item item) override; | 57 | ItemFetchJobInterface *fetchItem(Akonadi::Item item) override; | ||
62 | ItemFetchJobInterface *fetchTagItems(Akonadi::Tag tag) override; | 58 | ItemFetchJobInterface *fetchTagItems(Akonadi::Tag tag) override; | ||
63 | TagFetchJobInterface *fetchTags() override; | 59 | TagFetchJobInterface *fetchTags() override; | ||
64 | 60 | | |||
65 | private: | 61 | private: | ||
66 | CollectionFetchJob::Type jobTypeFromDepth(StorageInterface::FetchDepth depth); | 62 | CollectionFetchJob::Type jobTypeFromDepth(StorageInterface::FetchDepth depth); | ||
67 | void configureItemFetchJob(ItemJob *job); | 63 | void configureItemFetchJob(ItemJob *job); | ||
68 | }; | 64 | }; | ||
69 | 65 | | |||
70 | } | 66 | } | ||
71 | 67 | | |||
72 | #endif // AKONADI_STORAGE_H | 68 | #endif // AKONADI_STORAGE_H |