Builds on windows again
This commit is contained in:
parent
33cf39b799
commit
bebb3391c3
160 changed files with 138 additions and 117 deletions
26
core/BackupFormatModel.h
Normal file
26
core/BackupFormatModel.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef BACKUPFORMATMODEL_H
|
||||
#define BACKUPFORMATMODEL_H
|
||||
|
||||
#include <QAbstractListModel>
|
||||
|
||||
class BackupFormatModel : public QAbstractListModel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
enum Column { ColumnShort=1, ColumnLong=0, ColumnDescription=2 };
|
||||
|
||||
explicit BackupFormatModel(QObject *parent);
|
||||
|
||||
// Header:
|
||||
// QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
|
||||
|
||||
// Basic functionality:
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
#endif // BACKUPFORMATMODEL_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue