Files
aya/client/studio/src/AutoSaveDialog.hpp
2025-12-17 16:47:48 +00:00

36 lines
558 B
C++

#pragma once
#include <QDialog>
#include "ui_AutoSave.h"
/**
* Dialog for asking the user what to do with auto-save recovery files
* that were not cleaned up properly.
*/
class AutoSaveDialog : public QDialog
{
Q_OBJECT
public:
AutoSaveDialog(QWidget* Parent);
virtual ~AutoSaveDialog();
static bool checkForAutoSaveFiles();
public Q_SLOTS:
void onOpen();
void onIgnore();
void onDelete();
protected:
void closeEvent(QCloseEvent* event);
private:
static QStringList getFileList();
Ui::AutoSave m_UI;
};