7#ifndef KDAV_DAVPRINCIPALSEARCHJOB_H
8#define KDAV_DAVPRINCIPALSEARCHJOB_H
10#include "kdav_export.h"
12#include "davjobbase.h"
19class DavPrincipalSearchJobPrivate;
50 QString propertyNamespace;
86 Q_REQUIRED_RESULT QVector<Result>
results()
const;
base class for the jobs used by the resource.
Definition davjobbase.h:27
A job that search a DAV principal on a server.
Definition davprincipalsearchjob.h:32
void fetchProperty(const QString &name, const QString &ns=QString())
Add a new property to fetch from the server.
DavPrincipalSearchJob(const DavUrl &url, FilterType type, const QString &filter, QObject *parent=nullptr)
Creates a new DAV principal search job.
QVector< Result > results() const
Get the job results.
DavUrl davUrl() const
Return the DavUrl used by this job.
void start() override
Starts the job.
FilterType
Types of search that are supported by this job.
Definition davprincipalsearchjob.h:41
A helper class to combine URL and protocol of a DAV URL.
Definition davurl.h:27
The KDAV namespace.
Definition davjobbase.h:17
Simple struct to hold the search job results.
Definition davprincipalsearchjob.h:49