16#ifndef QGSSETTINGSPROXY_H
17#define QGSSETTINGSPROXY_H
51 return mOwnedSettings.has_value() ? &( mOwnedSettings.value() ) : mNonOwnedSettings;
59 return mOwnedSettings.has_value() ? mOwnedSettings.value() : *mNonOwnedSettings;
65 std::optional< QgsSettings > mOwnedSettings;
A helper class for access to either a temporary QgsSettings object or the thread local object.
QgsSettings * operator->()
Returns a pointer to the proxied QgsSettings object.
This class is a composition of two QSettings instances:
QgsMargins operator*(const QgsMargins &margins, double factor)
Returns a QgsMargins object that is formed by multiplying each component of the given margins by fact...