Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 0d79914e authored by Laurent Montel's avatar Laurent Montel 😁

improve cache

parent d4a0c3de
......@@ -20,7 +20,8 @@
using namespace PimCommon;
GravatarCache::GravatarCache(QObject *parent)
: QObject(parent)
: QObject(parent),
......@@ -40,4 +41,14 @@ bool GravatarCache::loadGravatarPixmap(const QString &hashStr, bool &gravatarSto
return false;
int GravatarCache::maximumSize() const
return mMaximumSize;
void GravatarCache::setMaximumSize(int maximumSize)
mMaximumSize = maximumSize;
......@@ -32,6 +32,12 @@ public:
void saveGravatarPixmap(const QString &hashStr, const QPixmap &pixmap);
bool loadGravatarPixmap(const QString &hashStr, bool &gravatarStored);
int maximumSize() const;
void setMaximumSize(int maximumSize);
int mMaximumSize;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment