byteseditinterface.h
An interface for a hex edit editor/viewer for arrays of byte.
Definition: byteseditinterface.h:77
virtual int dataSize() const =0
virtual void setModified(bool b)=0
sets whether the data should be treated modified or not
virtual void setOverwriteOnly(bool b)=0
sets whether the widget is overwriteonly or not.
virtual void setKeepsMemory(bool KM=true)=0
switches the array
virtual bool isAutoDelete() const =0
virtual void repaintRange(int i1, int i2)=0
repaint the indizes from i1 to i2
virtual void setOverwriteMode(bool b)=0
sets whether the widget is in overwrite mode or not.
virtual bool keepsMemory() const =0
virtual bool isModified() const =0
virtual void setReadOnly(bool RO=true)=0
sets whether the given array should be handled read only or not.
virtual void setMaxDataSize(int MS)=0
sets the maximal size of the actual byte array.
virtual void setData(char *D, int S, int RS=-1, bool KM=true)=0
hands over to the editor a new byte array.
virtual bool isReadOnly() const =0
virtual char * data() const =0
virtual bool isOverwriteMode() const =0
virtual int maxDataSize() const =0
virtual void setAutoDelete(bool AD=true)=0
sets whether the array should be deleted on the widget's end or if a new array is set.
virtual bool isOverwriteOnly() const =0
KHE (short for KHexEdit) is KDE's namespace for all things related to the viewing/editing of bytes.
Definition: byteseditinterface.h:33
BytesEditInterface * bytesEditInterface(T *t)
tries to get the bytesedit interface of t
Definition: byteseditinterface.h:157
TQWidget * createBytesEditWidget(TQWidget *Parent=0, const char *Name=0)
tries to create an instance of a hexedit widget for arrays of chars (char[])
Definition: byteseditinterface.h:221