Appends prefix to the current group.
The current group is automatically prepended to all keys specified to QSettings. In addition, query functions such as childGroups(), childKeys(), and allKeys() are based on the group. By default, no group is set.
Groups are useful to avoid typing in the same setting paths over and over. For example:
This will set the value of three settings:
Call endGroup() to reset the current group to what it was before the corresponding beginGroup() call. Groups can be nested.
- See also:
- endGroup(), group()
Definition at line 2873 of file qsettings.cpp.
Referenced by QLibraryInfo::location(), QColorDialog::QColorDialog(), MainWindow::readSettings(), MainWindow::writeSettings(), QColorDialog::~QColorDialog(), and QFileDialog::~QFileDialog().