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

#include <undo.h>

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

Public Member Functions

 RemoveElement (Element *)
 
virtual void undo (EditData *) override
 
virtual void redo (EditData *) override
 
virtual void cleanup (bool)
 
virtual const char * name () const override
 
- Public Member Functions inherited from Ms::UndoCommand
virtual ~UndoCommand ()
 
void appendChild (UndoCommand *cmd)
 
UndoCommandremoveChild ()
 
int childCount () const
 
void unwind ()
 
const QList< UndoCommand * > & commands () const
 

Private Attributes

Elementelement
 

Additional Inherited Members

- Protected Member Functions inherited from Ms::UndoCommand
virtual void flip (EditData *)
 

Constructor & Destructor Documentation

◆ RemoveElement()

Ms::RemoveElement::RemoveElement ( Element e)

Member Function Documentation

◆ cleanup()

void Ms::RemoveElement::cleanup ( bool  undo)
virtual

Reimplemented from Ms::UndoCommand.

◆ name()

const char * Ms::RemoveElement::name ( ) const
overridevirtual

Reimplemented from Ms::UndoCommand.

◆ redo()

void Ms::RemoveElement::redo ( EditData )
overridevirtual

Reimplemented from Ms::UndoCommand.

◆ undo()

void Ms::RemoveElement::undo ( EditData )
overridevirtual

Reimplemented from Ms::UndoCommand.

Member Data Documentation

◆ element

Element* Ms::RemoveElement::element
private

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