KDAV 5.109.0
davprincipalhomesetsfetchjob.h
1/*
2 SPDX-FileCopyrightText: 2010 Grégory Oestreicher <greg@kamago.net>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KDAV_DAVPRINCIPALHOMESETSFETCHJOB_H
8#define KDAV_DAVPRINCIPALHOMESETSFETCHJOB_H
9
10#include "kdav_export.h"
11
12#include "davjobbase.h"
13#include "davurl.h"
14
15#include <QStringList>
16
17namespace KDAV
18{
19class DavPrincipalHomeSetsFetchJobPrivate;
20
26class KDAV_EXPORT DavPrincipalHomeSetsFetchJob : public DavJobBase
27{
28 Q_OBJECT
29
30public:
37 explicit DavPrincipalHomeSetsFetchJob(const DavUrl &url, QObject *parent = nullptr);
38
42 void start() override;
43
47 Q_REQUIRED_RESULT QStringList homeSets() const;
48
49private:
50 Q_DECLARE_PRIVATE(DavPrincipalHomeSetsFetchJob)
51};
52}
53
54#endif
base class for the jobs used by the resource.
Definition davjobbase.h:27
A job that fetches home sets for a principal.
Definition davprincipalhomesetsfetchjob.h:27
void start() override
Starts the job.
DavPrincipalHomeSetsFetchJob(const DavUrl &url, QObject *parent=nullptr)
Creates a new DAV principals home sets fetch job.
QStringList homeSets() const
Returns the found home sets.
A helper class to combine URL and protocol of a DAV URL.
Definition davurl.h:27
The KDAV namespace.
Definition davjobbase.h:17