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

#include <undo.h>

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

Public Member Functions

 ChangeNoteEvent (Note *n, NoteEvent *oe, const NoteEvent &ne)
 
- 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
 
NoteEventoldEvent
 
NoteEvent newEvent
 
PlayEventType newPetype
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ ChangeNoteEvent()

Ms::ChangeNoteEvent::ChangeNoteEvent ( Note n,
NoteEvent oe,
const NoteEvent ne 
)
inline

Member Function Documentation

◆ flip()

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

Reimplemented from Ms::UndoCommand.

Member Data Documentation

◆ newEvent

NoteEvent Ms::ChangeNoteEvent::newEvent
private

◆ newPetype

PlayEventType Ms::ChangeNoteEvent::newPetype
private

◆ note

Note* Ms::ChangeNoteEvent::note
private

◆ oldEvent

NoteEvent* Ms::ChangeNoteEvent::oldEvent
private

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