KGAPI2::Drive::Change

Search for usage in LXR

#include <change.h>

Inheritance diagram for KGAPI2::Drive::Change:

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
Author
Andrius da Costa Ribas andri.nosp@m.usma.nosp@m.o@gma.nosp@m.il.c.nosp@m.om
Daniel Vrátil dvrat.nosp@m.il@r.nosp@m.edhat.nosp@m..com

Definition at line 32 of file change.h.

Constructor & Destructor Documentation

◆ Change() [1/2]

Change::Change ( )
explicit

Definition at line 61 of file change.cpp.

◆ Change() [2/2]

Change::Change ( const Change & other)
explicit

Definition at line 67 of file change.cpp.

◆ ~Change()

Change::~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()

ChangePtr Change::fromJSON ( const QByteArray & jsonData)
static

Definition at line 117 of file change.cpp.

◆ fromJSONFeed()

ChangesList Change::fromJSONFeed ( const QByteArray & jsonData,
FeedData & feedData )
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!=()

bool KGAPI2::Drive::Change::operator!= ( const Change & other) const
inline

Definition at line 39 of file change.h.

◆ 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:
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.