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.
- Since
- 2.0
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()
|
virtual |
Destructor.
Definition at line 42 of file object.cpp.
Member Function Documentation
◆ etag()
|
nodiscard |
◆ 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 Sat Dec 21 2024 17:00:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.