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

#include <undo.h>

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

Public Member Functions

 SwapExcerpt (MasterScore *s, int p1, int p2)
 
- 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

MasterScorescore
 
int pos1
 
int pos2
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ SwapExcerpt()

Ms::SwapExcerpt::SwapExcerpt ( MasterScore s,
int  p1,
int  p2 
)
inline

Member Function Documentation

◆ flip()

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

Reimplemented from Ms::UndoCommand.

Member Data Documentation

◆ pos1

int Ms::SwapExcerpt::pos1
private

◆ pos2

int Ms::SwapExcerpt::pos2
private

◆ score

MasterScore* Ms::SwapExcerpt::score
private

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