Changeset View
Changeset View
Standalone View
Standalone View
src/common/davitemsfetchjob.h
Show All 24 Lines | |||||
25 | #include "davitem.h" | 25 | #include "davitem.h" | ||
26 | #include "davjobbase.h" | 26 | #include "davjobbase.h" | ||
27 | #include "davurl.h" | 27 | #include "davurl.h" | ||
28 | 28 | | |||
29 | #include <QMap> | 29 | #include <QMap> | ||
30 | #include <QStringList> | 30 | #include <QStringList> | ||
31 | 31 | | |||
32 | namespace KDAV { | 32 | namespace KDAV { | ||
33 | class DavItemsFetchJobPrivate; | ||||
34 | | ||||
33 | /** | 35 | /** | ||
34 | * @short A job that fetches a list of items from a DAV server using a multiget query. | 36 | * @short A job that fetches a list of items from a DAV server using a multiget query. | ||
35 | */ | 37 | */ | ||
36 | class KPIMKDAV_EXPORT DavItemsFetchJob : public DavJobBase | 38 | class KPIMKDAV_EXPORT DavItemsFetchJob : public DavJobBase | ||
37 | { | 39 | { | ||
38 | Q_OBJECT | 40 | Q_OBJECT | ||
39 | 41 | | |||
40 | public: | 42 | public: | ||
Show All 18 Lines | |||||
59 | 61 | | |||
60 | /** | 62 | /** | ||
61 | * Return the item found at @p url | 63 | * Return the item found at @p url | ||
62 | */ | 64 | */ | ||
63 | Q_REQUIRED_RESULT DavItem item(const QString &url) const; | 65 | Q_REQUIRED_RESULT DavItem item(const QString &url) const; | ||
64 | 66 | | |||
65 | private: | 67 | private: | ||
66 | void davJobFinished(KJob *); | 68 | void davJobFinished(KJob *); | ||
67 | DavUrl mCollectionUrl; | 69 | Q_DECLARE_PRIVATE(DavItemsFetchJob) | ||
68 | QStringList mUrls; | | |||
69 | QMap<QString, DavItem> mItems; | | |||
70 | }; | 70 | }; | ||
71 | } | 71 | } | ||
72 | 72 | | |||
73 | #endif | 73 | #endif |