gui: rpc plumbing for settings.changed and grabber.progress

Protocol.hpp gains method-name constants for every RPC the next batch of dialogs
needs (settings.*, limiter.*, schedule.*, queue.*, download.addBatch, grabber.*)
and RpcClient re-broadcasts the two events nothing consumed yet:
event.settings.changed and event.grabber.progress. No behaviour change on its
own — OptionsDialog, SchedulerDialog and GrabberWizard are what actually call
these, landing next.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NSCdCWFXBTSBBK3MzWtJiC
This commit is contained in:
2026-09-11 17:17:23 +04:00
co-authored by Claude Sonnet 5
parent a71d904a1f
commit 39c69f3871
3 changed files with 30 additions and 0 deletions
+4
View File
@@ -106,6 +106,10 @@ void RpcClient::onNotification(const QString &methodName, const QJsonObject &par
emit speedGlobal(params);
} else if (methodName == QLatin1String(event::kNotify)) {
emit notify(params);
} else if (methodName == QLatin1String(event::kSettingsChanged)) {
emit settingsChanged(params);
} else if (methodName == QLatin1String(event::kGrabberProgress)) {
emit grabberProgress(params);
}
}