8#include "commands/change_qobject_property_command.h"
9#include "utils/uuid_identifiable.h"
10#include "utils/uuid_reference.h"
12namespace zrythm::commands
33 :
public ChangeQObjectPropertyCommand
36 static constexpr int CommandId = 1783530767;
50 QString property_name,
52 : ChangeQObjectPropertyCommand (
54 std::move (property_name),
56 uuid_ref_ (uuid_object.raw_uuid (), registry)
77 QString property_name,
79 : ChangeQObjectPropertyCommand (target, property_name, value),
80 uuid_ref_ (uuid_lifecycle_object.raw_uuid (), registry)
84 int id ()
const override {
return CommandId; }
ChangeUuidIdentifiableObjectPropertyCommand(utils::UuidIdentifiableBase &uuid_object, utils::IObjectRegistry ®istry, QString property_name, QVariant value)
Direct case: the UUID-identifiable object IS the target.
ChangeUuidIdentifiableObjectPropertyCommand(utils::UuidIdentifiableBase &uuid_lifecycle_object, QObject &target, utils::IObjectRegistry ®istry, QString property_name, QVariant value)
Sub-object case: the target is a child of a UUID-identifiable object.
Abstract interface for a UUID-keyed object registry.
QObject-based base for all UUID-identifiable objects.
Untyped, reference-counted UUID reference into an IObjectRegistry.