Public Member Functions | |
RootModel (QObject *parent=0) | |
~RootModel () | |
virtual QVariant | data (const QModelIndex &index, int role) const |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const =0 |
virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
virtual QModelIndex | parent (const QModelIndex &index) const |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
virtual RootItem * | getRootItem () |
RootItem * | getRootItem (const QModelIndex &index) const |
virtual bool | insertItem (RootItem *inst, QModelIndex &index, int posn) |
void | sort (CompareRI compare, DataClass *dcObj) |
virtual bool | deleteItem (DataClass *dcObj) |
Protected Member Functions | |
void | clearData (RootItem *item) |
Protected Attributes | |
RootItem * | rootItem |
Friends | |
class | dbListManager |
Definition at line 34 of file RootModel.h.