46 sipIsErr = sipCpp->isValid() ? 0 : 1;
48 PyErr_SetString( PyExc_ValueError, QStringLiteral(
"Settings do not share the same base definition key for this group. This will lead to unpredictable results." ).toUtf8().constData() );
59 QString baseKey(
const QStringList &dynamicKeyPartList = QStringList() )
const;
62 const QList<const QgsSettingsEntryBase *>
settings()
const {
return mSettings;}
68 void removeAllSettingsAtBaseKey(
const QStringList &dynamicKeyPartList = QStringList() )
const;
74 void removeAllChildrenSettings(
const QString &dynamicKeyPart = QString() )
const;
80 void removeAllChildrenSettings(
const QStringList &dynamicKeyPartList )
const;
83 bool hasDynamicKey()
const;
85 QList<const QgsSettingsEntryBase *> mSettings;
86 QString mDefinitionBaseKey;
Represent settings entry and provides methods for reading and writing settings values.
Creates a group of setting which have a common definition of base key.
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.