Changeset View
Changeset View
Standalone View
Standalone View
src/common/davitemdeletejob.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 DavItemDeleteJobPrivate; | ||||
30 | | ||||
29 | /** | 31 | /** | ||
30 | * @short A job to delete a DAV item on the DAV server. | 32 | * @short A job to delete a DAV item on the DAV server. | ||
31 | */ | 33 | */ | ||
32 | class KPIMKDAV_EXPORT DavItemDeleteJob : public DavJobBase | 34 | class KPIMKDAV_EXPORT DavItemDeleteJob : public DavJobBase | ||
33 | { | 35 | { | ||
34 | Q_OBJECT | 36 | Q_OBJECT | ||
35 | 37 | | |||
36 | public: | 38 | public: | ||
Show All 18 Lines | |||||
55 | /** | 57 | /** | ||
56 | * Returns the response code we got when fetching the fresh item. | 58 | * Returns the response code we got when fetching the fresh item. | ||
57 | */ | 59 | */ | ||
58 | Q_REQUIRED_RESULT int freshResponseCode() const; | 60 | Q_REQUIRED_RESULT int freshResponseCode() const; | ||
59 | 61 | | |||
60 | private: | 62 | private: | ||
61 | void davJobFinished(KJob *); | 63 | void davJobFinished(KJob *); | ||
62 | void conflictingItemFetched(KJob *); | 64 | void conflictingItemFetched(KJob *); | ||
63 | DavItem mItem; | 65 | | ||
64 | DavItem mFreshItem; | 66 | Q_DECLARE_PRIVATE(DavItemDeleteJob) | ||
65 | int mFreshResponseCode; | | |||
66 | }; | 67 | }; | ||
67 | } | 68 | } | ||
68 | 69 | | |||
69 | #endif | 70 | #endif |