Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RegistryKey Class Reference
+ Collaboration diagram for RegistryKey:

Public Member Functions

 RegistryKey (HKEY parent_handle=0, const QString &key=QString(), bool read_only=true, REGSAM access=0)
 
QString key () const
 
HKEY handle () const
 
HKEY parentHandle () const
 
bool readOnly () const
 
void close ()
 

Detailed Description

Definition at line 278 of file qsettings_win.cpp.

Constructor & Destructor Documentation

◆ RegistryKey()

RegistryKey::RegistryKey ( HKEY  parent_handle = 0,
const QString key = QString(),
bool  read_only = true,
REGSAM  access = 0 
)

Definition at line 295 of file qsettings_win.cpp.

Member Function Documentation

◆ close()

void RegistryKey::close ( )

Definition at line 332 of file qsettings_win.cpp.

◆ handle()

HKEY RegistryKey::handle ( ) const

Definition at line 309 of file qsettings_win.cpp.

References createOrOpenKey(), and openKey().

Referenced by QWinSettingsPrivate::writeHandle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ key()

QString RegistryKey::key ( ) const

Definition at line 304 of file qsettings_win.cpp.

Referenced by QWinSettingsPrivate::~QWinSettingsPrivate(), and QWinSettingsPrivate::fileName().

+ Here is the caller graph for this function:

◆ parentHandle()

HKEY RegistryKey::parentHandle ( ) const

Definition at line 322 of file qsettings_win.cpp.

◆ readOnly()

bool RegistryKey::readOnly ( ) const

Definition at line 327 of file qsettings_win.cpp.


The documentation for this class was generated from the following file: