Kgapi
taskcreatejob.h
62 explicit TaskCreateJob(const TaskPtr &task, const QString &taskListId, const AccountPtr &account, QObject *parent = nullptr);
73 explicit TaskCreateJob(const TasksList &tasks, const QString &taskListId, const AccountPtr &account, QObject *parent = nullptr);
108 ObjectsList handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData) override;
Abstract superclass for all jobs that create new objects on the server.
Definition createjob.h:26
void setParentItem(const QString &parentId)
Sets ID of parent task to create new tasks in.
Definition taskcreatejob.cpp:61
ObjectsList handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData) override
A reply handler that returns items parsed from @ rawData.
Definition taskcreatejob.cpp:111
QString parentItem
Specified ID of item that the newly created tasks will be subtasks of.
Definition taskcreatejob.h:40
TaskCreateJob(const TaskPtr &task, const QString &taskListId, const AccountPtr &account, QObject *parent=nullptr)
Constructs a job that will create given task in a tasklist with id taskListId.
Definition taskcreatejob.cpp:38
void setPrevious(const QString &previousId)
Sets previous sibling task identifier.
Definition taskcreatejob.cpp:76
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:07:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:07:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.