18 #ifndef BACKUPWIDGET_H
19 #define BACKUPWIDGET_H
21 #include "src/classes/astandardpaths.h"
24 #include <QStandardItemModel>
25 #include <QFileSystemModel>
26 #include <QFileSystemWatcher>
44 AFileStandardItem(
const QIcon& icon,
const QString& filename,
const AStandardPaths::Directories dir)
45 : QStandardItem(icon, filename),
49 : QStandardItem(icon, file_info.baseName()),
50 fileInfo(QFileInfo(file_info))
54 const QFileInfo& info()
const
78 void on_tableView_clicked(
const QModelIndex &index);
83 void on_createLocalPushButton_clicked();
88 void on_restoreLocalPushButton_clicked();
93 void on_deleteSelectedPushButton_clicked();
98 void on_createExternalPushButton_clicked();
103 void on_restoreExternalPushButton_clicked();
108 void on_aboutPushButton_clicked();
111 Ui::BackupWidget *ui;
113 QStandardItemModel *model;
123 const QString backupName();
128 const QString absoluteBackupPath();
137 #endif // BACKUPWIDGET_H