Ai
1 Star 1 Fork 1

HuanZeng/texstudio

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
cleandialog.h 976 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jan Sundermeyer 提交于 2019-02-06 04:29 +08:00 . fix compiler warning
#ifndef CLEANDIALOG_H
#define CLEANDIALOG_H
#include "latexdocument.h"
#include "mostQtHeaders.h"
namespace Ui {
class CleanDialog;
}
class CleanDialog : public QDialog
{
Q_OBJECT
public:
explicit CleanDialog(QWidget *parent = nullptr);
~CleanDialog();
bool checkClean(const LatexDocuments &docs);
private slots:
void updateFilesToRemove();
void resetExtensions();
void onAccept();
void onReject();
private:
enum Scope {None, Project, CurrentTexFile, CurrentFileFolder, OpenTexFiles, MAX_SCOPE};
Ui::CleanDialog *ui;
static QString defaultExtensions;
static QString currentExtensions;
static int scopeID;
QString masterFile;
QString currentTexFile;
QStringList openTexFiles;
QStringList filesToRemove(CleanDialog::Scope scope, const QStringList &extensionFilter);
QStringList filesToRemoveFromDir(const QDir &dir, const QStringList &extensionFilter, bool recursive = true);
};
#endif // CLEANDIALOG_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xmrzh/texstudio.git
git@gitee.com:xmrzh/texstudio.git
xmrzh
texstudio
texstudio
master

搜索帮助