MockSettings
In-memory Settings implementation that doesn't persist to disk.
| Declared in | src/libs/libcatalog/catalog/MockSettings.hpp |
| Inherits | Settings |
| Group | catalog |
Detailed description
MockSettings provides a Settings subclass that stores all values in memory instead of persisting to disk. This is useful for: - Unit testing widgets that need Settings - Screenshot capture where persistence is not needed - Isolated testing without affecting real settings
All getters return default values unless explicitly set. The underlying QSettings from the base class is not used.
See also Settings, ActivityMockRuntime.