KDAV::DavItemFetchJob Class

class KDAV::DavItemFetchJob

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

Header: #include <KDAV/DavItemFetchJob>
CMake: find_package(KF6 REQUIRED COMPONENTS DAV)
target_link_libraries(mytarget PRIVATE KF6::DAV)
Inherits: KDAV::DavJobBase

Public Functions

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

Reimplemented Public Functions

virtual void start() override

Detailed Description

Member Function Documentation

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

Creates a new DAV item fetch job.

item The item that shall be fetched.

parent The parent object.

KDAV::DavItem DavItemFetchJob::item() const

Returns the fetched item including current ETag information.

[override virtual] void DavItemFetchJob::start()

Reimplements: KJob::start().

Starts the job.