A job that fetches all DAV collection.
More...
#include <KDAV/DavCollectionsMultiFetchJob>
|
void | collectionDiscovered (KDAV::Protocol protocol, const QString &collectionUrl, const QString &configuredUrl) |
| This signal is emitted every time a new collection has been discovered.
|
|
A job that fetches all DAV collection.
This job is used to fetch all DAV collection that are available under a certain list of DAV URLs.
- Note
- This class just combines multiple calls of DavCollectionsFetchJob into one job.
◆ DavCollectionsMultiFetchJob()
KDAV::DavCollectionsMultiFetchJob::DavCollectionsMultiFetchJob |
( |
const DavUrl::List & |
urls, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
Creates a new DAV collections multi fetch job.
- Parameters
-
urls | The list of DAV URLs whose sub collections shall be fetched. |
parent | The parent object. |
◆ collectionDiscovered
void KDAV::DavCollectionsMultiFetchJob::collectionDiscovered |
( |
KDAV::Protocol |
protocol, |
|
|
const QString & |
collectionUrl, |
|
|
const QString & |
configuredUrl |
|
) |
| |
|
signal |
This signal is emitted every time a new collection has been discovered.
- Parameters
-
collectionUrl | The URL of the discovered collection |
configuredUrl | The URL given to the job |
◆ collections()
Returns the list of fetched DAV collections.
◆ start()
void KDAV::DavCollectionsMultiFetchJob::start |
( |
| ) |
|
|
override |