Search for usage in LXR

KGAPI2::Drive::ParentReference Class Reference

#include <parentreference.h>

Inheritance diagram for KGAPI2::Drive::ParentReference:

Public Member Functions

 ParentReference (const QString &id)
 ParentReference (const ParentReference &other)
QString id () const
bool isRoot () const
bool operator!= (const ParentReference &other) const
bool operator== (const ParentReference &other) const
QUrl parentLink () 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 ParentReferencePtr fromJSON (const QByteArray &jsonData)
static ParentReferencesList fromJSONFeed (const QByteArray &jsonData)
static QByteArray toJSON (const ParentReferencePtr &reference)

Detailed Description

ParentReference contains a reference to a file's parent.

Getters and setters' documentation is based on Google Drive's API v2 reference

See also
Andrius da Costa Ribas andri[email protected]usma[email protected][email protected][email protected]il.c[email protected]om
Daniel Vr├ítil dvrat[email protected][email protected][email protected]edhat[email protected].com

Definition at line 33 of file parentreference.h.

Member Function Documentation

QString ParentReference::id ( ) const

Returns the id of the parent.

Definition at line 94 of file parentreference.cpp.

bool ParentReference::isRoot ( ) const

Returns whether or not the parent is the root folder.

Definition at line 109 of file parentreference.cpp.

QUrl ParentReference::parentLink ( ) const

Returns a link to the parent.

Definition at line 104 of file parentreference.cpp.

QUrl ParentReference::selfLink ( ) const

Returns a link back to this reference.

Definition at line 99 of file parentreference.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Sep 20 2021 23:12:41 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.