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

#include <undo.h>

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

Public Member Functions

 ChangeVelocity (Note *, Note::ValueType, int)
 
- Public Member Functions inherited from Ms::UndoCommand
virtual ~UndoCommand ()
 
virtual void undo (EditData *)
 
virtual void redo (EditData *)
 
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 flip (EditData *) override
 

Private Attributes

Notenote
 
Note::ValueType veloType
 
int veloOffset
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ ChangeVelocity()

Ms::ChangeVelocity::ChangeVelocity ( Note n,
Note::ValueType  t,
int  o 
)

Member Function Documentation

◆ flip()

void Ms::ChangeVelocity::flip ( EditData )
overrideprivatevirtual

Reimplemented from Ms::UndoCommand.

Member Data Documentation

◆ note

Note* Ms::ChangeVelocity::note
private

◆ veloOffset

int Ms::ChangeVelocity::veloOffset
private

◆ veloType

Note::ValueType Ms::ChangeVelocity::veloType
private

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