KGAPI2::Object

Search for usage in LXR

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.nosp@m.il@r.nosp@m.edhat.nosp@m..com
Since
2.0

Definition at line 30 of file object.h.

Constructor & Destructor Documentation

◆ Object() [1/2]

Object::Object ( )

Constructor.

Definition at line 32 of file object.cpp.

◆ Object() [2/2]

Object::Object ( const Object & other)

Copy constructor.

Definition at line 37 of file object.cpp.

◆ ~Object()

Object::~Object ( )
virtual

Destructor.

Definition at line 42 of file object.cpp.

Member Function Documentation

◆ etag()

QString Object::etag ( ) const

Returns etag of this object.

Returns
Etag string

Definition at line 61 of file object.cpp.

◆ operator==()

bool Object::operator== ( const Object & other) const

Definition at line 47 of file object.cpp.

◆ setEtag()

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 56 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-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.