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

#include <undo.h>

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

Public Member Functions

 ChangeKeySig (KeySig *k, KeySigEvent newKeySig, bool sc, bool addEvtToStaff=true)
 
- 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

KeySigkeysig
 
KeySigEvent ks
 
bool showCourtesy
 
bool evtInStaff
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ ChangeKeySig()

Ms::ChangeKeySig::ChangeKeySig ( KeySig k,
KeySigEvent  newKeySig,
bool  sc,
bool  addEvtToStaff = true 
)

Member Function Documentation

◆ flip()

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

Reimplemented from Ms::UndoCommand.

Member Data Documentation

◆ evtInStaff

bool Ms::ChangeKeySig::evtInStaff
private

◆ keysig

KeySig* Ms::ChangeKeySig::keysig
private

◆ ks

KeySigEvent Ms::ChangeKeySig::ks
private

◆ showCourtesy

bool Ms::ChangeKeySig::showCourtesy
private

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