Loading...
Searching...
No Matches
Patternist::ReplacePatterns Class Referencefinal
Inheritance diagram for Patternist::ReplacePatterns:
Detailed Description
Changes the pattern list and which one is current together, so that adding or removing a pattern is a single undo step.
Public Member Functions | |
| ReplacePatterns (const ProcessModel &model, std::vector< Pattern > pat, int current) | |
| void | undo (const score::DocumentContext &ctx) const override |
| void | redo (const score::DocumentContext &ctx) const override |
Public Member Functions inherited from score::Command | |
| virtual const CommandGroupKey & | parentKey () const noexcept=0 |
| virtual const CommandKey & | key () const noexcept=0 |
| QByteArray | serialize () const |
| void | deserialize (const QByteArray &) |
| virtual QString | description () const =0 |
Protected Member Functions | |
| void | serializeImpl (DataStreamInput &s) const override |
| void | deserializeImpl (DataStreamOutput &s) override |
Member Function Documentation
◆ deserializeImpl()
|
inlineoverrideprotectedvirtual |
Implements score::Command.
◆ redo()
|
inlineoverridevirtual |
Implements score::Command.
◆ serializeImpl()
|
inlineoverrideprotectedvirtual |
Implements score::Command.
◆ undo()
|
inlineoverridevirtual |
Implements score::Command.
The documentation for this class was generated from the following file:
Public Member Functions inherited from