KDAV 5.109.0
Public Member Functions | List of all members
KDAV::DavItemCreateJob

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.
 
- Public Member Functions inherited from KDAV::DavJobBase
 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

- Protected Member Functions inherited from KDAV::DavJobBase
 DavJobBase (DavJobBasePrivate *dd, QObject *parent=nullptr)
 
- Protected Attributes inherited from KDAV::DavJobBase
std::unique_ptr< DavJobBasePrivate > d_ptr
 

Detailed Description

A job to create a DAV item on the DAV server.

Constructor & Destructor Documentation

◆ DavItemCreateJob()

KDAV::DavItemCreateJob::DavItemCreateJob ( const DavItem item,
QObject *  parent = nullptr 
)
explicit

Creates a new DAV item create job.

Parameters
itemThe item that shall be created.
parentThe parent object.

Member Function Documentation

◆ item()

DavItem KDAV::DavItemCreateJob::item ( ) const

Returns the created DAV item including the correct identifier URL and current ETag information.

◆ start()

void KDAV::DavItemCreateJob::start ( )
override

Starts the job.