Qt 4.8
|
#include <qdebug.h>
#include "qplatformdefs.h"
#include "qsettings.h"
#include "qsettings_p.h"
#include "qcache.h"
#include "qfile.h"
#include "qdir.h"
#include "qfileinfo.h"
#include "qmutex.h"
#include "qlibraryinfo.h"
#include "qtemporaryfile.h"
#include "qtextcodec.h"
#include "qsize.h"
#include "qpoint.h"
#include "qrect.h"
#include "qcoreapplication.h"
#include "qt_windows.h"
#include <private/qsystemlibrary_p.h>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
struct | QConfFileCustomFormat |
class | QSettingsIniKey |
struct | QSettingsIniSection |
Macros | |
#define | CSIDL_APPDATA 0x001a |
#define | CSIDL_COMMON_APPDATA 0x0023 |
#define | FLUSH_CURRENT_SECTION() |
#define | Q_AUTOTEST_EXPORT_HELPER Q_AUTOTEST_EXPORT |
Typedefs | |
typedef QCache< QString, QConfFile > | ConfFileCache |
typedef QHash< QString, QConfFile * > | ConfFileHash |
typedef QVector< QConfFileCustomFormat > | CustomFormatVector |
typedef QMap< QSettingsIniKey, QVariant > | IniKeyMap |
typedef QMap< QString, QSettingsIniSection > | IniMap |
typedef QHash< int, QString > | PathHash |
Enumerations | |
enum | { Space = 0x1, Special = 0x2 } |
Functions | |
static QString | getPath (QSettings::Format format, QSettings::Scope scope) |
static void | iniChopTrailingSpaces (QString &str) |
static void | initDefaultPaths (QMutexLocker *locker) |
static bool | operator< (const QSettingsIniKey &k1, const QSettingsIniKey &k2) |
static int | pathHashKey (QSettings::Format format, QSettings::Scope scope) |
static QString | windowsConfigPath (int type) |
Variables | |
static const char | charTraits [256] |
static QSettings::Format | globalDefaultFormat = QSettings::NativeFormat |
static const char | hexDigits [] = "0123456789ABCDEF" |
#define CSIDL_APPDATA 0x001a |
Definition at line 87 of file qsettings.cpp.
Referenced by initDefaultPaths(), launchWebBrowser(), and windowsConfigPath().
#define CSIDL_COMMON_APPDATA 0x0023 |
Definition at line 83 of file qsettings.cpp.
Referenced by initDefaultPaths(), and windowsConfigPath().
#define FLUSH_CURRENT_SECTION | ( | ) |
Referenced by QConfFileSettingsPrivate::readIniFile().
#define Q_AUTOTEST_EXPORT_HELPER Q_AUTOTEST_EXPORT |
Definition at line 91 of file qsettings.cpp.
typedef QCache<QString, QConfFile> ConfFileCache |
Definition at line 117 of file qsettings.cpp.
typedef QHash<QString, QConfFile *> ConfFileHash |
Definition at line 116 of file qsettings.cpp.
Definition at line 119 of file qsettings.cpp.
typedef QMap<QSettingsIniKey, QVariant> IniKeyMap |
Definition at line 1865 of file qsettings.cpp.
typedef QMap<QString, QSettingsIniSection> IniMap |
Definition at line 1875 of file qsettings.cpp.
Definition at line 118 of file qsettings.cpp.
anonymous enum |
Enumerator | |
---|---|
Space | |
Special |
Definition at line 1633 of file qsettings.cpp.
|
static |
Definition at line 1132 of file qsettings.cpp.
Referenced by QConfFileSettingsPrivate::QConfFileSettingsPrivate().
|
inlinestatic |
Definition at line 758 of file qsettings.cpp.
Referenced by QSettingsPrivate::iniUnescapedStringList().
|
static |
Definition at line 1073 of file qsettings.cpp.
Referenced by getPath(), and QSettings::setPath().
|
static |
Definition at line 1858 of file qsettings.cpp.
|
inlinestatic |
Definition at line 1068 of file qsettings.cpp.
Referenced by getPath(), initDefaultPaths(), and QSettings::setPath().
|
static |
Definition at line 1025 of file qsettings.cpp.
Referenced by initDefaultPaths().
|
static |
Definition at line 1635 of file qsettings.cpp.
|
static |
Definition at line 126 of file qsettings.cpp.
Referenced by QSettings::defaultFormat(), QSettings::QSettings(), and QSettings::setDefaultFormat().
|
static |
Definition at line 594 of file qsettings.cpp.
Referenced by QSettingsPrivate::iniUnescapedStringList().