Elaztek Developer Hub
Blamite Game Engine - Keystone  00402.09.29.23.0627.blamite
A library that enables the use of Qt in Blamite's editing tools.
ReplaceCommand Class Reference

#include <replacecommand.h>

+ Inheritance diagram for ReplaceCommand:
+ Collaboration diagram for ReplaceCommand:

Public Member Functions

 ReplaceCommand (QHexBuffer *buffer, qint64 offset, const QByteArray &data, QUndoCommand *parent=nullptr)
 
void undo () override
 
void redo () override
 
- Public Member Functions inherited from HexCommand
 HexCommand (QHexBuffer *buffer, QUndoCommand *parent=nullptr)
 

Additional Inherited Members

- Protected Attributes inherited from HexCommand
QHexBufferm_buffer
 
qint64 m_offset
 
int m_length
 
QByteArray m_data
 

Constructor & Destructor Documentation

◆ ReplaceCommand()

ReplaceCommand::ReplaceCommand ( QHexBuffer buffer,
qint64  offset,
const QByteArray &  data,
QUndoCommand *  parent = nullptr 
)

Member Function Documentation

◆ redo()

void ReplaceCommand::redo ( )
override
+ Here is the call graph for this function:

◆ undo()

void ReplaceCommand::undo ( )
override
+ Here is the call graph for this function:

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