#include <user.h>
The authenticated user.
Definition at line 26 of file user.h.
◆ User()
User::User |
( |
const User & | other | ) |
|
|
explicit |
◆ ~User()
◆ displayName()
QString User::displayName |
( |
| ) |
const |
|
nodiscard |
Returns a plain text displayable name for this user.
Definition at line 64 of file user.cpp.
◆ fromJSON()
UserPtr User::fromJSON |
( |
const QVariantMap & | jsonMap | ) |
|
|
static |
◆ isAuthenticatedUser()
bool User::isAuthenticatedUser |
( |
| ) |
const |
|
nodiscard |
Returns whether this user is the same as the authenticated user for whom the request was made.
Definition at line 74 of file user.cpp.
◆ operator!=()
bool KGAPI2::Drive::User::operator!= |
( |
const User & | other | ) |
const |
|
inline |
◆ operator==()
bool User::operator== |
( |
const User & | other | ) |
const |
◆ permissionId()
QString User::permissionId |
( |
| ) |
const |
|
nodiscard |
Returns the user's ID as visible in the permissions collection.
Definition at line 79 of file user.cpp.
◆ pictureUrl()
QUrl User::pictureUrl |
( |
| ) |
const |
|
nodiscard |
Returns a URL that points to a profile picture of this user.
Definition at line 69 of file user.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 Fri Nov 29 2024 11:54:35 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.