Changeset View
Changeset View
Standalone View
Standalone View
tests/testlib/akonadifakestorage.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 35 | public: | |||
---|---|---|---|---|---|
45 | KJob *moveItems(Akonadi::Item::List items, Akonadi::Collection collection, QObject *parent) override; | 45 | KJob *moveItems(Akonadi::Item::List items, Akonadi::Collection collection, QObject *parent) override; | ||
46 | 46 | | |||
47 | KJob *createCollection(Akonadi::Collection collection, QObject *parent) override; | 47 | KJob *createCollection(Akonadi::Collection collection, QObject *parent) override; | ||
48 | KJob *updateCollection(Akonadi::Collection collection, QObject *parent) override; | 48 | KJob *updateCollection(Akonadi::Collection collection, QObject *parent) override; | ||
49 | KJob *removeCollection(Akonadi::Collection collection, QObject *parent) override; | 49 | KJob *removeCollection(Akonadi::Collection collection, QObject *parent) override; | ||
50 | 50 | | |||
51 | KJob *createTransaction(QObject *parent) override; | 51 | KJob *createTransaction(QObject *parent) override; | ||
52 | 52 | | |||
53 | Akonadi::CollectionFetchJobInterface *fetchCollections(Akonadi::Collection collection, FetchDepth depth) override; | 53 | Akonadi::CollectionFetchJobInterface *fetchCollections(Akonadi::Collection collection, FetchDepth depth, QObject *parent) override; | ||
54 | Akonadi::ItemFetchJobInterface *fetchItems(Akonadi::Collection collection, QObject *parent) override; | 54 | Akonadi::ItemFetchJobInterface *fetchItems(Akonadi::Collection collection, QObject *parent) override; | ||
55 | Akonadi::ItemFetchJobInterface *fetchItem(Akonadi::Item item, QObject *parent) override; | 55 | Akonadi::ItemFetchJobInterface *fetchItem(Akonadi::Item item, QObject *parent) override; | ||
56 | 56 | | |||
57 | private: | 57 | private: | ||
58 | Akonadi::Collection::Id findId(const Akonadi::Collection &collection); | 58 | Akonadi::Collection::Id findId(const Akonadi::Collection &collection); | ||
59 | Akonadi::Item::Id findId(const Akonadi::Item &item); | 59 | Akonadi::Item::Id findId(const Akonadi::Item &item); | ||
60 | Akonadi::Collection::List collectChildren(const Akonadi::Collection &root); | 60 | Akonadi::Collection::List collectChildren(const Akonadi::Collection &root); | ||
61 | 61 | | |||
62 | AkonadiFakeData *m_data; | 62 | AkonadiFakeData *m_data; | ||
63 | }; | 63 | }; | ||
64 | 64 | | |||
65 | } | 65 | } | ||
66 | 66 | | |||
67 | #endif // TESTLIB_AKONADIFAKESTORAGE_H | 67 | #endif // TESTLIB_AKONADIFAKESTORAGE_H |