Changeset View
Changeset View
Standalone View
Standalone View
src/common/davitemmodifyjob.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 DavItemModifyJobPrivate; | ||||
30 | | ||||
29 | /** | 31 | /** | ||
30 | * @short A job that modifies a DAV item on the DAV server. | 32 | * @short A job that modifies a DAV item on the DAV server. | ||
31 | */ | 33 | */ | ||
32 | class KPIMKDAV_EXPORT DavItemModifyJob : public DavJobBase | 34 | class KPIMKDAV_EXPORT DavItemModifyJob : public DavJobBase | ||
33 | { | 35 | { | ||
34 | Q_OBJECT | 36 | Q_OBJECT | ||
35 | 37 | | |||
36 | public: | 38 | public: | ||
Show All 26 Lines | |||||
63 | * Returns the response code we got when fetching the fresh item. | 65 | * Returns the response code we got when fetching the fresh item. | ||
64 | */ | 66 | */ | ||
65 | Q_REQUIRED_RESULT int freshResponseCode() const; | 67 | Q_REQUIRED_RESULT int freshResponseCode() const; | ||
66 | 68 | | |||
67 | private: | 69 | private: | ||
68 | void davJobFinished(KJob *); | 70 | void davJobFinished(KJob *); | ||
69 | void itemRefreshed(KJob *); | 71 | void itemRefreshed(KJob *); | ||
70 | void conflictingItemFetched(KJob *); | 72 | void conflictingItemFetched(KJob *); | ||
71 | DavItem mItem; | 73 | | ||
72 | DavItem mFreshItem; | 74 | Q_DECLARE_PRIVATE(DavItemModifyJob) | ||
73 | int mFreshResponseCode; | | |||
74 | }; | 75 | }; | ||
75 | } | 76 | } | ||
76 | 77 | | |||
77 | #endif | 78 | #endif |