Kgapi
9#include "kgapiblogger_export.h"
19class KGAPIBLOGGER_EXPORT Page :
public KGAPI2::Object
22 enum Status { UnknownStatus, Draft, Live, Imported };
27 void setId(
const QString &
id);
29 QString blogId()
const;
30 void setBlogId(
const QString &blogId);
32 QDateTime published()
const;
33 void setPublished(
const QDateTime &published);
35 QDateTime updated()
const;
36 void setUpdated(
const QDateTime &updated);
39 void setUrl(
const QUrl &url);
41 QString title()
const;
42 void setTitle(
const QString &title);
44 QString content()
const;
45 void setContent(
const QString &content);
47 QString authorId()
const;
48 QString authorName()
const;
49 QUrl authorUrl()
const;
50 QUrl authorImageUrl()
const;
53 void setStatus(Status
status);
55 static PagePtr fromJSON(
const QByteArray &rawData);
56 static ObjectsList fromJSONFeed(
const QByteArray &rawData);
57 static QByteArray toJSON(
const PagePtr &page);
Q_SCRIPTABLE CaptureState status()
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 24 2025 11:57:30 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.