summaryrefslogtreecommitdiffstats
path: root/externals/qhexedit/xbytearray.h
diff options
context:
space:
mode:
authorKloen <kloen@outlawkiwi.com>2017-01-22 18:46:48 +0100
committerKloen <kloen@outlawkiwi.com>2017-01-22 18:46:48 +0100
commitabc5c134a3285aa0fbc653e9a4b9d4a9ea111e50 (patch)
tree18cc6dce3434ecf7e363a52590bd9484394898b0 /externals/qhexedit/xbytearray.h
parentcitra-qt: Removed unused and unimplemented ramview files. (diff)
downloadyuzu-abc5c134a3285aa0fbc653e9a4b9d4a9ea111e50.tar
yuzu-abc5c134a3285aa0fbc653e9a4b9d4a9ea111e50.tar.gz
yuzu-abc5c134a3285aa0fbc653e9a4b9d4a9ea111e50.tar.bz2
yuzu-abc5c134a3285aa0fbc653e9a4b9d4a9ea111e50.tar.lz
yuzu-abc5c134a3285aa0fbc653e9a4b9d4a9ea111e50.tar.xz
yuzu-abc5c134a3285aa0fbc653e9a4b9d4a9ea111e50.tar.zst
yuzu-abc5c134a3285aa0fbc653e9a4b9d4a9ea111e50.zip
Diffstat (limited to 'externals/qhexedit/xbytearray.h')
-rw-r--r--externals/qhexedit/xbytearray.h66
1 files changed, 0 insertions, 66 deletions
diff --git a/externals/qhexedit/xbytearray.h b/externals/qhexedit/xbytearray.h
deleted file mode 100644
index 2b67c61b8..000000000
--- a/externals/qhexedit/xbytearray.h
+++ /dev/null
@@ -1,66 +0,0 @@
-#ifndef XBYTEARRAY_H
-#define XBYTEARRAY_H
-
-/** \cond docNever */
-
-#include <QtCore>
-
-/*! XByteArray represents the content of QHexEcit.
-XByteArray comprehend the data itself and informations to store if it was
-changed. The QHexEdit component uses these informations to perform nice
-rendering of the data
-
-XByteArray also provides some functionality to insert, replace and remove
-single chars and QByteArras. Additionally some functions support rendering
-and converting to readable strings.
-*/
-class XByteArray
-{
-public:
- explicit XByteArray();
-
- int addressOffset();
- void setAddressOffset(int offset);
-
- int addressWidth();
- void setAddressWidth(int width);
-
- QByteArray & data();
- void setData(QByteArray data);
-
- bool dataChanged(int i);
- QByteArray dataChanged(int i, int len);
- void setDataChanged(int i, bool state);
- void setDataChanged(int i, const QByteArray & state);
-
- int realAddressNumbers();
- int size();
-
- QByteArray & insert(int i, char ch);
- QByteArray & insert(int i, const QByteArray & ba);
-
- QByteArray & remove(int pos, int len);
-
- QByteArray & replace(int index, char ch);
- QByteArray & replace(int index, const QByteArray & ba);
- QByteArray & replace(int index, int length, const QByteArray & ba);
-
- QChar asciiChar(int index);
- QString toRedableString(int start=0, int end=-1);
-
-signals:
-
-public slots:
-
-private:
- QByteArray _data;
- QByteArray _changedData;
-
- int _addressNumbers; // wanted width of address area
- int _addressOffset; // will be added to the real addres inside bytearray
- int _realAddressNumbers; // real width of address area (can be greater then wanted width)
- int _oldSize; // size of data
-};
-
-/** \endcond docNever */
-#endif // XBYTEARRAY_H