okteta
ByteTableModel Class Reference
#include <bytetablemodel.h>
Inheritance diagram for ByteTableModel:

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
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:
KDE 4.2 API Reference