KGAPI2

KGAPI2 Namespace Reference

Namespaces

namespace  CalendarService
 
namespace  LatitudeService
 
namespace  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 class  SendUpdatesPolicy { All , ExternalOnly , 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

Typedef Documentation

◆ AccountInfoPtr

Definition at line 55 of file types.h.

◆ AccountInfosList

Definition at line 56 of file types.h.

◆ AccountPtr

Definition at line 51 of file types.h.

◆ AccountsList

Definition at line 52 of file types.h.

◆ CalendarPtr

Definition at line 71 of file types.h.

◆ CalendarsList

Definition at line 72 of file types.h.

◆ EventPtr

Definition at line 124 of file types.h.

◆ EventsList

Definition at line 125 of file types.h.

◆ LocationPtr

Definition at line 128 of file types.h.

◆ LocationsList

Definition at line 129 of file types.h.

◆ ObjectPtr

Definition at line 47 of file types.h.

◆ ObjectsList

Definition at line 48 of file types.h.

◆ ReminderPtr

Definition at line 132 of file types.h.

◆ RemindersList

Definition at line 133 of file types.h.

◆ TaskListPtr

Definition at line 140 of file types.h.

◆ TaskListsList

Definition at line 141 of file types.h.

◆ TaskPtr

Definition at line 136 of file types.h.

◆ TasksList

Definition at line 137 of file types.h.

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

enum class KGAPI2::SendUpdatesPolicy
strong

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.

Function Documentation

◆ operator<<()

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

Definition at line 164 of file types.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:52 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.