9#include "gravatar_export.h"
17class GravatarResolvUrlJobTest;
20class GravatarResolvUrlJobPrivate;
31 [[nodiscard]]
bool canStart()
const;
34 [[nodiscard]]
QString email()
const;
35 void setEmail(
const QString &email);
37 [[nodiscard]]
bool hasGravatar()
const;
39 void setSize(
int size);
40 [[nodiscard]]
int size()
const;
42 [[nodiscard]]
QPixmap pixmap()
const;
44 [[nodiscard]]
bool useDefaultPixmap()
const;
45 void setUseDefaultPixmap(
bool useDefaultPixmap);
47 bool useLibravatar()
const;
48 void setUseLibravatar(
bool useLibravatar);
50 bool fallbackGravatar()
const;
51 void setFallbackGravatar(
bool fallbackGravatar);
55 void resolvUrl(
const QUrl &url);
58 friend class ::GravatarResolvUrlJobTest;
61 [[nodiscard]]
QUrl generateGravatarUrl(
bool useLibravatar);
62 [[nodiscard]] Hash calculatedHash()
const;
63 GRAVATAR_NO_EXPORT
void processNextBackend();
64 GRAVATAR_NO_EXPORT
void startNetworkManager(
const QUrl &url);
65 [[nodiscard]] GRAVATAR_NO_EXPORT
QUrl createUrl(
bool useLibravatar);
66 [[nodiscard]] GRAVATAR_NO_EXPORT Hash calculateHash();
67 [[nodiscard]] GRAVATAR_NO_EXPORT
bool cacheLookup(
const Hash &hash);
69 std::unique_ptr<GravatarResolvUrlJobPrivate>
const d;
Q_SCRIPTABLE Q_NOREPLY void start()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:15 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.