Kgapi
9#include "kgapiblogger_export.h"
17class KGAPIBLOGGER_EXPORT CommentApproveJob :
public KGAPI2::ModifyJob
22 enum ApprovalAction { Approve, MarkAsSpam };
23 explicit CommentApproveJob(
const QString &blogId,
24 const QString &postId,
25 const QString &commentId,
26 ApprovalAction action,
27 const AccountPtr &account,
28 QObject *parent =
nullptr);
29 explicit CommentApproveJob(
const CommentPtr &comment, ApprovalAction action,
const AccountPtr &account, QObject *parent =
nullptr);
30 ~CommentApproveJob()
override;
33 void start()
override;
34 ObjectsList handleReplyWithItems(
const QNetworkReply *reply,
const QByteArray &rawData)
override;
Q_SCRIPTABLE Q_NOREPLY void start()
A job to fetch a single map tile described by a StaticMapUrl.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:07:23 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.