Changeset View
Changeset View
Standalone View
Standalone View
src/common/davitemcreatejob.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 DavItemCreateJobPrivate; | ||||
30 | | ||||
29 | /** | 31 | /** | ||
30 | * @short A job to create a DAV item on the DAV server. | 32 | * @short A job to create a DAV item on the DAV server. | ||
31 | */ | 33 | */ | ||
32 | class KPIMKDAV_EXPORT DavItemCreateJob : public DavJobBase | 34 | class KPIMKDAV_EXPORT DavItemCreateJob : public DavJobBase | ||
33 | { | 35 | { | ||
34 | Q_OBJECT | 36 | Q_OBJECT | ||
35 | 37 | | |||
36 | public: | 38 | public: | ||
Show All 16 Lines | |||||
53 | */ | 55 | */ | ||
54 | Q_REQUIRED_RESULT DavItem item() const; | 56 | Q_REQUIRED_RESULT DavItem item() const; | ||
55 | 57 | | |||
56 | Q_REQUIRED_RESULT QUrl itemUrl() const; | 58 | Q_REQUIRED_RESULT QUrl itemUrl() const; | ||
57 | 59 | | |||
58 | private: | 60 | private: | ||
59 | void davJobFinished(KJob *); | 61 | void davJobFinished(KJob *); | ||
60 | void itemRefreshed(KJob *); | 62 | void itemRefreshed(KJob *); | ||
61 | DavItem mItem; | 63 | | ||
62 | int mRedirectCount; | 64 | Q_DECLARE_PRIVATE(DavItemCreateJob) | ||
63 | }; | 65 | }; | ||
64 | } | 66 | } | ||
65 | 67 | | |||
66 | #endif | 68 | #endif |