KGAPI2
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.
- Since
- 2.0
Typedef Documentation
◆ AccountInfoPtr
◆ AccountInfosList
using KGAPI2::AccountInfosList = QList<AccountInfoPtr> |
◆ AccountPtr
using KGAPI2::AccountPtr = QSharedPointer<Account> |
◆ AccountsList
using KGAPI2::AccountsList = QList<AccountPtr> |
◆ CalendarPtr
using KGAPI2::CalendarPtr = QSharedPointer<Calendar> |
◆ CalendarsList
using KGAPI2::CalendarsList = QList<CalendarPtr> |
◆ EventPtr
using KGAPI2::EventPtr = QSharedPointer<Event> |
◆ EventsList
using KGAPI2::EventsList = QList<EventPtr> |
◆ LocationPtr
using KGAPI2::LocationPtr = QSharedPointer<Location> |
◆ LocationsList
using KGAPI2::LocationsList = QList<LocationPtr> |
◆ ObjectPtr
using KGAPI2::ObjectPtr = QSharedPointer<Object> |
◆ ObjectsList
using KGAPI2::ObjectsList = QList<ObjectPtr> |
◆ ReminderPtr
using KGAPI2::ReminderPtr = QSharedPointer<Reminder> |
◆ RemindersList
using KGAPI2::RemindersList = QList<ReminderPtr> |
◆ TaskListPtr
using KGAPI2::TaskListPtr = QSharedPointer<TaskList> |
◆ TaskListsList
using KGAPI2::TaskListsList = QList<TaskListPtr> |
◆ TaskPtr
using KGAPI2::TaskPtr = QSharedPointer<Task> |
◆ TasksList
using KGAPI2::TasksList = QList<TaskPtr> |
Enumeration Type Documentation
◆ ContentType
enum KGAPI2::ContentType |
◆ Error
enum KGAPI2::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 |
|
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.
|
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. |
◆ SendUpdatesPolicy
|
strong |
Function Documentation
◆ operator<<()
ObjectsList KGAPI2::operator<< | ( | ObjectsList & | objectsList, |
const QList< QSharedPointer< T > > & | list ) |
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.