Am 21.01.2012 um 15:32 schrieb Alan Ezust <alan....@gmail.com>:
> Qt Mobility has a publish-subscribe module which is basically like QSettings but with IPC in mind.
> It already has the ability to notify you of changes.
If "immediate notifications" are not a must, then "polling for changes" might also be a possibility: re-loading the QSettings every n minutes (or seconds).
Cheers, Oliver
Hoever, it would NOT be hard to extend FileSystemWatcher to handle watching the registry.
Similar Win32 messages are emitted when the portion of the registry changes and you are watching that portion..
Scott
That’s my point…
QSettingsWatcher for windows would have to be a variant but non-portable enhancement to QFileWatcher..
However, QSettingsWatcher for Linux could BE QFileWatcher, just pointing to each file/directory.
For mac, Im not sure if it uses pfile or not, but again, pretty easy to watch.
Scott
For mac, Im not sure if it uses pfile or not, but again, pretty easy to watch.