Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::actions::PluginOperator Class Reference
Inheritance diagram for zrythm::actions::PluginOperator:
Collaboration diagram for zrythm::actions::PluginOperator:

Public Member Functions

 PluginOperator (undo::UndoStack &undo_stack, plugins::PluginRegistry &plugin_registry, QObject *parent=nullptr)
Q_INVOKABLE void movePlugins (QList< plugins::Plugin * > plugins, plugins::PluginGroup *source_group, structure::tracks::Track *source_track, plugins::PluginGroup *target_group, structure::tracks::Track *target_track, int target_start_index=-1)
 Moves one or more plugins between PluginGroups.
Q_INVOKABLE void removePlugins (QList< plugins::Plugin * > plugins, plugins::PluginGroup *group, structure::tracks::Track *track)
 Removes one or more plugins from their PluginGroup.

Detailed Description

Definition at line 15 of file plugin_operator.h.

Constructor & Destructor Documentation

◆ PluginOperator()

zrythm::actions::PluginOperator::PluginOperator ( undo::UndoStack & undo_stack,
plugins::PluginRegistry & plugin_registry,
QObject * parent = nullptr )
inlineexplicit

Definition at line 22 of file plugin_operator.h.

Member Function Documentation

◆ movePlugins()

Q_INVOKABLE void zrythm::actions::PluginOperator::movePlugins ( QList< plugins::Plugin * > plugins,
plugins::PluginGroup * source_group,
structure::tracks::Track * source_track,
plugins::PluginGroup * target_group,
structure::tracks::Track * target_track,
int target_start_index = -1 )

Moves one or more plugins between PluginGroups.

Parameters
pluginsPlugins to move.
source_groupGroup the plugins currently belong to.
source_trackTrack owning the source group (for automation moves).
target_groupGroup to move the plugins into.
target_trackTrack owning the target group (for automation moves).
target_start_indexStarting position in the target group. -1 means append to the end.

◆ removePlugins()

Q_INVOKABLE void zrythm::actions::PluginOperator::removePlugins ( QList< plugins::Plugin * > plugins,
plugins::PluginGroup * group,
structure::tracks::Track * track )

Removes one or more plugins from their PluginGroup.

Parameters
pluginsPlugins to remove.
groupGroup the plugins belong to.
trackTrack owning the group (for automation track cleanup).

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