FileChangeBlocker Class
(Core::FileChangeBlocker)The FileChangeBlocker class blocks all change notifications to all IDocument objects that match the given filename. More...
Header: | #include <FileChangeBlocker> |
Public Functions
FileChangeBlocker(const QString &fileName) | |
~FileChangeBlocker() |
Detailed Description
The FileChangeBlocker class blocks all change notifications to all IDocument objects that match the given filename.
Additionally, the class unblocks in the destructor. To also reload the IDocument object in the destructor, set modifiedReload() to true
.