![]() |
Qt 6.x
The Qt SDK
|
#include <qwinregistry_p.h>
Collaboration diagram for QWinRegistryKey:Public Member Functions | |
| QWinRegistryKey () | |
| QWinRegistryKey (HKEY parentHandle, QStringView subKey, REGSAM permissions=KEY_READ, REGSAM access=0) | |
| ~QWinRegistryKey () | |
| QWinRegistryKey (QWinRegistryKey &&other) noexcept | |
| void | swap (QWinRegistryKey &other) noexcept |
| bool | isValid () const |
| HKEY | handle () const |
| operator HKEY () const | |
| void | close () |
| QVariant | value (QStringView subKey) const |
| template<typename T > | |
| std::optional< T > | value (QStringView subKey) const |
| QString | stringValue (QStringView subKey) const |
| QPair< DWORD, bool > | dwordValue (QStringView subKey) const |
Definition at line 26 of file qwinregistry_p.h.
| QT_BEGIN_NAMESPACE QWinRegistryKey::QWinRegistryKey | ( | ) |
Definition at line 11 of file qwinregistry.cpp.
|
explicit |
Definition at line 17 of file qwinregistry.cpp.
References QStringView::utf16().
Here is the call graph for this function:| QWinRegistryKey::~QWinRegistryKey | ( | ) |
Definition at line 26 of file qwinregistry.cpp.
References close().
Here is the call graph for this function:
|
inlinenoexcept |
Definition at line 36 of file qwinregistry_p.h.
| void QWinRegistryKey::close | ( | ) |
Definition at line 31 of file qwinregistry.cpp.
References isValid().
Referenced by ~QWinRegistryKey().
Here is the call graph for this function:
Here is the caller graph for this function:| QPair< DWORD, bool > QWinRegistryKey::dwordValue | ( | QStringView | subKey | ) | const |
Definition at line 128 of file qwinregistry.cpp.
References qMakePair().
Referenced by QWindowsTheme::queryDarkMode(), QWindowsContext::readAdvancedExplorerSettings(), and QWindowsCursor::size().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 43 of file qwinregistry_p.h.
|
inline |
Definition at line 41 of file qwinregistry_p.h.
Referenced by close(), qt_accentColor(), and value().
Here is the caller graph for this function:
|
inline |
Definition at line 45 of file qwinregistry_p.h.
| QString QWinRegistryKey::stringValue | ( | QStringView | subKey | ) | const |
Definition at line 123 of file qwinregistry.cpp.
Referenced by QWindowsFontEngineDirectWrite::fontNameSubstitute(), QSysInfo::machineUniqueId(), and mailCommand().
Here is the caller graph for this function:
|
inlinenoexcept |
Definition at line 39 of file qwinregistry_p.h.
References other(), and qSwap().
Here is the call graph for this function:| QVariant QWinRegistryKey::value | ( | QStringView | subKey | ) | const |
Definition at line 39 of file qwinregistry.cpp.
References QList< T >::append(), QString::fromWCharArray(), i, QString::isEmpty(), QStringView::isEmpty(), isValid(), QString::length(), list, nullptr, ret, str, and QStringView::utf16().
Referenced by qt_accentColor().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 51 of file qwinregistry_p.h.
References QVariant::isValid(), and var.
Here is the call graph for this function: