KDAV 5.109.0
|
A job that fetches all DAV collection. More...
#include <KDAV/DavCollectionsFetchJob>
Signals | |
void | collectionDiscovered (KDAV::Protocol protocol, const QString &collectionUrl, const QString &configuredUrl) |
This signal is emitted every time a new collection has been discovered. | |
Public Member Functions | |
DavCollectionsFetchJob (const DavUrl &url, QObject *parent=nullptr) | |
Creates a new DAV collections fetch job. | |
DavCollection::List | collections () const |
Returns the list of fetched DAV collections. | |
DavUrl | davUrl () const |
Return the DavUrl used by this job. | |
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 that fetches all DAV collection.
This job is used to fetch all DAV collection that are available under a certain DAV URL.
|
explicit |
Creates a new DAV collections fetch job.
url | The DAV URL of the DAV collection whose sub collections shall be fetched. |
parent | The parent object. |
|
signal |
This signal is emitted every time a new collection has been discovered.
collectionUrl | The URL of the discovered collection |
configuredUrl | The URL given to the job |
DavCollection::List KDAV::DavCollectionsFetchJob::collections | ( | ) | const |
Returns the list of fetched DAV collections.
|
override |
Starts the job.