KGAPI2

KGAPI2 Namespace Reference

Namespaces

 CalendarService
 
 ContactsService
 
 LatitudeService
 
 TasksService
 

Classes

class  Account
 
class  AccountInfo
 
class  AccountInfoFetchJob
 
class  AccountPromise
 
class  AuthJob
 
class  AuthWidget
 
class  Calendar
 
class  CalendarCreateJob
 
class  CalendarDeleteJob
 
class  CalendarFetchJob
 
class  CalendarModifyJob
 
class  Contact
 
class  ContactCreateJob
 
class  ContactDeleteJob
 
class  ContactFetchJob
 
class  ContactFetchPhotoJob
 
class  ContactModifyJob
 
class  ContactsGroup
 
class  ContactsGroupCreateJob
 
class  ContactsGroupDeleteJob
 
class  ContactsGroupFetchJob
 
class  ContactsGroupModifyJob
 
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

typedef QSharedPointer< AccountInfoAccountInfoPtr
 
typedef QList< AccountInfoPtrAccountInfosList
 
typedef QSharedPointer< AccountAccountPtr
 
typedef QList< AccountPtrAccountsList
 
typedef QSharedPointer< CalendarCalendarPtr
 
typedef QList< CalendarPtrCalendarsList
 
typedef QSharedPointer< ContactContactPtr
 
typedef QSharedPointer< ContactsGroupContactsGroupPtr
 
typedef QList< ContactsGroupPtrContactsGroupsList
 
typedef QList< ContactPtrContactsList
 
typedef QSharedPointer< EventEventPtr
 
typedef QList< EventPtrEventsList
 
typedef QSharedPointer< LocationLocationPtr
 
typedef QList< LocationPtrLocationsList
 
typedef QSharedPointer< ObjectObjectPtr
 
typedef QList< ObjectPtrObjectsList
 
typedef QSharedPointer< ReminderReminderPtr
 
typedef QList< ReminderPtrRemindersList
 
typedef QSharedPointer< TaskListTaskListPtr
 
typedef QList< TaskListPtrTaskListsList
 
typedef QSharedPointer< TaskTaskPtr
 
typedef QList< TaskPtrTasksList
 

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, TemporarilyMoved = 302, NotModified = 304, 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[email protected][email protected][email protected]edhat[email protected].com
Since
2.0

Enumeration Type Documentation

Since
2.0

Definition at line 205 of file types.h.

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.

TemporarilyMoved 

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

NotModified 

Request was successful, but no data were updated.

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 173 of file types.h.

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 27 of file enums.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jul 8 2020 23:08:37 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.