Gravatar::GravatarCache

Search for usage in LXR

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 GravatarCacheself ()
 

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()

QPixmap GravatarCache::loadGravatarPixmap ( const Hash & hash,
bool & gravatarStored )
nodiscard

Definition at line 125 of file gravatarcache.cpp.

◆ maximumSize()

int GravatarCache::maximumSize ( ) const
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()

GravatarCache * GravatarCache::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 Fri Oct 11 2024 12:19:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.