31 lines
512 B
C++
31 lines
512 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include "backupfile.h"
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = nullptr);
|
|
~MainWindow();
|
|
|
|
public slots:
|
|
void openBackup();
|
|
void extractTo();
|
|
void extractProgress(float percent);
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
QString backupFilename;
|
|
void showInGraphicalShell(const QString &pathIn);
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|