mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
1af00703b3
Use std::vector<> instead of fixed size array. Doesn't do any logic change, even though the back-translation logic is ominous. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
21 lines
460 B
C++
21 lines
460 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef WEIGHTSYSTEMINFOMODEL_H
|
|
#define WEIGHTSYSTEMINFOMODEL_H
|
|
|
|
#include "cleanertablemodel.h"
|
|
|
|
/* Encapsulate ws_info */
|
|
class WSInfoModel : public CleanerTableModel {
|
|
Q_OBJECT
|
|
public:
|
|
enum Column {
|
|
DESCRIPTION,
|
|
GR
|
|
};
|
|
using CleanerTableModel::CleanerTableModel;
|
|
|
|
QVariant data(const QModelIndex &index, int role) const override;
|
|
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
|
};
|
|
|
|
#endif
|