KGAPI2

KGAPI2 Namespace Reference

Namespaces

 CalendarService
 
 LatitudeService
 
 TasksService
 

Classes

class  Account
 
class  AccountInfo
 
class  AccountInfoFetchJob
 
class  AccountPromise
 
class  AuthJob
 
class  Calendar
 
class  CalendarCreateJob
 
class  CalendarDeleteJob
 
class  CalendarFetchJob
 
class  CalendarModifyJob
 
class  CreateJob
 
class  DeleteJob
 
class  Event
 
class  EventCreateJob
 
class  EventDeleteJob
 
class  EventFetchJob
 
class  EventModifyJob
 
class  EventMoveJob
 
class  FeedData
 
class  FetchJob
 
class  Job
 
class  Latitude
 
class  Location
 
class  LocationCreateJob
 
class  LocationDeleteJob
 
class  LocationFetchHistoryJob
 
class  LocationFetchJob
 
class  ModifyJob
 
class  Object
 
class  Reminder
 
class  StaticMapMarker
 
class  StaticMapPath
 
class  StaticMapUrl
 
class  Task
 
class  TaskCreateJob
 
class  TaskDeleteJob
 
class  TaskFetchJob
 
class  TaskList
 
class  TaskListCreateJob
 
class  TaskListDeleteJob
 
class  TaskListFetchJob
 
class  TaskListModifyJob
 
class  TaskModifyJob
 
class  TaskMoveJob
 

Typedefs

using AccountInfoPtr = QSharedPointer< AccountInfo >
 
using AccountInfosList = QList< AccountInfoPtr >
 
using AccountPtr = QSharedPointer< Account >
 
using AccountsList = QList< AccountPtr >
 
using CalendarPtr = QSharedPointer< Calendar >
 
using CalendarsList = QList< CalendarPtr >
 
using EventPtr = QSharedPointer< Event >
 
using EventsList = QList< EventPtr >
 
using LocationPtr = QSharedPointer< Location >
 
using LocationsList = QList< LocationPtr >
 
using ObjectPtr = QSharedPointer< Object >
 
using ObjectsList = QList< ObjectPtr >
 
using ReminderPtr = QSharedPointer< Reminder >
 
using RemindersList = QList< ReminderPtr >
 
using TaskListPtr = QSharedPointer< TaskList >
 
using TaskListsList = QList< TaskListPtr >
 
using TaskPtr = QSharedPointer< Task >
 
using TasksList = QList< TaskPtr >
 

Enumerations

enum  ContentType { UnknownContentType = -1, JSON, XML }
 
enum  Error {
  NoError = 0, UnknownError = 1, AuthError = 2, UnknownAccount = 3,
  UnknownService = 4, InvalidResponse = 5, BackendNotReady = 6, InvalidAccount = 7,
  NetworkError = 8, AuthCancelled = 9, OK = 200, Created = 201,
  NoContent = 204, ResumeIncomplete = 308, TemporarilyMoved = 302, NotModified = 304,
  TemporarilyMovedUseSameMethod = 307, BadRequest = 400, Unauthorized = 401, Forbidden = 403,
  NotFound = 404, Conflict = 409, Gone = 410, InternalError = 500,
  QuotaExceeded = 503
}
 
enum  SendUpdatesPolicy { All, SendUpdatesPolicy::ExternalOnly, SendUpdatesPolicy::None }
 

Functions

template<class T >
ObjectsList operator<< (ObjectsList &objectsList, const QList< QSharedPointer< T >> &list)
 

Detailed Description

A job to fetch a single map tile described by a StaticMapUrl.

Author
Daniel Vrátil dvrat.nosp@m.il@r.nosp@m.edhat.nosp@m..com
Since
2.0

Enumeration Type Documentation

◆ ContentType

Since
2.0

Definition at line 210 of file types.h.

◆ Error

Job error codes.

Enumerator
NoError 

LibKGAPI error - no error.

UnknownError 

LibKGAPI error - a general unidentified error.

AuthError 

LibKGAPI error - authentication process failed.

UnknownAccount 

LibKGAPI error - application requested unknown account.

UnknownService 

LibKGAPI error - application requested unknown service.

InvalidResponse 

LibKGAPI error - Google returned invalid response.

BackendNotReady 
Deprecated:
LibKGAPI error - backend is not ready (for example KWallet is not opened).
InvalidAccount 

LibKGAPI error - the KGAPI2::Account object is invalid.

NetworkError 

LibKGAPI error - standard network request returned a different code than 200.

AuthCancelled 

LibKGAPI error - when the authentication dialog is canceled.

OK 

Request successfully executed.

Created 

Create request successfully executed.

NoContent 

Tasks API returns 204 when task is successfully removed.

ResumeIncomplete 

Drive Api returns 308 when accepting a partial file upload.

TemporarilyMoved 

The object is located on a different URL provided in reply.

NotModified 

Request was successful, but no data were updated.

TemporarilyMovedUseSameMethod 

The object is located at a different URL provided in the reply. The same request method must be used.

BadRequest 

Invalid (malformed) request.

Unauthorized 

Invalid or expired token. See KGAPI2::Account::refreshTokens().

Forbidden 

The requested data is not accessible to this account.

NotFound 

Requested object was not found on the remote side.

Conflict 

Object on the remote site differs from the submitted one.

See also
KGAPI2::Object::setEtag.
Gone 

The requested data does not exist anymore on the remote site.

InternalError 

An unexpected error occurred on the Google service.

QuotaExceeded 

User quota has been exceeded, the request should be sent again later.

Definition at line 176 of file types.h.

◆ SendUpdatesPolicy

Determines whether Google Calendar should send updates to participants.

Enumerator
ExternalOnly 

Send updates to all attendees.

None 

Only send updates to non-Google Calendar participants.

Definition at line 21 of file enums.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 03:50:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.