15#ifndef LUA_DEBUGGER_SETTINGS_H
16#define LUA_DEBUGGER_SETTINGS_H
42 QVariantMap &
map() {
return map_; }
48 const QVariantMap &
map()
const {
return map_; }
59 static QJsonArray
jsonArrayAt(
const QVariantMap &
map,
const char *key);
In-memory Lua debugger UI settings backed by lua_debugger.json (global personal config,...
Definition lua_debugger_settings.h:26
void saveToFile() const
Persists the current settings map to lua_debugger.json.
Definition lua_debugger_settings.cpp:67
static QJsonArray jsonArrayAt(const QVariantMap &map, const char *key)
Extracts a JSON array from a QVariantMap by key.
Definition lua_debugger_settings.cpp:86
const QVariantMap & map() const
Returns a read-only reference to the underlying settings map.
Definition lua_debugger_settings.h:48
void loadFromFile()
Loads settings from lua_debugger.json into the internal map.
Definition lua_debugger_settings.cpp:36
QVariantMap & map()
Returns a mutable reference to the underlying settings map.
Definition lua_debugger_settings.h:42