KDAV 5.109.0
|
A job that fetches a list of items from a DAV server using a MULTIGET query. More...
#include <KDAV/DavItemsFetchJob>
Public Member Functions | |
DavItemsFetchJob (const DavUrl &collectionUrl, const QStringList &urls, QObject *parent=nullptr) | |
Creates a new items fetch job. | |
DavItem | item (const QString &url) const |
Return the item found at url . | |
DavItem::List | items () const |
Returns the list of fetched items. | |
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 a list of items from a DAV server using a MULTIGET query.
KDAV::DavItemsFetchJob::DavItemsFetchJob | ( | const DavUrl & | collectionUrl, |
const QStringList & | urls, | ||
QObject * | parent = nullptr |
||
) |
Creates a new items fetch job.
collectionUrl | The DAV collection on which to run the query |
urls | The list of URLs to fetch |
parent | The parent object |
DavItem KDAV::DavItemsFetchJob::item | ( | const QString & | url | ) | const |
Return the item found at url
.
DavItem::List KDAV::DavItemsFetchJob::items | ( | ) | const |
Returns the list of fetched items.
|
override |
Starts the job.