KGAPI2::Object

KGAPI2::Object Class Reference

#include <object.h>

Inheritance diagram for KGAPI2::Object:

Public Member Functions

 Object ()
 
 Object (const Object &other)
 
virtual ~Object ()
 
QString etag () const
 
bool operator== (const Object &other) const
 
void setEtag (const QString &etag)
 

Detailed Description

Base class for all objects.

There are many container classes to represent data fetched from Google servers, like KGAPI2::Contact, KGAPI2::Event, etc. All these container classes must be subclasses of the KGAPI2::Object.

Author
Daniel Vrátil dvrat[email protected][email protected][email protected]edhat[email protected].com
Since
2.0

Definition at line 31 of file object.h.

Constructor & Destructor Documentation

Object::Object ( )

Constructor.

Definition at line 32 of file object.cpp.

Object::Object ( const Object other)

Copy constructor.

Definition at line 37 of file object.cpp.

Object::~Object ( )
virtual

Destructor.

Definition at line 42 of file object.cpp.

Member Function Documentation

QString Object::etag ( ) const

Returns etag of this object.

Returns
Etag string

Definition at line 62 of file object.cpp.

void Object::setEtag ( const QString etag)

Set the etag of this object.

Etag represents a revision of an object. When the object is changed on the remote side it is given a new etag.

Parameters
etag

Definition at line 57 of file object.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jul 10 2020 23:08:04 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.