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

#include <undo.h>

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

Public Member Functions

 MoveTremolo (Score *s, Fraction c1, Fraction c2, Tremolo *tr, int t)
 
- Public Member Functions inherited from Ms::UndoCommand
virtual ~UndoCommand ()
 
void appendChild (UndoCommand *cmd)
 
UndoCommandremoveChild ()
 
int childCount () const
 
void unwind ()
 
const QList< UndoCommand * > & commands () const
 
virtual void cleanup (bool undo)
 
virtual const char * name () const
 

Private Member Functions

void undo (EditData *) override
 
void redo (EditData *) override
 

Private Attributes

Scorescore
 
Fraction chord1Tick
 
Fraction chord2Tick
 
Tremolotrem
 
int track
 
ChordoldC1
 
ChordoldC2
 

Additional Inherited Members

- Protected Member Functions inherited from Ms::UndoCommand
virtual void flip (EditData *)
 

Constructor & Destructor Documentation

◆ MoveTremolo()

Ms::MoveTremolo::MoveTremolo ( Score s,
Fraction  c1,
Fraction  c2,
Tremolo tr,
int  t 
)
inline

Member Function Documentation

◆ redo()

void Ms::MoveTremolo::redo ( EditData )
overrideprivatevirtual

Reimplemented from Ms::UndoCommand.

◆ undo()

void Ms::MoveTremolo::undo ( EditData )
overrideprivatevirtual

Reimplemented from Ms::UndoCommand.

Member Data Documentation

◆ chord1Tick

Fraction Ms::MoveTremolo::chord1Tick
private

◆ chord2Tick

Fraction Ms::MoveTremolo::chord2Tick
private

◆ oldC1

Chord* Ms::MoveTremolo::oldC1
private

◆ oldC2

Chord* Ms::MoveTremolo::oldC2
private

◆ score

Score* Ms::MoveTremolo::score
private

◆ track

int Ms::MoveTremolo::track
private

◆ trem

Tremolo* Ms::MoveTremolo::trem
private

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