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

okteta

ByteTableModel Class Reference

#include <bytetablemodel.h>

Inheritance diagram for ByteTableModel:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 35 of file bytetablemodel.h.


Public Types

enum  ColumnIds {
  DecimalId = 0, HexadecimalId = 1, OctalId = 2, BinaryId = 3,
  CharacterId = 4, NoOfIds = 5
}

Public Slots

void setCharCodec (const QString &codecName)

Public Member Functions

 ByteTableModel (QObject *parent=0)
virtual int columnCount (const QModelIndex &parent) const
virtual QVariant data (const QModelIndex &index, int role) const
virtual QVariant headerData (int section, Qt::Orientation orientation, int role) const
virtual int rowCount (const QModelIndex &parent) const
void setUndefinedChar (const QChar &undefinedChar)
virtual ~ByteTableModel ()

Protected Attributes

KHECore::KCharCodec * mCharCodec
QChar mUndefinedChar
KHECore::ValueCodec * mValueCodec [NofOfValueCodings]

Static Protected Attributes

static const int NofOfValueCodings = 4

Member Enumeration Documentation

enum ByteTableModel::ColumnIds

Enumerator:
DecimalId 
HexadecimalId 
OctalId 
BinaryId 
CharacterId 
NoOfIds 

Definition at line 40 of file bytetablemodel.h.


Constructor & Destructor Documentation

ByteTableModel::ByteTableModel ( QObject *  parent = 0  )  [explicit]

Definition at line 36 of file bytetablemodel.cpp.

ByteTableModel::~ByteTableModel (  )  [virtual]

Definition at line 146 of file bytetablemodel.cpp.


Member Function Documentation

int ByteTableModel::columnCount ( const QModelIndex &  parent  )  const [virtual]

Definition at line 76 of file bytetablemodel.cpp.

QVariant ByteTableModel::data ( const QModelIndex &  index,
int  role 
) const [virtual]

Definition at line 82 of file bytetablemodel.cpp.

QVariant ByteTableModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const [virtual]

Definition at line 109 of file bytetablemodel.cpp.

int ByteTableModel::rowCount ( const QModelIndex &  parent  )  const [virtual]

Definition at line 70 of file bytetablemodel.cpp.

void ByteTableModel::setCharCodec ( const QString &  codecName  )  [slot]

Definition at line 59 of file bytetablemodel.cpp.

void ByteTableModel::setUndefinedChar ( const QChar &  undefinedChar  ) 

Definition at line 52 of file bytetablemodel.cpp.


Member Data Documentation

KHECore::KCharCodec* ByteTableModel::mCharCodec [protected]

Definition at line 71 of file bytetablemodel.h.

QChar ByteTableModel::mUndefinedChar [protected]

Definition at line 72 of file bytetablemodel.h.

KHECore::ValueCodec* ByteTableModel::mValueCodec[NofOfValueCodings] [protected]

Definition at line 70 of file bytetablemodel.h.

const int ByteTableModel::NofOfValueCodings = 4 [static, protected]

Definition at line 67 of file bytetablemodel.h.


The documentation for this class was generated from the following files:
  • bytetablemodel.h
  • bytetablemodel.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
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
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