本页内容

Core::FileChangeBlocker Class

class Core::FileChangeBlocker

FileChangeBlocker 类会阻止发送给所有与给定文件名匹配的IDocument 对象的所有更改通知。更多内容...

Header: #include <coreplugin/documentmanager.h>

详细说明

此外,该类会在析构函数中解除阻塞。若要在析构函数中同时重新加载IDocument 对象,请将 modifiedReload() 设置为 `true`。

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.