13 #ifndef __SCOREDIFFMODEL_H__ 14 #define __SCOREDIFFMODEL_H__ 36 int rowCount(
const QModelIndex& parent = QModelIndex())
const override;
37 QVariant
data(
const QModelIndex& index,
int role)
const override;
55 int rowCount(
const QModelIndex& parent = QModelIndex())
const override;
56 QVariant
data(
const QModelIndex& index,
int role)
const override;
58 const BaseDiff* diffItem(
const QModelIndex& index)
const;
Definition: scorediff.h:135
void update()
Definition: scorediffmodel.cpp:33
RawScoreDiffModel(ScoreDiff *d, bool skipEqual=true, QObject *parent=nullptr)
Definition: scorediffmodel.cpp:23
ScoreDiff * _diff
Definition: scorediffmodel.h:29
Definition: scorediffmodel.h:47
Definition: scorediff.h:68
std::vector< const TextDiff * > _textDiffs
Definition: scorediffmodel.h:30
Definition: aeolus.cpp:26
ScoreDiffModel(ScoreDiff *d, QObject *parent=nullptr)
Definition: scorediffmodel.h:53
int rowCount(const QModelIndex &parent=QModelIndex()) const override
Definition: scorediffmodel.cpp:53
QVariant data(const QModelIndex &index, int role) const override
Definition: scorediffmodel.cpp:64
void diffUpdated()
Definition: scorediffmodel.h:62
void diffAboutToBeUpdated()
Definition: scorediffmodel.h:61
Definition: scorediffmodel.h:26
bool _skipEqual
Definition: scorediffmodel.h:31
ScoreDiff * _diff
Definition: scorediffmodel.h:50