Gravatar::GravatarCache
Gravatar::GravatarCache Class Reference
#include <gravatarcache.h>
Public Member Functions | |
void | clear () |
void | clearAllCache () |
QPixmap | loadGravatarPixmap (const Hash &hash, bool &gravatarStored) |
int | maximumSize () const |
void | saveGravatarPixmap (const Hash &hash, const QPixmap &pixmap) |
void | saveMissingGravatar (const Hash &hash) |
void | setMaximumSize (int maximumSize) |
Static Public Member Functions | |
static GravatarCache * | self () |
Detailed Description
Cache for both positive and negative avatar lookups.
Definition at line 21 of file gravatarcache.h.
Constructor & Destructor Documentation
◆ GravatarCache()
GravatarCache::GravatarCache | ( | ) |
Definition at line 79 of file gravatarcache.cpp.
Member Function Documentation
◆ clear()
void GravatarCache::clear | ( | ) |
Definition at line 181 of file gravatarcache.cpp.
◆ clearAllCache()
void GravatarCache::clearAllCache | ( | ) |
Definition at line 186 of file gravatarcache.cpp.
◆ loadGravatarPixmap()
|
nodiscard |
Definition at line 125 of file gravatarcache.cpp.
◆ maximumSize()
|
nodiscard |
Definition at line 169 of file gravatarcache.cpp.
◆ saveGravatarPixmap()
void GravatarCache::saveGravatarPixmap | ( | const Hash & | hash, |
const QPixmap & | pixmap ) |
Definition at line 95 of file gravatarcache.cpp.
◆ saveMissingGravatar()
void GravatarCache::saveMissingGravatar | ( | const Hash & | hash | ) |
Definition at line 109 of file gravatarcache.cpp.
◆ self()
|
static |
Definition at line 90 of file gravatarcache.cpp.
◆ setMaximumSize()
void GravatarCache::setMaximumSize | ( | int | maximumSize | ) |
Definition at line 174 of file gravatarcache.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 Sat Dec 21 2024 16:59:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.