Kgapi

contactgroupdeletejob.h
1/*
2 * This file is part of LibKGAPI library
3 *
4 * SPDX-FileCopyrightText: 2023 Claudio Cambra <claudio.cambra@kde.org>
5 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6 *
7 */
8
9#pragma once
10
11#include "deletejob.h"
12#include "kgapipeople_export.h"
13
14namespace KGAPI2::People
15{
16
17class KGAPIPEOPLE_EXPORT ContactGroupDeleteJob : public KGAPI2::DeleteJob
18{
19 Q_OBJECT
20
21public:
22 explicit ContactGroupDeleteJob(const QStringList &contactGroupResourceNames, const AccountPtr &account, QObject *parent = nullptr);
23 explicit ContactGroupDeleteJob(const QString &contactGroupResourceName, const AccountPtr &account, QObject* parent = nullptr);
24 ~ContactGroupDeleteJob();
25
26protected:
27 void start() override;
28 void handleReply(const QNetworkReply *reply,
29 const QByteArray &rawData) override;
30
31private:
32 class Private;
33 std::unique_ptr<Private> d;
34 friend class Private;
35};
36
37}
Abstract superclass for all jobs that delete resources from Google.
Definition deletejob.h:25
Q_SCRIPTABLE Q_NOREPLY void start()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:11:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.