 |
Blamite Game Engine - Keystone
00390.07.02.23.1947.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file. 1 #ifndef REPLACECOMMAND_H
2 #define REPLACECOMMAND_H
17 #endif // REPLACECOMMAND_H
Definition: hexcommand.h:7
Definition: qhexbuffer.h:7
qint64 m_offset
Definition: hexcommand.h:14
virtual void replace(qint64 offset, const QByteArray &data)
Definition: qhexbuffer.cpp:9
Definition: replacecommand.h:6
ReplaceCommand(QHexBuffer *buffer, qint64 offset, const QByteArray &data, QUndoCommand *parent=nullptr)
Definition: replacecommand.cpp:3
void undo() override
Definition: replacecommand.cpp:9
QHexBuffer * m_buffer
Definition: hexcommand.h:13
virtual void read(char *data, int size)
Definition: qhexbuffer.cpp:15
QByteArray m_data
Definition: hexcommand.h:16
void redo() override
Definition: replacecommand.cpp:11