#include <accountstablemodel.h>
Public Member Functions | |
| AccountsTableModel (QObject *parent=0) | |
| int | rowCount (const QModelIndex &parent) const |
| int | columnCount (const QModelIndex &parent) const |
| QVariant | data (const QModelIndex &index, int role) const |
| QStringList | data (const int row) const |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| QDomElement | dataNode () |
| bool | insertRows (int position, int rows, const QModelIndex &index=QModelIndex()) |
| bool | removeRows (int position, int rows, const QModelIndex &index=QModelIndex()) |
| bool | addEntry (QString number, QString name, QString description) |
| bool | existAccountByNumber (QString number) |
Definition at line 9 of file accountstablemodel.h.
| AccountsTableModel::AccountsTableModel | ( | QObject * | parent = 0 |
) |
Definition at line 6 of file accountstablemodel.cpp.
| bool AccountsTableModel::addEntry | ( | QString | number, | |
| QString | name, | |||
| QString | description | |||
| ) |
| int AccountsTableModel::columnCount | ( | const QModelIndex & | parent | ) | const |
| QStringList AccountsTableModel::data | ( | const int | row | ) | const |
Definition at line 44 of file accountstablemodel.cpp.
| QVariant AccountsTableModel::data | ( | const QModelIndex & | index, | |
| int | role | |||
| ) | const |
Definition at line 22 of file accountstablemodel.cpp.
| QDomElement AccountsTableModel::dataNode | ( | ) |
Definition at line 179 of file accountstablemodel.cpp.
| bool AccountsTableModel::existAccountByNumber | ( | QString | number | ) |
| Qt::ItemFlags AccountsTableModel::flags | ( | const QModelIndex & | index | ) | const |
Definition at line 130 of file accountstablemodel.cpp.
| QVariant AccountsTableModel::headerData | ( | int | section, | |
| Qt::Orientation | orientation, | |||
| int | role | |||
| ) | const |
| bool AccountsTableModel::insertRows | ( | int | position, | |
| int | rows, | |||
| const QModelIndex & | index = QModelIndex() | |||
| ) |
Definition at line 75 of file accountstablemodel.cpp.


| bool AccountsTableModel::removeRows | ( | int | position, | |
| int | rows, | |||
| const QModelIndex & | index = QModelIndex() | |||
| ) |
Definition at line 93 of file accountstablemodel.cpp.
| int AccountsTableModel::rowCount | ( | const QModelIndex & | parent | ) | const |
| bool AccountsTableModel::setData | ( | const QModelIndex & | index, | |
| const QVariant & | value, | |||
| int | role = Qt::EditRole | |||
| ) |
1.5.9