49 sipIsErr = sipCpp->isValid() ? 0 : 1;
51 PyErr_SetString( PyExc_ValueError, u
"Settings do not share the same base definition key for this group. This will lead to unpredictable results."_s.toUtf8().constData() );
62 QString baseKey(
const QStringList &dynamicKeyPartList = QStringList() )
const;
65 const QList<const QgsSettingsEntryBase *>
settings()
const {
return mSettings;}
71 void removeAllSettingsAtBaseKey(
const QStringList &dynamicKeyPartList = QStringList() )
const;
77 void removeAllChildrenSettings(
const QString &dynamicKeyPart = QString() )
const;
83 void removeAllChildrenSettings(
const QStringList &dynamicKeyPartList )
const;
86 bool hasDynamicKey()
const;
88 QList<const QgsSettingsEntryBase *> mSettings;
89 QString mDefinitionBaseKey;
Represents a settings entry and provides methods for reading and writing settings values.
bool isValid() const
Returns if the group is valid (if settings share the same base key).
const QList< const QgsSettingsEntryBase * > settings() const
Returns all the settings.
QgsSettingsEntryGroup(QList< const QgsSettingsEntryBase * > settings)
Constructor.