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

#include <undo.h>

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

Public Member Functions

 ChangeStaffType (Staff *s, const StaffType &t)
 
- 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

Staffstaff
 
StaffType staffType
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ ChangeStaffType()

Ms::ChangeStaffType::ChangeStaffType ( Staff s,
const StaffType t 
)
inline

Member Function Documentation

◆ flip()

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

Reimplemented from Ms::UndoCommand.

Member Data Documentation

◆ staff

Staff* Ms::ChangeStaffType::staff
private

◆ staffType

StaffType Ms::ChangeStaffType::staffType
private

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