diff options
author | David Boddie <dboddie@trolltech.com> | 2009-08-26 12:32:18 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-08-26 12:32:18 (GMT) |
commit | b98042831f4f6f6c5844965731b2dd64f27c076e (patch) | |
tree | 9eb72675039e42c55d5159c3b560741faccff7f1 /src | |
parent | 624e60e37a948adde7ce7da3ae4e025910a91911 (diff) | |
download | Qt-b98042831f4f6f6c5844965731b2dd64f27c076e.zip Qt-b98042831f4f6f6c5844965731b2dd64f27c076e.tar.gz Qt-b98042831f4f6f6c5844965731b2dd64f27c076e.tar.bz2 |
Doc: Noted the limitation on using slashes in settings section names.
Task-number: 254511
Reviewed-by: Trust Me
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qsettings.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/io/qsettings.cpp b/src/corelib/io/qsettings.cpp index af38b5a..cc7ed58 100644 --- a/src/corelib/io/qsettings.cpp +++ b/src/corelib/io/qsettings.cpp @@ -2110,12 +2110,12 @@ void QConfFileSettingsPrivate::ensureSectionParsed(QConfFile *confFile, Custom types registered using qRegisterMetaType() and qRegisterMetaTypeStreamOperators() can be stored using QSettings. - \section1 Key Syntax + \section1 Section and Key Syntax Setting keys can contain any Unicode characters. The Windows registry and INI files use case-insensitive keys, whereas the Carbon Preferences API on Mac OS X uses case-sensitive keys. To - avoid portability problems, follow these two simple rules: + avoid portability problems, follow these simple rules: \list 1 \o Always refer to the same key using the same case. For example, @@ -2126,7 +2126,7 @@ void QConfFileSettingsPrivate::ensureSectionParsed(QConfFile *confFile, example, if you have a key called "MainWindow", don't try to save another key as "mainwindow". - \o Do not use slashes ('/' and '\\') in key names; the + \o Do not use slashes ('/' and '\\') in section or key names; the backslash character is used to separate sub keys (see below). On windows '\\' are converted by QSettings to '/', which makes them identical. |