kspread
KSpread::ReadOnlyTableModel Class Reference
#include <ReadOnlyTableModel.h>
Inheritance diagram for KSpread::ReadOnlyTableModel:

Public Member Functions | |
| ReadOnlyTableModel (Sheet *sheet, int columns=0, int rows=0) | |
| ~ReadOnlyTableModel () | |
| virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
Protected Member Functions | |
| Sheet * | sheet () const |
| const QSize & | size () const |
Detailed Description
Definition at line 29 of file ReadOnlyTableModel.h.
Constructor & Destructor Documentation
| ReadOnlyTableModel::ReadOnlyTableModel | ( | Sheet * | sheet, | |
| int | columns = 0, |
|||
| int | rows = 0 | |||
| ) | [explicit] |
Constructor.
Definition at line 42 of file ReadOnlyTableModel.cpp.
| ReadOnlyTableModel::~ReadOnlyTableModel | ( | ) |
Destructor.
Definition at line 50 of file ReadOnlyTableModel.cpp.
Member Function Documentation
| int ReadOnlyTableModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const [virtual] |
Definition at line 55 of file ReadOnlyTableModel.cpp.
| QVariant ReadOnlyTableModel::data | ( | const QModelIndex & | index, | |
| int | role = Qt::DisplayRole | |||
| ) | const [virtual] |
Definition at line 67 of file ReadOnlyTableModel.cpp.
| QVariant ReadOnlyTableModel::headerData | ( | int | section, | |
| Qt::Orientation | orientation, | |||
| int | role = Qt::DisplayRole | |||
| ) | const [virtual] |
Definition at line 97 of file ReadOnlyTableModel.cpp.
| int ReadOnlyTableModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const [virtual] |
Definition at line 61 of file ReadOnlyTableModel.cpp.
| Sheet * ReadOnlyTableModel::sheet | ( | ) | const [protected] |
Definition at line 110 of file ReadOnlyTableModel.cpp.
| const QSize & ReadOnlyTableModel::size | ( | ) | const [protected] |
Definition at line 115 of file ReadOnlyTableModel.cpp.
The documentation for this class was generated from the following files:
