okteta
poddecodertool.cpp
Go to the documentation of this file.
262 const Answer answer = Cancel; // TODO: non-persistent editor closes on new dialog -> crash after dialog
263 // mDifferentSizeDialog ? mDifferentSizeDialog->query( bytesSize, oldValueSize, sizeLeft ) : Cancel;
275 changesDescribable->openGroupedChange( i18nc("Edited as %datatype","Edited as %1", typeCodec->name()) );
276 mByteArrayModel->replace( Okteta::AddressRange::fromWidth(mCursorIndex,removedBytesSize), bytes );
320 const Okteta::AddressRange markingRange = Okteta::AddressRange::fromWidth( mCursorIndex, length );
virtual Size replace(const AddressRange &removeRange, const Byte *insertData, int insertLength)=0
replaces as much as possible
Definition: abstracttypecodec.h:38
Definition: poddecodertool.cpp:67
Definition: poddecodertool.cpp:59
Definition: utf8codec.h:35
virtual void closeGroupedChange(const QString &description=QString())=0
QString nameOfPOD(int podId) const
Definition: poddecodertool.cpp:214
Definition: poddecodertool.cpp:58
QString charCodingName() const
Definition: bytearrayview.cpp:255
Definition: poddecodertool.cpp:62
Definition: hexadecimal8codec.h:33
Definition: poddecodertool.cpp:65
virtual void openGroupedChange(const QString &description=QString())=0
Definition: kastencore.h:70
Definition: uint8codec.h:33
virtual bool areEqual(const QVariant &value, QVariant &otherValue) const =0
Definition: uint32codec.h:33
Definition: poddecodertool.cpp:64
Definition: sint8codec.h:33
Definition: float64codec.h:33
void setUnsignedAsHex(bool unsignedAsHex)
Definition: poddecodertool.cpp:169
Definition: poddecodertool.cpp:72
virtual Size copyTo(Byte *dest, const AddressRange ©Range) const
copies the data of the section into a given array Dest.
Definition: abstractbytearraymodel.cpp:60
void readOnlyChanged(bool isReadOnly)
Definition: char8codec.h:35
Definition: uint16codec.h:33
virtual Size size() const =0
Okteta::Address cursorPosition() const
Definition: bytearrayview.cpp:227
Definition: poddecodertool.cpp:69
Definition: uint64codec.h:33
Definition: poddecodertool.cpp:63
void dataChanged()
Definition: binary8codec.h:33
static NumberRange fromWidth(AddressstartIndex, Sizewidth)
constructs a range by width
virtual void setTargetModel(AbstractModel *model)
Definition: poddecodertool.cpp:97
Definition: sint32codec.h:33
void setMarking(const Okteta::AddressRange &range, bool ensureVisible=false)
Definition: bytearrayview.cpp:351
Definition: poddecodertool.cpp:68
static CharCodec * createCodec(CharCoding charCoding)
Definition: charcodec.cpp:68
void setData(const QVariant &data, int podId)
Definition: poddecodertool.cpp:227
Definition: poddecodertool.cpp:71
T findBaseModel() const
returns the first baseModel which is of type T, or null if none is found.
Definition: abstractmodel.h:93
Definition: kastencore.h:60
Definition: sint16codec.h:33
Definition: sint64codec.h:33
Definition: poddecodertool.cpp:74
Definition: float32codec.h:33
virtual const QString & name() const =0
Definition: poddecodertool.cpp:61
Definition: octal8codec.h:33
void setByteOrder(int byteOrder)
Definition: poddecodertool.cpp:179
virtual QByteArray valueToBytes(const QVariant &value) const =0
Definition: poddecodertool.cpp:60
Definition: poddecodertool.cpp:66
Definition: bytearraydocument.h:54
Definition: abstractmodel.h:40
Definition: poddecodertool.cpp:70
void setDifferentSizeDialog(AbstractDifferentSizeDialog *differentSizeDialog)
Definition: poddecodertool.cpp:164
Definition: bytearrayview.h:51
void isApplyableChanged(bool isApplyable)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.