QXRD
0.11.16
|
#include <qxrdtodolist.h>
Public Types | |
enum | Columns { IdentifierColumn, ActiveColumn, InsertedDateColumn, CompletedDateColumn, DescriptionColumn } |
Public Member Functions | |
QxrdToDoList (QObject *parent=NULL) | |
int | rowCount (const QModelIndex &parent) const |
int | columnCount (const QModelIndex &parent) const |
QVariant | data (const QModelIndex &index, int role) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
Private Attributes | |
QVector< QxrdToDoListItemPtr > | m_Items |
Definition at line 7 of file qxrdtodolist.h.
Enumerator | |
---|---|
IdentifierColumn | |
ActiveColumn | |
InsertedDateColumn | |
CompletedDateColumn | |
DescriptionColumn |
Definition at line 20 of file qxrdtodolist.h.
QxrdToDoList::QxrdToDoList | ( | QObject * | parent = NULL | ) |
Definition at line 9 of file qxrdtodolist.cpp.
int QxrdToDoList::columnCount | ( | const QModelIndex & | parent | ) | const |
Definition at line 22 of file qxrdtodolist.cpp.
QVariant QxrdToDoList::data | ( | const QModelIndex & | index, |
int | role | ||
) | const |
Definition at line 27 of file qxrdtodolist.cpp.
References ActiveColumn, CompletedDateColumn, DescriptionColumn, IdentifierColumn, InsertedDateColumn, and m_Items.
QVariant QxrdToDoList::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role | ||
) | const |
Definition at line 62 of file qxrdtodolist.cpp.
References ActiveColumn, CompletedDateColumn, DescriptionColumn, IdentifierColumn, and InsertedDateColumn.
int QxrdToDoList::rowCount | ( | const QModelIndex & | parent | ) | const |
|
private |
Definition at line 33 of file qxrdtodolist.h.
Referenced by data(), and rowCount().