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

A job that fetches home sets for a principal. More...

#include <KDAV/DavPrincipalHomeSetsFetchJob>

Public Member Functions

 DavPrincipalHomeSetsFetchJob (const DavUrl &url, QObject *parent=nullptr)
 Creates a new DAV principals home sets fetch job.
 
QStringList homeSets () const
 Returns the found home sets.
 
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 home sets for a principal.

Constructor & Destructor Documentation

◆ DavPrincipalHomeSetsFetchJob()

KDAV::DavPrincipalHomeSetsFetchJob::DavPrincipalHomeSetsFetchJob ( const DavUrl url,
QObject *  parent = nullptr 
)
explicit

Creates a new DAV principals home sets fetch job.

Parameters
urlThe DAV URL of the DAV principal.
parentThe parent object.

Member Function Documentation

◆ homeSets()

QStringList KDAV::DavPrincipalHomeSetsFetchJob::homeSets ( ) const

Returns the found home sets.

◆ start()

void KDAV::DavPrincipalHomeSetsFetchJob::start ( )
override

Starts the job.