Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qsettings_mac.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include "qsettings.h"
#include "qsettings_p.h"
#include "qdatetime.h"
#include "qdir.h"
#include "qvarlengtharray.h"
#include "private/qcore_mac_p.h"
#include "qcoreapplication.h"
+ Include dependency graph for qsettings_mac.cpp:

Go to the source code of this file.

Classes

class  QMacSettingsPrivate
 

Enumerations

enum  RotateShift { Macify = 1 , Qtify = 2 , Macify = 1 , Qtify = 2 }
 
enum  RotateShift { Macify = 1 , Qtify = 2 , Macify = 1 , Qtify = 2 }
 

Functions

static QString rotateSlashesDotsAndMiddots (const QString &key, int shift)
 
static QCFType< CFStringRef > macKey (const QString &key)
 
static QString qtKey (CFStringRef cfkey)
 
static QCFType< CFPropertyListRef > macValue (const QVariant &value)
 
static CFArrayRef macList (const QList< QVariant > &list)
 
static QVariant qtValue (CFPropertyListRef cfvalue)
 
static QString comify (const QString &organization)
 

Variables

static const CFStringRef hostNames [2] = { kCFPreferencesCurrentHost, kCFPreferencesAnyHost }
 
static const int numHostNames = 2
 

Enumeration Type Documentation

◆ RotateShift [1/2]

Enumerator
Macify 
Qtify 
Macify 
Qtify 

Definition at line 30 of file qsettings_mac.cpp.

◆ RotateShift [2/2]

Enumerator
Macify 
Qtify 
Macify 
Qtify 

Definition at line 30 of file qsettings_mac.cpp.

Function Documentation

◆ comify()

static QString comify ( const QString & organization)
static

Definition at line 256 of file qsettings_mac.cpp.

◆ macKey()

static QCFType< CFStringRef > macKey ( const QString & key)
static

Definition at line 49 of file qsettings_mac.cpp.

◆ macList()

static CFArrayRef macList ( const QList< QVariant > & list)
static

Definition at line 61 of file qsettings_mac.cpp.

◆ macValue()

static QCFType< CFPropertyListRef > macValue ( const QVariant & value)
static

Definition at line 71 of file qsettings_mac.cpp.

◆ qtKey()

static QString qtKey ( CFStringRef cfkey)
static

Definition at line 54 of file qsettings_mac.cpp.

◆ qtValue()

static QVariant qtValue ( CFPropertyListRef cfvalue)
static

Definition at line 159 of file qsettings_mac.cpp.

◆ rotateSlashesDotsAndMiddots()

static QString rotateSlashesDotsAndMiddots ( const QString & key,
int shift )
static

Definition at line 32 of file qsettings_mac.cpp.

Variable Documentation

◆ hostNames

static const CFStringRef hostNames = { kCFPreferencesCurrentHost, kCFPreferencesAnyHost }
static

Definition at line 19 of file qsettings_mac.cpp.

◆ numHostNames

static const int numHostNames = 2
static