Messagelib
checkphishingurlcache.cpp
74 if (WebEngineViewer::CheckPhishingUrlUtil::cachedValueStillValid(info.verifyCacheAfterThisTime)) {
93 if (info.isMalWare() && WebEngineViewer::CheckPhishingUrlUtil::cachedValueStillValid(info.verifyCacheAfterThisTime)) {
122void CheckPhishingUrlCachePrivate::addCheckPhishingUrlResult(const QUrl &url, bool correctUrl, uint verifyCacheAfterThisTime)
141void CheckPhishingUrlCache::addCheckingUrlResult(const QUrl &url, bool correctUrl, uint verifyCacheAfterThisTime)
KConfigGroup group(const QString &group)
void writeEntry(const char *key, const char *value, WriteConfigFlags pFlags=Normal)
QString readEntry(const char *key, const char *aDefault=nullptr) const
bool sync() override
The CheckPhishingUrlCache class.
Definition checkphishingurlcache.h:22
CheckPhishingUrlCache::UrlStatus urlStatus(const QUrl &url)
urlStatus Return the status of cached Url.
Definition checkphishingurlcache.cpp:146
void addCheckingUrlResult(const QUrl &url, bool correctUrl, uint cacheDuration=0)
addCheckingUrlResult cache url.
Definition checkphishingurlcache.cpp:141
void clearCache()
clearCache clear the cache and save result in config file.
Definition checkphishingurlcache.cpp:151
const QList< QKeySequence > & end()
void append(QList< T > &&value)
const_reference at(qsizetype i) const const
qsizetype count() const const
void clear()
const_iterator constBegin() const const
const_iterator constEnd() const const
iterator insert(const Key &key, const T &value)
T value(const Key &key, const T &defaultValue) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.