KGAPI2::Drive::File::Labels
KGAPI2::Drive::File::Labels Class Reference
#include <file.h>
Public Member Functions | |
Labels (const Labels &other) | |
KGAPIDRIVE_DEPRECATED bool | hidden () const |
bool | operator!= (const Labels &other) const |
bool | operator== (const Labels &other) const |
bool | restricted () const |
KGAPIDRIVE_DEPRECATED void | setHidden (bool hidden) |
void | setRestricted (bool restricted) |
void | setStarred (bool starred) |
void | setTrashed (bool trashed) |
void | setViewed (bool viewed) |
bool | starred () const |
bool | trashed () const |
bool | viewed () const |
Detailed Description
DriveFile::Labels holds the structure used for labels property.
Constructor & Destructor Documentation
◆ Labels() [1/2]
◆ Labels() [2/2]
◆ ~Labels()
Member Function Documentation
◆ hidden()
bool File::Labels::hidden | ( | ) | const |
Returns whether this file has the 'hidden' label set.
- Deprecated
- The 'hidden' label has been deprecated in the v2 api and removed in the v3 one. You can just ignore it.
◆ operator!=()
|
inline |
◆ operator==()
◆ restricted()
bool File::Labels::restricted | ( | ) | const |
◆ setHidden()
void File::Labels::setHidden | ( | bool | hidden | ) |
Sets whether this file has the 'hidden' label set.
- Deprecated
- The 'hidden' label has been deprecated in the v2 api and removed in the v3 one.
◆ setRestricted()
void File::Labels::setRestricted | ( | bool | restricted | ) |
◆ setStarred()
void File::Labels::setStarred | ( | bool | starred | ) |
◆ setTrashed()
void File::Labels::setTrashed | ( | bool | trashed | ) |
◆ setViewed()
void File::Labels::setViewed | ( | bool | viewed | ) |
◆ starred()
|
nodiscard |
◆ trashed()
bool File::Labels::trashed | ( | ) | const |
◆ viewed()
|
nodiscard |
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 Mon Nov 4 2024 16:36:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.