KDAV::DavItemsFetchJob Class
class KDAV::DavItemsFetchJobA job that fetches a list of items from a DAV server using a MULTIGET query. More...
Header: | #include <KDAV/DavItemsFetchJob> |
CMake: | find_package(KF6 REQUIRED COMPONENTS DAV) target_link_libraries(mytarget PRIVATE KF6::DAV) |
Inherits: | KDAV::DavJobBase |
Public Functions
DavItemsFetchJob(const KDAV::DavUrl &collectionUrl, const QStringList &urls, QObject *parent = nullptr) | |
KDAV::DavItem | item(const QString &url) const |
KDAV::DavItem::List | items() const |
Reimplemented Public Functions
virtual void | start() override |
Detailed Description
Member Function Documentation
DavItemsFetchJob::DavItemsFetchJob(const KDAV::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
KDAV::DavItem DavItemsFetchJob::item(const QString &url) const
Return the item found at url
KDAV::DavItem::List DavItemsFetchJob::items() const
Returns the list of fetched items
[override virtual]
void DavItemsFetchJob::start()
Reimplements: KJob::start().
Starts the job.