11#include "kgapicore_export.h"
14#include <QSharedPointer>
23class KGAPICORE_EXPORT FeedData
124using EventPtr = QSharedPointer<Event>;
125using EventsList = QList<EventPtr>;
128using LocationPtr = QSharedPointer<Location>;
129using LocationsList = QList<LocationPtr>;
132using ReminderPtr = QSharedPointer<Reminder>;
133using RemindersList = QList<ReminderPtr>;
136using TaskPtr = QSharedPointer<Task>;
137using TasksList = QList<TaskPtr>;
140using TaskListPtr = QSharedPointer<TaskList>;
141using TaskListsList = QList<TaskListPtr>;
146using BlogPtr = QSharedPointer<Blog>;
147using BlogsList = QList<BlogPtr>;
150using CommentPtr = QSharedPointer<Comment>;
151using CommentsList = QList<CommentPtr>;
154using PagePtr = QSharedPointer<Page>;
155using PagesList = QList<PagePtr>;
158using PostPtr = QSharedPointer<Post>;
159using PostsList = QList<PostPtr>;
164ObjectsList operator<<(ObjectsList &objectsList,
const QList<QSharedPointer<T>> &list)
166 for (
const QSharedPointer<T> &item : list) {
AccountInfo contains information about user's Google account.
Represents a single event from Google Calendar.
int startIndex
Index of first item on current feed page.
int totalResults
Number of all items.
QString syncToken
Sync token that can be used for incremental updates by some of the services.
QUrl requestUrl
Original URL of the request.
QUrl nextPageUrl
Link to next page of feed.
int itemsPerPage
Number of items per feed page.
Represents a single record about geographical location provided by Google Latitude service.
Base class for all objects.
Represents a default calendar reminder.
Represents a tasklist for Google Tasks service.
Represents a single task (or todo)
A job to fetch a single map tile described by a StaticMapUrl.
@ ResumeIncomplete
Drive Api returns 308 when accepting a partial file upload.
@ Created
Create request successfully executed.
@ Conflict
Object on the remote site differs from the submitted one.
@ Unauthorized
Invalid or expired token. See KGAPI2::Account::refreshTokens().
@ NetworkError
LibKGAPI error - standard network request returned a different code than 200.
@ Gone
The requested data does not exist anymore on the remote site.
@ UnknownError
LibKGAPI error - a general unidentified error.
@ AuthError
LibKGAPI error - authentication process failed.
@ UnknownAccount
LibKGAPI error - application requested unknown account.
@ InternalError
An unexpected error occurred on the Google service.
@ NotModified
Request was successful, but no data were updated.
@ QuotaExceeded
User quota has been exceeded, the request should be sent again later.
@ Forbidden
The requested data is not accessible to this account.
@ BadRequest
Invalid (malformed) request.
@ NotFound
Requested object was not found on the remote side.
@ UnknownService
LibKGAPI error - application requested unknown service.
@ OK
Request successfully executed.
@ TemporarilyMoved
The object is located on a different URL provided in reply.
@ NoContent
Tasks API returns 204 when task is successfully removed.
@ AuthCancelled
LibKGAPI error - when the authentication dialog is canceled.
@ TemporarilyMovedUseSameMethod
The object is located at a different URL provided in the reply. The same request method must be used.
@ NoError
LibKGAPI error - no error.
@ InvalidAccount
LibKGAPI error - the KGAPI2::Account object is invalid.
@ InvalidResponse
LibKGAPI error - Google returned invalid response.