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

#include <undo.h>

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

Public Member Functions

 ChangePatch (Score *s, Channel *c, const MidiPatch *pt)
 
- 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

Scorescore
 
Channelchannel
 
MidiPatch patch
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ ChangePatch()

Ms::ChangePatch::ChangePatch ( Score s,
Channel c,
const MidiPatch pt 
)
inline

Member Function Documentation

◆ flip()

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

Reimplemented from Ms::UndoCommand.

Member Data Documentation

◆ channel

Channel* Ms::ChangePatch::channel
private

◆ patch

MidiPatch Ms::ChangePatch::patch
private

◆ score

Score* Ms::ChangePatch::score
private

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