QSettings
#include <QtCore/QSettings>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QSettings
Overview
Public Types Index
enum FormatNativeFormat, IniFormat, InvalidFormat 16, CustomFormat1, CustomFormat2, CustomFormat3, CustomFormat4, CustomFormat5, CustomFormat6, CustomFormat7, CustomFormat8, CustomFormat9, CustomFormat10, CustomFormat11, CustomFormat12, CustomFormat13, CustomFormat14, CustomFormat15, CustomFormat16 | |
bool(* | ReadFunc |
enum Scope | |
QMap< QString, QVariant > | SettingsMap |
enum Status | |
bool(* | WriteFunc |
Public Functions Index
QSettings (const QString &organization, const QString &application=QString(), QObject *parent=0) | |
QSettings (Scope scope, const QString &organization, const QString &application=QString(), QObject *parent=0) | |
QSettings (Format format, Scope scope, const QString &organization, const QString &application=QString(), QObject *parent=0) | |
QSettings (const QString &fileName, Format format, QObject *parent=0) | |
QSettings (QObject *parent=0) | |
~QSettings () | |
QStringList | allKeys () const |
QString | applicationName () const |
void | beginGroup (const QString &prefix) |
int | beginReadArray (const QString &prefix) |
void | beginWriteArray (const QString &prefix, int size=-1) |
QStringList | childGroups () const |
QStringList | childKeys () const |
void | clear () |
bool | contains (const QString &key) const |
void | endArray () |
void | endGroup () |
bool | fallbacksEnabled () const |
QString | fileName () const |
Format | format () const |
QString | group () const |
QTextCodec * | iniCodec () const |
bool | isWritable () const |
QString | organizationName () const |
void | remove (const QString &key) |
Scope | scope () const |
void | setArrayIndex (int i) |
void | setFallbacksEnabled (bool b) |
void | setIniCodec (QTextCodec *codec) |
void | setIniCodec (const char *codecName) |
void | setValue (const QString &key, const QVariant &value) |
Status | status () const |
void | sync () |
QVariant | value (const QString &key, const QVariant &defaultValue=QVariant()) const |
Static Public Functions Index
Format | defaultFormat () |
Format | registerFormat (const QString &extension, ReadFunc readFunc, WriteFunc writeFunc, Qt::CaseSensitivity caseSensitivity=Qt::CaseSensitive) |
void | setDefaultFormat (Format format) |
void | setPath (Format format, Scope scope, const QString &path) |
void | setSystemIniPath (const QString &dir) |
void | setUserIniPath (const QString &dir) |
Protected Functions Index
virtual bool | event (QEvent *event) |
Public Types
- NativeFormat
- IniFormat
- InvalidFormat 16
- CustomFormat1
- CustomFormat2
- CustomFormat3
- CustomFormat4
- CustomFormat5
- CustomFormat6
- CustomFormat7
- CustomFormat8
- CustomFormat9
- CustomFormat10
- CustomFormat11
- CustomFormat12
- CustomFormat13
- CustomFormat14
- CustomFormat15
- CustomFormat16
typedef bool(*
- UserScope
- SystemScope
- NoError 0
- AccessError
- FormatError
typedef bool(*
Public Functions
Destructor.
void
int
void
void
bool
void
void
bool
Format
bool
void
Scope
void
void
void
void
void
Status
void
Static Public Functions
Format
Format
void
void
void
void
Protected Functions
virtual bool
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy