Open 3D Engine LyShine Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
CUndoTrackEventRename Class Reference

#include <UiAnimViewUndo.h>

Inherits CAbstractUndoTrackEventTransaction.

Public Member Functions

 CUndoTrackEventRename (CUiAnimViewSequence *pSequence, const QString &eventName, const QString &newEventName)
 
- Public Member Functions inherited from CAbstractUndoTrackEventTransaction
 CAbstractUndoTrackEventTransaction (CUiAnimViewSequence *pSequence, const QString &eventName)
 
- Public Member Functions inherited from UiAnimUndoObject
virtual void Release ()
 Called to delete undo object.
 
virtual const char * GetObjectName ()
 
virtual bool IsChanged ([[maybe_unused]] unsigned int &compareValue) const
 

Protected Member Functions

int GetSize () override
 Return size of this Undo object.
 
const char * GetDescription () override
 Return description of this Undo object.
 
void Undo (bool bUndo) override
 
void Redo () override
 Redo undone changes on object.
 

Protected Attributes

QString m_newEventName
 
- Protected Attributes inherited from CAbstractUndoTrackEventTransaction
CUiAnimViewSequencem_pSequence
 
QString m_eventName
 

Detailed Description

Undo for renaming a track event

Member Function Documentation

◆ Undo()

void CUndoTrackEventRename::Undo ( bool  bUndo)
overrideprotectedvirtual

Undo this object.

Parameters
bUndoIf true this operation called in response to Undo operation.

Implements UiAnimUndoObject.


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