![]() |
Qt 6.x
The Qt SDK
|
#include "qsettings.h"
#include "qsettings_p.h"
#include "qlist.h"
#include "qmap.h"
#include "qdebug.h"
#include "qscopeguard.h"
#include <qt_windows.h>
Go to the source code of this file.
Classes | |
class | RegistryKey |
class | QWinSettingsPrivate |
Macros | |
#define | KEY_WOW64_64KEY 0x0100 |
#define | KEY_WOW64_32KEY 0x0200 |
Typedefs | |
typedef QMap< QString, QString > | NameSet |
typedef QList< RegistryKey > | RegistryKeyList |
Functions | |
static QString | keyPath (const QString &rKey) |
static QString | keyName (const QString &rKey) |
static QString | escapedKey (QString uKey) |
static QString | unescapedKey (QString rKey) |
static void | mergeKeySets (NameSet *dest, const NameSet &src) |
static void | mergeKeySets (NameSet *dest, const QStringList &src) |
static HKEY | openKey (HKEY parentHandle, REGSAM perms, const QString &rSubKey, REGSAM access=0) |
static HKEY | createOrOpenKey (HKEY parentHandle, REGSAM perms, const QString &rSubKey, REGSAM access=0) |
static HKEY | createOrOpenKey (HKEY parentHandle, const QString &rSubKey, bool *readOnly, REGSAM access=0) |
static QStringList | childKeysOrGroups (HKEY parentHandle, QSettingsPrivate::ChildSpec spec) |
static void | allKeys (HKEY parentHandle, const QString &rSubKey, NameSet *result, REGSAM access=0) |
static void | deleteChildGroups (HKEY parentHandle, REGSAM access=0) |
Variables | |
static const REGSAM | registryPermissions = KEY_READ | KEY_WRITE |
#define KEY_WOW64_32KEY 0x0200 |
Definition at line 22 of file qsettings_win.cpp.
#define KEY_WOW64_64KEY 0x0100 |
Definition at line 17 of file qsettings_win.cpp.
typedef QList<RegistryKey> RegistryKeyList |
Definition at line 339 of file qsettings_win.cpp.
|
static |
Definition at line 223 of file qsettings_win.cpp.
References allKeys(), QSettingsPrivate::ChildGroups, QSettingsPrivate::ChildKeys, childKeysOrGroups(), i, and openKey().
Referenced by allKeys(), QWinSettingsPrivate::children(), displayName(), fontKeys(), QShortcutMap::removeShortcut(), QShortcutMap::setShortcutAutoRepeat(), and QShortcutMap::setShortcutEnabled().
|
static |
Definition at line 166 of file qsettings_win.cpp.
References QSettingsPrivate::ChildKeys, QByteArray::constData(), QByteArray::data(), QString::fromWCharArray(), i, item, qErrnoWarning(), and QByteArray::size().
Referenced by allKeys(), QWinSettingsPrivate::children(), deleteChildGroups(), and QWinSettingsPrivate::remove().
|
static |
Definition at line 146 of file qsettings_win.cpp.
References createOrOpenKey(), and registryPermissions.
|
static |
Definition at line 124 of file qsettings_win.cpp.
References openKey(), and QString::utf16().
Referenced by createOrOpenKey(), RegistryKey::handle(), and QWinSettingsPrivate::set().
|
static |
Definition at line 250 of file qsettings_win.cpp.
References QSettingsPrivate::ChildGroups, childKeysOrGroups(), deleteChildGroups(), i, openKey(), qErrnoWarning(), qUtf16Printable, and registryPermissions.
Referenced by deleteChildGroups(), and QWinSettingsPrivate::remove().
Definition at line 67 of file qsettings_win.cpp.
References QString::data(), i, and QString::length().
Referenced by QWinSettingsPrivate::children(), QWinSettingsPrivate::get(), QWinSettingsPrivate::remove(), QWinSettingsPrivate::set(), and unescapedKey().
Definition at line 51 of file qsettings_win.cpp.
References QString::lastIndexOf(), and QString::mid().
Referenced by QWinSettingsPrivate::QWinSettingsPrivate(), QDBusMenuItem::convertKeySequence(), QSGDefaultRenderContext::fontKey(), mailCommand(), readInputFileDirectory(), QWinSettingsPrivate::readKey(), QWinSettingsPrivate::remove(), and QWinSettingsPrivate::set().
Definition at line 43 of file qsettings_win.cpp.
References QString::lastIndexOf(), and QString::left().
Referenced by QWinSettingsPrivate::readKey(), QWinSettingsPrivate::remove(), QWinSettingsPrivate::set(), and QMacKeyValueObserver::swap().
Definition at line 88 of file qsettings_win.cpp.
References QSet< T >::constBegin(), QSet< T >::constEnd(), QMap< Key, T >::insert(), it, and unescapedKey().
Referenced by QWinSettingsPrivate::children().
|
static |
Definition at line 95 of file qsettings_win.cpp.
References QSet< T >::constBegin(), QSet< T >::constEnd(), QMap< Key, T >::insert(), it, and unescapedKey().
|
static |
Definition at line 110 of file qsettings_win.cpp.
References QString::utf16().
Referenced by allKeys(), QWinSettingsPrivate::children(), createOrOpenKey(), deleteChildGroups(), RegistryKey::handle(), QWinSettingsPrivate::readKey(), and QWinSettingsPrivate::remove().
Definition at line 81 of file qsettings_win.cpp.
References escapedKey().
Referenced by mergeKeySets(), and mergeKeySets().
|
static |
Definition at line 41 of file qsettings_win.cpp.
Referenced by createOrOpenKey(), deleteChildGroups(), QWinSettingsPrivate::remove(), and QWinSettingsPrivate::set().