KDAV
etagcache.cpp
bool etagChanged(const QString &remoteId, const QString &refEtag) const
Check if the known ETag for the remote ID is equal to refEtag.
Definition etagcache.cpp:49
void removeEtag(const QString &remoteId)
Removes the entry for item with remote ID remoteId.
Definition etagcache.cpp:67
void setEtagInternal(const QString &remoteId, const QString &etag)
Sets the ETag for the remote ID.
Definition etagcache.cpp:39
bool contains(const QString &remoteId) const
Checks if the given item is in the cache.
Definition etagcache.cpp:44
bool isOutOfDate(const QString &remoteId) const
Returns true if the remote ID is marked as changed (is contained in the return of changedRemoteIds)
Definition etagcache.cpp:62
EtagCache(QObject *parent=nullptr)
Creates a new ETag cache and populates it with the ETags of items found in collection.
Definition etagcache.cpp:24
void markAsChanged(const QString &remoteId)
Mark an item as changed in the backend.
Definition etagcache.cpp:57
void setEtag(const QString &remoteId, const QString &etag)
Sets the ETag for the remote ID.
Definition etagcache.cpp:32
QStringList changedRemoteIds() const
Returns the list of remote ids of items that have been changed in the backend.
Definition etagcache.cpp:83
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:02 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 17:02:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.