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

A job that fetches a DAV item from the DAV server. More...

#include <KDAV/DavItemFetchJob>

Public Member Functions

 DavItemFetchJob (const DavItem &item, QObject *parent=nullptr)
 Creates a new DAV item fetch job.
 
DavItem item () const
 Returns the fetched item including current ETag information.
 
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 that fetches a DAV item from the DAV server.

Constructor & Destructor Documentation

◆ DavItemFetchJob()

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

Creates a new DAV item fetch job.

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

Member Function Documentation

◆ item()

DavItem KDAV::DavItemFetchJob::item ( ) const

Returns the fetched item including current ETag information.

◆ start()

void KDAV::DavItemFetchJob::start ( )
override

Starts the job.