![]() |
Qt 6.x
The Qt SDK
|
#include <qhstsstore_p.h>
Public Member Functions | |
QHstsStore (const QString &dirName) | |
~QHstsStore () | |
QList< QHstsPolicy > | readPolicies () |
void | addToObserved (const QHstsPolicy &policy) |
void | synchronize () |
bool | isWritable () const |
Static Public Member Functions | |
static QString | absoluteFilePath (const QString &dirName) |
Definition at line 31 of file qhstsstore_p.h.
|
explicit |
Definition at line 33 of file qhstsstore.cpp.
References QSettings::setFallbacksEnabled().
QHstsStore::~QHstsStore | ( | ) |
Definition at line 40 of file qhstsstore.cpp.
References synchronize().
Definition at line 101 of file qhstsstore.cpp.
References QStandardPaths::CacheLocation, dir, QString::isEmpty(), and QStandardPaths::writableLocation().
void QHstsStore::addToObserved | ( | const QHstsPolicy & | policy | ) |
Definition at line 71 of file qhstsstore.cpp.
References policy, and QList< T >::push_back().
bool QHstsStore::isWritable | ( | ) | const |
Definition at line 96 of file qhstsstore.cpp.
References QSettings::isWritable().
Referenced by readPolicies(), and synchronize().
QList< QHstsPolicy > QHstsStore::readPolicies | ( | ) |
Definition at line 45 of file qhstsstore.cpp.
References QSettings::childKeys(), isWritable(), keys, QList< T >::push_back(), QHstsPolicy::setHost(), and settings_key_to_host_name().
void QHstsStore::synchronize | ( | ) |
Definition at line 76 of file qhstsstore.cpp.
References QList< T >::clear(), host_name_to_settings_key(), isWritable(), policy, QList< T >::size(), and QSettings::sync().
Referenced by ~QHstsStore().