Changeset View
Changeset View
Standalone View
Standalone View
src/common/davitemfetchjob.h
Show All 20 Lines | |||||
21 | 21 | | |||
22 | #include "kpimkdav_export.h" | 22 | #include "kpimkdav_export.h" | ||
23 | 23 | | |||
24 | #include "davitem.h" | 24 | #include "davitem.h" | ||
25 | #include "davjobbase.h" | 25 | #include "davjobbase.h" | ||
26 | #include "davurl.h" | 26 | #include "davurl.h" | ||
27 | 27 | | |||
28 | namespace KDAV { | 28 | namespace KDAV { | ||
29 | class DavItemFetchJobPrivate; | ||||
30 | | ||||
29 | /** | 31 | /** | ||
30 | * @short A job that fetches a DAV item from the DAV server. | 32 | * @short A job that fetches a DAV item from the DAV server. | ||
31 | */ | 33 | */ | ||
32 | class KPIMKDAV_EXPORT DavItemFetchJob : public DavJobBase | 34 | class KPIMKDAV_EXPORT DavItemFetchJob : public DavJobBase | ||
33 | { | 35 | { | ||
34 | Q_OBJECT | 36 | Q_OBJECT | ||
35 | 37 | | |||
36 | public: | 38 | public: | ||
Show All 12 Lines | |||||
49 | 51 | | |||
50 | /** | 52 | /** | ||
51 | * Returns the fetched item including current etag information. | 53 | * Returns the fetched item including current etag information. | ||
52 | */ | 54 | */ | ||
53 | Q_REQUIRED_RESULT DavItem item() const; | 55 | Q_REQUIRED_RESULT DavItem item() const; | ||
54 | 56 | | |||
55 | private: | 57 | private: | ||
56 | void davJobFinished(KJob *); | 58 | void davJobFinished(KJob *); | ||
57 | DavUrl mUrl; | 59 | Q_DECLARE_PRIVATE(DavItemFetchJob) | ||
58 | DavItem mItem; | | |||
59 | }; | 60 | }; | ||
60 | } | 61 | } | ||
61 | 62 | | |||
62 | #endif | 63 | #endif |