Kgapi

commentdeletejob.h
1/*
2 * SPDX-FileCopyrightText: 2014 Daniel Vrátil <dvratil@redhat.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6
7#pragma once
8
9#include "deletejob.h"
10#include "kgapiblogger_export.h"
11
12namespace KGAPI2
13{
14namespace Blogger
15{
16
17class KGAPIBLOGGER_EXPORT CommentDeleteJob : public KGAPI2::DeleteJob
18{
19 Q_OBJECT
20
21public:
22 explicit CommentDeleteJob(const QString &blogId, const QString &postId, const QString &commentId, const AccountPtr &account, QObject *parent = nullptr);
23 explicit CommentDeleteJob(const CommentPtr &comment, const AccountPtr &account, QObject *parent = nullptr);
24 ~CommentDeleteJob() override;
25
26protected:
27 void start() override;
28 void handleReply(const QNetworkReply *reply, const QByteArray &rawData) override;
29
30private:
31 class Private;
32 Private *const d;
33 friend class Private;
34};
35}
36}
Abstract superclass for all jobs that delete resources from Google.
Definition deletejob.h:25
Q_SCRIPTABLE Q_NOREPLY void start()
A job to fetch a single map tile described by a StaticMapUrl.
Definition blog.h:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.