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.

Member Function Documentation

FileChangeBlocker::FileChangeBlocker(const QString &fileName)

Default constructs an instance of FileChangeBlocker.

FileChangeBlocker::~FileChangeBlocker()

Destroys the instance of FileChangeBlocker.