MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / saveSettings

Method saveSettings

src/MacroManager.cpp:102–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void MacroManager::saveSettings() const
103{
104 qInfo(Q_FUNC_INFO);
105
106 ApplicationSettings settings;
107
108 settings.remove("Macros");
109
110 if (macros.size() > 0) {
111 settings.beginWriteArray("Macros");
112 for (int i = 0; i < macros.size(); ++i) {
113 settings.setArrayIndex(i);
114 settings.setValue("Macro", QVariant::fromValue(*macros.at(i)));
115 }
116 settings.endArray();
117 }
118}
119
120void MacroManager::replayCurrentMacro(ScintillaNext *editor)
121{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected