添加注释
This commit is contained in:
parent
23e6bb72c3
commit
0ca56d9906
|
@ -54,13 +54,39 @@ namespace MakeTools {
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
/**
|
||||||
|
* @brief 内容自动构建和管理核心
|
||||||
|
* @param tool
|
||||||
|
*/
|
||||||
SensitiveCore(StoryTool *tool);
|
SensitiveCore(StoryTool *tool);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 保存当前所有文档内容
|
||||||
|
*/
|
||||||
void saveAll() const;
|
void saveAll() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief 文档打开状态查询
|
||||||
|
* @param target
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
bool contains(const QFileInfo &target) const;
|
bool contains(const QFileInfo &target) const;
|
||||||
|
/**
|
||||||
|
* @brief 获取文档内存实例
|
||||||
|
* @param child_view
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
TextView *queryTextComponent(const QWidget *child_view) const;
|
TextView *queryTextComponent(const QWidget *child_view) const;
|
||||||
|
/**
|
||||||
|
* @brief 获取文档内存实例
|
||||||
|
* @param target
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
TextView * queryTextComponent(const QFileInfo &target) const;
|
TextView * queryTextComponent(const QFileInfo &target) const;
|
||||||
|
/**
|
||||||
|
* @brief 关闭文档内存实例,关闭之前保存内容
|
||||||
|
* @param target
|
||||||
|
*/
|
||||||
void closeTextComponent(const QFileInfo &target);
|
void closeTextComponent(const QFileInfo &target);
|
||||||
|
|
||||||
void addPerceptionList(TextView *ins, SensitiveType type = SensitiveType::CompileAtChanged);
|
void addPerceptionList(TextView *ins, SensitiveType type = SensitiveType::CompileAtChanged);
|
||||||
|
|
Loading…
Reference in New Issue