MCPcopy Create free account
hub / github.com/Simsys/qhexedit2 / overwrite

Method overwrite

src/commands.cpp:149–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149void UndoStack::overwrite(qint64 pos, char c)
150{
151 if ((pos >= 0) && (pos < _chunks->size()))
152 {
153 QUndoCommand *cc = new CharCommand(_chunks, CharCommand::overwrite, pos, c);
154 this->push(cc);
155 }
156}
157
158void UndoStack::overwrite(qint64 pos, int len, const QByteArray &ba)
159{

Callers 2

undoMethod · 0.45
redoMethod · 0.45

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected