MuseScore  3.4
Music composition and notation
Public Slots | Public Member Functions | Private Attributes | List of all members
Ms::ScoreDiffModel Class Reference

#include <scorediffmodel.h>

Inheritance diagram for Ms::ScoreDiffModel:
Inheritance graph
[legend]
Collaboration diagram for Ms::ScoreDiffModel:
Collaboration graph
[legend]

Public Slots

void diffAboutToBeUpdated ()
 
void diffUpdated ()
 

Public Member Functions

 ScoreDiffModel (ScoreDiff *d, QObject *parent=nullptr)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
const BaseDiffdiffItem (const QModelIndex &index) const
 

Private Attributes

ScoreDiff_diff
 

Constructor & Destructor Documentation

◆ ScoreDiffModel()

Ms::ScoreDiffModel::ScoreDiffModel ( ScoreDiff d,
QObject *  parent = nullptr 
)
inline

Member Function Documentation

◆ data()

QVariant Ms::ScoreDiffModel::data ( const QModelIndex &  index,
int  role 
) const
override

◆ diffAboutToBeUpdated

void Ms::ScoreDiffModel::diffAboutToBeUpdated ( )
inlineslot

◆ diffItem()

const BaseDiff * Ms::ScoreDiffModel::diffItem ( const QModelIndex &  index) const

◆ diffUpdated

void Ms::ScoreDiffModel::diffUpdated ( )
inlineslot

◆ rowCount()

int Ms::ScoreDiffModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
override

Member Data Documentation

◆ _diff

ScoreDiff* Ms::ScoreDiffModel::_diff
private

The documentation for this class was generated from the following files: