[Marble-devel] RFC: Use QFileSystemWatcher in MapThemeManager, first try
Jens-Michael Hoffmann
jensmh at gmx.de
Tue Apr 22 21:54:37 CEST 2008
Hi,
the attached patch adds a QFileSystemWatcher member to MapThemeManager. There
are two new slots:
1. directoryChanged
list of watched paths gets updated and MapThemeModel gets updated using
updateMapThemeModel.
2. fileChanged
corresponding item of model gets removed or updated.
There is some potential to optimize left. For example in case of
directoryChanged we could update only the corresponding part of the model if
any.
ChangeLog is also missing for now.
Please feel free to comment. If you approve the patch I would like to commit.
Best regards
Jens-Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: marble-MapThemeManager-use-QFileSystemWatcher-simple.patch
Type: text/x-diff
Size: 13670 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/marble-devel/attachments/20080422/c413b5de/attachment.bin
More information about the Marble-devel
mailing list