On Tuesday, 14 April 2020 05:46:18 -03 Stefano Crocco wrote: > To set the proxy for QtWebEngine, I need to use > QNetworkProxy::setApplicationProxy. I've found that proxy settings are > stored in .config/kioslavesrc, so i could read them using KConfig, but: > - is there an official way to read them? If I use KConfig to directly read > the config file, how can I be sure that the way the settings are stored > won't change in the future? > - how can I know when the proxy settings have been changed so that I can > update QNetworkProxy::applicationProxy?
Listen to the org.kde.KIO.Scheduler.reparseSlaveConfiguration D-Bus signal. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel System Software Products