KDAV 5.109.0
|
A job to create a DAV item on the DAV server. More...
#include <KDAV/DavItemCreateJob>
Public Member Functions | |
DavItemCreateJob (const DavItem &item, QObject *parent=nullptr) | |
Creates a new DAV item create job. | |
DavItem | item () const |
Returns the created DAV item including the correct identifier URL and current ETag information. | |
QUrl | itemUrl () const |
void | start () override |
Starts the job. | |
![]() | |
DavJobBase (QObject *parent=nullptr) | |
bool | canRetryLater () const |
Check if the job can be retried later. | |
Error | davError () const |
Returns a instance of the KDAV:Error to be able to translate the error. | |
bool | hasConflict () const |
Check if the job failed because of a conflict. | |
int | latestResponseCode () const |
Get the latest response code. | |
Additional Inherited Members | |
![]() | |
DavJobBase (DavJobBasePrivate *dd, QObject *parent=nullptr) | |
![]() | |
std::unique_ptr< DavJobBasePrivate > | d_ptr |
A job to create a DAV item on the DAV server.
|
explicit |
Creates a new DAV item create job.
item | The item that shall be created. |
parent | The parent object. |
DavItem KDAV::DavItemCreateJob::item | ( | ) | const |
Returns the created DAV item including the correct identifier URL and current ETag information.
|
override |
Starts the job.