Further renamings.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
#include <QAbstractTableModel>
|
||||
|
||||
#include <bcdata.h>
|
||||
#include <bcdataitem.h>
|
||||
|
||||
|
||||
class BCDataModel : public QAbstractListModel
|
||||
@@ -44,16 +44,16 @@ public:
|
||||
|
||||
explicit BCDataModel(QObject *parent = nullptr);
|
||||
|
||||
void addValue(const BCData &val);
|
||||
void addValue(const BCDataItem& val);
|
||||
void setValueList(const BCDataList& valueList);
|
||||
BCDataList& getValueList();
|
||||
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
|
||||
int rowCount(const QModelIndex& parent = QModelIndex()) const override;
|
||||
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;
|
||||
|
||||
// Nötig für Editierbarkeit
|
||||
Qt::ItemFlags flags(const QModelIndex &index) const override;
|
||||
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
|
||||
Qt::ItemFlags flags(const QModelIndex& index) const override;
|
||||
bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user