Files
watrbx-game-engine/RobloxStudio/AutoSaveDialog.h
T
2025-09-18 17:55:52 -04:00

44 lines
701 B
C++

/**
* AutoSaveDialog.h
* Copyright (c) 2013 ROBLOX Corp. All Rights Reserved.
*/
#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;
};