AccountsTableModel Class Reference

#include <accountstablemodel.h>

List of all members.

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)


Detailed Description

Definition at line 9 of file accountstablemodel.h.


Constructor & Destructor Documentation

AccountsTableModel::AccountsTableModel ( QObject *  parent = 0  ) 

Definition at line 6 of file accountstablemodel.cpp.


Member Function Documentation

bool AccountsTableModel::addEntry ( QString  number,
QString  name,
QString  description 
)

Definition at line 139 of file accountstablemodel.cpp.

Here is the call graph for this function:

int AccountsTableModel::columnCount ( const QModelIndex &  parent  )  const

Definition at line 16 of file accountstablemodel.cpp.

Here is the caller graph for this function:

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  ) 

Definition at line 167 of file accountstablemodel.cpp.

Here is the caller graph for this function:

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

Definition at line 49 of file accountstablemodel.cpp.

Here is the call graph for this function:

bool AccountsTableModel::insertRows ( int  position,
int  rows,
const QModelIndex &  index = QModelIndex() 
)

Definition at line 75 of file accountstablemodel.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 10 of file accountstablemodel.cpp.

Here is the caller graph for this function:

bool AccountsTableModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)

Definition at line 106 of file accountstablemodel.cpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following files:

Generated on Mon Jun 15 15:39:17 2009 for Allevo II Doublebookkeeping by  doxygen 1.5.9