KGAPI2::Drive::Change
#include <change.h>
Public Member Functions | |
Change (const Change &other) | |
bool | deleted () const |
FilePtr | file () const |
QString | fileId () const |
qlonglong | id () const |
bool | operator!= (const Change &other) const |
bool | operator== (const Change &other) const |
QUrl | selfLink () const |
Public Member Functions inherited from KGAPI2::Object | |
Object () | |
Object (const Object &other) | |
virtual | ~Object () |
QString | etag () const |
bool | operator== (const Object &other) const |
void | setEtag (const QString &etag) |
Static Public Member Functions | |
static ChangePtr | fromJSON (const QByteArray &jsonData) |
static ChangesList | fromJSONFeed (const QByteArray &jsonData, FeedData &feedData) |
Detailed Description
Change contains the representation of a change to a file.
Getters and setters' documentation is based on Google Drive's API v2 reference
- See also
- Changes
- Since
- 2.0
Constructor & Destructor Documentation
◆ Change() [1/2]
|
explicit |
Definition at line 61 of file change.cpp.
◆ Change() [2/2]
|
explicit |
Definition at line 67 of file change.cpp.
◆ ~Change()
|
override |
Definition at line 73 of file change.cpp.
Member Function Documentation
◆ deleted()
bool Change::deleted | ( | ) | const |
Returns whether this file has been deleted.
Definition at line 107 of file change.cpp.
◆ file()
FilePtr Change::file | ( | ) | const |
Returns the updated state of the file.
Present if the file has not been deleted.
Definition at line 112 of file change.cpp.
◆ fileId()
QString Change::fileId | ( | ) | const |
Returns the id of the file associated with this change.
Definition at line 97 of file change.cpp.
◆ fromJSON()
|
static |
Definition at line 117 of file change.cpp.
◆ fromJSONFeed()
|
static |
Definition at line 128 of file change.cpp.
◆ id()
qlonglong Change::id | ( | ) | const |
Returns the id of the change.
Definition at line 92 of file change.cpp.
◆ operator!=()
|
inline |
◆ operator==()
bool Change::operator== | ( | const Change & | other | ) | const |
Definition at line 78 of file change.cpp.
◆ selfLink()
QUrl Change::selfLink | ( | ) | const |
Returns a link back to this change.
Definition at line 102 of file change.cpp.
The documentation for this class was generated from the following files:
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.