• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

okteta

Okteta Namespace Reference

Classes

class  AbstractByteArrayColumnRenderer
 base class of all buffer column displayers holds all information about the vertical layout of a buffer column knows how to paint the data and the editing things (focus, cursor, selection) but does not offer More...
class  AbstractByteArrayModel
 could it be useful to hide the data access behind an iterator? * class KDataBufferIterator { public: bool hasNext(); char next(); protected: More...
class  AbstractByteArrayView
class  AbstractColumnRenderer
 base class for columns of the ColumnsView More...
class  AbstractColumnStylist
class  AbstractTypeCodec
class  AbstractWheelController
class  AddressComboBox
class  AddressRangeList
class  AddressValidator
class  ArrayChangeMetrics
class  ArrayChangeMetricsList
class  Binary8Codec
class  Bookmark
class  Bookmarkable
class  BookmarkList
class  BookmarkListConstIteratorAdapter
class  BookmarksConstIterator
class  BookmarksConstIteratorAdapter
class  BorderColumnRenderer
 column that does nothing but draw a vertical line in the middle of the column More...
class  ByteArrayChange
class  ByteArrayColumnView
 the main widget More...
class  ByteArrayComboBox
class  ByteArrayJanusView
class  ByteArrayModel
class  ByteArrayRowColumnRenderer
 base class of all buffer column displayers holds all information about the vertical layout of a buffer column knows how to paint the data and the editing things (focus, cursor, selection) but does not offer More...
class  ByteArrayRowView
class  ByteArrayTableCursor
 navigates through the buffer in an abstract way, based on the layout More...
class  ByteArrayTableLayout
 the logical layout of a byte array table for a view More...
class  ByteArrayTableRanges
 a class to control all the ranges like marking and selections holds also all modified ranges and merges them so a repaint can take its info from here More...
class  ByteArrayValidator
class  ChangeHistory
class  ChangesDataStorage
class  ChangesDescribable
class  Char8Codec
class  Character
class  CharByteArrayColumnRenderer
 buffer column that interprets the bytes as chars More...
class  CharCodec
class  ColumnsView
 general class for widgets with columns that display different aspects of the same data with the same lineheight for all lines More...
class  Coord
 a class which represents a coord in a 2-dim. More...
class  CoordRange
 describes a range in the buffercoord More...
class  CoordRangeList
class  Dropper
class  FileByteArrayModel
class  FixedSizeByteArrayModel
 base class for all mData buffers that are used to display TODO: think about a way to inform KHexEdit that there has been a change in the buffer outside. More...
class  Float32Codec
class  Float64Codec
class  Hexadecimal8Codec
class  KBinaryByteCodec
class  KCharEditor
class  KController
class  KCursor
class  KDecimalByteCodec
class  KEBCDIC1047CharCodec
class  KEditor
class  KHexadecimalByteCodec
class  KNavigator
class  KOctalByteCodec
class  KTabController
class  KTextCharCodec
class  KValueEditor
class  Octal8Codec
class  OffsetColumnRenderer
class  OffsetFormat
class  PieceTableByteArrayModel
class  PODData
class  PrintColumnStylist
class  Selection
 This class describes a selected range of the buffer. More...
class  SInt16Codec
class  SInt32Codec
class  SInt64Codec
class  SInt8Codec
class  UInt16Codec
class  UInt32Codec
class  UInt64Codec
class  UInt8Codec
class  Utf8Codec
class  ValueByteArrayColumnRenderer
 buffer column which displays the numerical values of the bytes More...
class  ValueCodec
 class that is able to convert codings to and from hexadecimal, decimal, octal, and binary More...
class  Versionable
class  WidgetColumnStylist
class  WordByteArrayService
class  ZoomWheelController

Typedefs

typedef qint32 Address
typedef KDE::NumberRange
< Address, Size > 
AddressRange
typedef unsigned char Byte
typedef qint32 Line
typedef qint32 LinePosition
typedef KDE::NumberRange
< LinePosition,
LinePositionSize > 
LinePositionRange
typedef qint32 LinePositionSize
typedef KDE::NumberRange< Line,
LineSize > 
LineRange
typedef qint32 LineSize
typedef int PixelX
typedef KDE::NumberRange< PixelX > PixelXRange
typedef int PixelY
typedef KDE::NumberRange< PixelY > PixelYRange
typedef qint32 Size

Enumerations

enum  ByteOrder { LittleEndian = 0, BigEndian = 1 }
enum  CharCoding {
  LocalEncoding = 0, ISO8859_1Encoding, ISO8859_2Encoding, ISO8859_3Encoding,
  ISO8859_4Encoding, ISO8859_5Encoding, ISO8859_6Encoding, ISO8859_7Encoding,
  ISO8859_8Encoding, ISO8859_8_IEncoding, ISO8859_9Encoding, ISO8859_11Encoding,
  ISO8859_13Encoding, ISO8859_15Encoding, CP1250Encoding, CP1251Encoding,
  CP1252Encoding, CP1253Encoding, CP1254Encoding, CP1255Encoding,
  CP1256Encoding, CP1257Encoding, CP1258Encoding, IBM850Encoding,
  IBM866Encoding, KOI8_REncoding, KOI8_UEncoding, EBCDIC1047Encoding,
  StartOfOwnEncoding = 0x8000, InvalidEncoding = 0xFFFE, MaxEncodingId = 0xFFFF
}
enum  ValueCoding {
  HexadecimalCoding = 0, DecimalCoding = 1, OctalCoding = 2, BinaryCoding = 3,
  InvalidCoding = 0xFFFE, MaxCodingId = 0xFFFF
}

Functions

static void copyInvertedBytes (Byte *data, const Byte *sourceData, const int length)
static QTextCodec * createLatin1 ()
static bool is8Bit (QTextCodec *Codec)
static bool isValidBigDigit (unsigned char Digit)
static bool isValidDecimalDigit (unsigned char Digit)
static bool isValidSmallDigit (unsigned char Digit)
Coord operator+ (const Coord &other, LinePosition pos)
QDataStream & operator<< (QDataStream &outStream, const ByteArrayChange &change)
QDataStream & operator<< (QDataStream &outStream, const ArrayChangeMetrics &metrics)
QDataStream & operator>> (QDataStream &inStream, ByteArrayChange &change)
QDataStream & operator>> (QDataStream &inStream, ArrayChangeMetrics &metrics)
static QByteArray toLower (const QByteArray &_pattern, const CharCodec *charCodec)

Variables

static const QChar BigDigit [16]
static const PixelX BorderMargin = 4
static const PixelX BorderWidth = 2 * BorderMargin + LineWidth
static const int DefaultBinaryGapWidth = 1
static const PixelX DefaultByteSpacingWidth = 3
static const PixelX DefaultCursorWidth = 2
static const PixelX DefaultGroupSpacingWidth = 9
static const int DefaultNoOfGroupedBytes = 4
static const LineSize DefaultNoOfLinesPerPage = 1
static const PixelX DefaultRowSpacingHeight = 0
static const bool DefaultShowingNonprinting = false
static const int DefaultSingleStep = 20
static const QChar DefaultSubstituteChar = (char)'.'
static const QChar DefaultUndefinedChar = (char)'?'
static const
AbstractByteArrayView::CodingTypes 
DefaultVisibleCodings
static unsigned char EBCDICChars [256]
static const Byte EmptyByte = ' '
static struct
Okteta::KEncodingNames 
EncodingNames []
static const unsigned int EndsLater = 2
static const char KEBCDIC1047CharCodecName [] = "EBCDIC 1047"
static const PixelX leftOffsetMargin = 2
static const PixelX LineWidth = 1
static const PixelX LineX = BorderMargin
const LinePosition NoByteFound = -1
static const int NoOfCodings = 4
static const unsigned int NoOfEncodings = sizeof(EncodingNames)/sizeof(struct KEncodingNames)
static const char OctetStreamFormatName [] = "application/octet-stream"
static const unsigned char PrimitivesDefaultUndefinedChar = '?'
static const char QTextCodecWhiteSpace = 63
static const PixelX rightOffsetMargin = 2
static const int SearchedByteCountSignalLimit = 10000
static const QChar SmallDigit [16]
static const unsigned int StartsBefore = 1
static const ByteOrder thisMachineByteOrder
static quint16 UnicodeChars [256]

Typedef Documentation

typedef qint32 Okteta::Address

Definition at line 33 of file address.h.

typedef KDE::NumberRange<Address,Size> Okteta::AddressRange

Definition at line 35 of file addressrange.h.

typedef unsigned char Okteta::Byte

Definition at line 29 of file byte.h.

typedef qint32 Okteta::Line

Definition at line 33 of file line.h.

typedef qint32 Okteta::LinePosition

Definition at line 33 of file lineposition.h.

typedef KDE::NumberRange<LinePosition,LinePositionSize> Okteta::LinePositionRange

Definition at line 34 of file linepositionrange.h.

typedef qint32 Okteta::LinePositionSize

Definition at line 34 of file lineposition.h.

typedef KDE::NumberRange<Line,LineSize> Okteta::LineRange

Definition at line 34 of file linerange.h.

typedef qint32 Okteta::LineSize

Definition at line 34 of file line.h.

typedef int Okteta::PixelX

Definition at line 34 of file kadds.h.

typedef KDE::NumberRange<PixelX> Okteta::PixelXRange

Definition at line 37 of file kadds.h.

typedef int Okteta::PixelY

Definition at line 35 of file kadds.h.

typedef KDE::NumberRange<PixelY> Okteta::PixelYRange

Definition at line 38 of file kadds.h.

typedef qint32 Okteta::Size

Definition at line 33 of file size.h.


Enumeration Type Documentation

enum Okteta::ByteOrder
Enumerator:
LittleEndian 
BigEndian 

Definition at line 105 of file oktetacore.h.

enum Okteta::CharCoding
Enumerator:
LocalEncoding 

the coding of your shell

ISO8859_1Encoding 

ASCII encoding, also known as Latin1.

ISO8859_2Encoding 
ISO8859_3Encoding 
ISO8859_4Encoding 
ISO8859_5Encoding 
ISO8859_6Encoding 
ISO8859_7Encoding 
ISO8859_8Encoding 
ISO8859_8_IEncoding 
ISO8859_9Encoding 
ISO8859_11Encoding 
ISO8859_13Encoding 
ISO8859_15Encoding 
CP1250Encoding 
CP1251Encoding 
CP1252Encoding 
CP1253Encoding 
CP1254Encoding 
CP1255Encoding 
CP1256Encoding 
CP1257Encoding 
CP1258Encoding 
IBM850Encoding 
IBM866Encoding 
KOI8_REncoding 
KOI8_UEncoding 
EBCDIC1047Encoding 

the most common EBCDIC codepage

StartOfOwnEncoding 

Offset for own encodings which are bound in by plugins.

InvalidEncoding 
MaxEncodingId 

this should enable extension without breaking binary compatibility

Definition at line 39 of file oktetacore.h.

enum Okteta::ValueCoding
Enumerator:
HexadecimalCoding 
DecimalCoding 
OctalCoding 
BinaryCoding 
InvalidCoding 
MaxCodingId 

Definition at line 34 of file oktetacore.h.


Function Documentation

static void Okteta::copyInvertedBytes ( Byte *  data,
const Byte *  sourceData,
const int  length 
) [inline, static]

Definition at line 29 of file poddata.cpp.

static QTextCodec* Okteta::createLatin1 (  )  [static]

Definition at line 88 of file ktextcharcodec.cpp.

static bool Okteta::is8Bit ( QTextCodec *  Codec  )  [static]

Definition at line 73 of file ktextcharcodec.cpp.

static bool Okteta::isValidBigDigit ( unsigned char  Digit  )  [inline, static]

Definition at line 64 of file khexadecimalbytecodec.cpp.

static bool Okteta::isValidDecimalDigit ( unsigned char  Digit  )  [inline, static]

Definition at line 74 of file khexadecimalbytecodec.cpp.

static bool Okteta::isValidSmallDigit ( unsigned char  Digit  )  [inline, static]

Definition at line 69 of file khexadecimalbytecodec.cpp.

Coord Okteta::operator+ ( const Coord &  other,
LinePosition  pos 
) [inline]

Definition at line 306 of file coord.h.

QDataStream & Okteta::operator<< ( QDataStream &  outStream,
const ByteArrayChange &  change 
) [inline]

Definition at line 74 of file bytearraychange.h.

QDataStream & Okteta::operator<< ( QDataStream &  outStream,
const ArrayChangeMetrics &  metrics 
) [inline]

Definition at line 153 of file arraychangemetrics.h.

QDataStream & Okteta::operator>> ( QDataStream &  inStream,
ByteArrayChange &  change 
) [inline]

Definition at line 80 of file bytearraychange.h.

QDataStream & Okteta::operator>> ( QDataStream &  inStream,
ArrayChangeMetrics &  metrics 
) [inline]

Definition at line 159 of file arraychangemetrics.h.

static QByteArray Okteta::toLower ( const QByteArray &  _pattern,
const CharCodec *  charCodec 
) [static]

Definition at line 139 of file abstractbytearraymodel.cpp.


Variable Documentation

const QChar Okteta::BigDigit[16] [static]
Initial value:
{ '0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F' }

Definition at line 31 of file khexadecimalbytecodec.cpp.

const PixelX Okteta::BorderMargin = 4 [static]

Definition at line 35 of file bordercolumnrenderer.cpp.

const PixelX Okteta::BorderWidth = 2 * BorderMargin + LineWidth [static]

Definition at line 37 of file bordercolumnrenderer.cpp.

static const int Okteta::DefaultBinaryGapWidth = 1 [static]

Definition at line 60 of file bytearrayrowcolumnrenderer.cpp.

static const PixelX Okteta::DefaultByteSpacingWidth = 3 [static]

Definition at line 51 of file abstractbytearraycolumnrenderer.cpp.

static const PixelX Okteta::DefaultCursorWidth = 2 [static]

Definition at line 50 of file abstractbytearraycolumnrenderer.cpp.

static const PixelX Okteta::DefaultGroupSpacingWidth = 9 [static]

Definition at line 52 of file abstractbytearraycolumnrenderer.cpp.

static const Size Okteta::DefaultNoOfGroupedBytes = 4 [static]

Definition at line 53 of file abstractbytearraycolumnrenderer.cpp.

const LineSize Okteta::DefaultNoOfLinesPerPage = 1 [static]

Definition at line 29 of file bytearraytablelayout.cpp.

const PixelX Okteta::DefaultRowSpacingHeight = 0 [static]

Definition at line 57 of file bytearrayrowcolumnrenderer.cpp.

static const bool Okteta::DefaultShowingNonprinting = false [static]

Definition at line 62 of file bytearrayrowcolumnrenderer.cpp.

const int Okteta::DefaultSingleStep = 20 [static]

Definition at line 38 of file columnsview.cpp.

static const QChar Okteta::DefaultSubstituteChar = (char)'.' [static]

Definition at line 63 of file bytearrayrowcolumnrenderer.cpp.

static const QChar Okteta::DefaultUndefinedChar = (char)'?' [static]

Definition at line 64 of file bytearrayrowcolumnrenderer.cpp.

const AbstractByteArrayView::CodingTypes Okteta::DefaultVisibleCodings [static]
Initial value:
    (AbstractByteArrayView::CodingTypes)( AbstractByteArrayView::ValueCodingId | AbstractByteArrayView::CharCodingId )

Definition at line 51 of file bytearrayrowcolumnrenderer.cpp.

unsigned char Okteta::EBCDICChars[256] [static]

Definition at line 70 of file kebcdic1047charcodec.cpp.

static const Byte Okteta::EmptyByte = ' ' [static]

Definition at line 48 of file abstractbytearraycolumnrenderer.cpp.

struct Okteta::KEncodingNames Okteta::EncodingNames[] [static]
static const unsigned int Okteta::EndsLater = 2 [static]

Definition at line 47 of file abstractbytearraycolumnrenderer.cpp.

const char Okteta::KEBCDIC1047CharCodecName[] = "EBCDIC 1047" [static]

Definition at line 106 of file kebcdic1047charcodec.cpp.

const PixelX Okteta::leftOffsetMargin = 2 [static]

Definition at line 37 of file offsetcolumnrenderer.cpp.

const PixelX Okteta::LineWidth = 1 [static]

Definition at line 36 of file bordercolumnrenderer.cpp.

const PixelX Okteta::LineX = BorderMargin [static]

Definition at line 38 of file bordercolumnrenderer.cpp.

const Address Okteta::NoByteFound = -1

Definition at line 51 of file abstractbytearraycolumnrenderer.h.

const int Okteta::NoOfCodings = 4 [static]

Definition at line 36 of file oktetacore.h.

const unsigned int Okteta::NoOfEncodings = sizeof(EncodingNames)/sizeof(struct KEncodingNames) [static]

Definition at line 71 of file ktextcharcodec.cpp.

const char Okteta::OctetStreamFormatName[] = "application/octet-stream" [static]

Definition at line 43 of file dropper.cpp.

const unsigned char Okteta::PrimitivesDefaultUndefinedChar = '?' [static]

Definition at line 36 of file utf8codec.cpp.

const char Okteta::QTextCodecWhiteSpace = 63 [static]

Definition at line 37 of file ktextcharcodec.cpp.

const PixelX Okteta::rightOffsetMargin = 2 [static]

Definition at line 38 of file offsetcolumnrenderer.cpp.

const int Okteta::SearchedByteCountSignalLimit = 10000 [static]

Definition at line 33 of file abstractbytearraymodel.cpp.

const QChar Okteta::SmallDigit[16] [static]
Initial value:
{ '0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f' }

Definition at line 33 of file khexadecimalbytecodec.cpp.

static const unsigned int Okteta::StartsBefore = 1 [static]

Definition at line 46 of file abstractbytearraycolumnrenderer.cpp.

const ByteOrder Okteta::thisMachineByteOrder [static]
Initial value:

        LittleEndian

Definition at line 110 of file oktetacore.h.

quint16 Okteta::UnicodeChars[256] [static]

Definition at line 34 of file kebcdic1047charcodec.cpp.

okteta

Skip menu "okteta"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal