29 lines
631 B
C++
Executable File
29 lines
631 B
C++
Executable File
#ifndef SELECTRESTOREPOINT_H
|
|
#define SELECTRESTOREPOINT_H
|
|
|
|
#include "../backuppointlistdialog.h"
|
|
|
|
class SelectRestorePoint : public BackupPointListDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
enum BackupPointType {
|
|
DATA,
|
|
SYSTEM
|
|
};
|
|
|
|
explicit SelectRestorePoint(QWidget *parent = nullptr, BackupPointType backupType = BackupPointType::SYSTEM, bool isOnlyShowLocal = false);
|
|
virtual ~SelectRestorePoint();
|
|
|
|
public slots:
|
|
void initTableWidget();
|
|
|
|
private:
|
|
void insertLines(const QList<ParseBackupList::BackupPoint> &backupPoints);
|
|
|
|
private:
|
|
BackupPointType m_backupType;
|
|
};
|
|
|
|
#endif // SELECTRESTOREPOINT_H
|