19 #ifndef CQModifiedDM_H
20 #define CQModifiedDM_H
26 #define COL_DATE_MODIFIED 1
27 #define TOTAL_COLS_MODIFIEDS 2
35 virtual int rowCount(
const QModelIndex &parent = QModelIndex())
const;
36 virtual int columnCount(
const QModelIndex &parent = QModelIndex())
const;
37 QVariant
data(
const QModelIndex &index,
int role)
const;
38 QVariant
headerData(
int section, Qt::Orientation orientation,
39 int role = Qt::DisplayRole)
const;
40 bool setData(
const QModelIndex &index,
const QVariant &value,
41 int role = Qt::EditRole);
42 bool removeRows(QModelIndexList rows,
const QModelIndex &index = QModelIndex());
45 bool insertRows(
int position,
int rows,
const QModelIndex &index = QModelIndex());
46 bool removeRows(
int position,
int rows,
const QModelIndex &index = QModelIndex());
50 #endif //CQModifiedDM_H
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
bool insertRows(int position, int rows, const QModelIndex &index=QModelIndex())
QVariant data(const QModelIndex &index, int role) const
bool removeRows(QModelIndexList rows, const QModelIndex &index=QModelIndex())
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const
CMIRIAMInfo * mpMIRIAMInfo
CQModifiedDM(CMIRIAMInfo *MIRIAMInfo, QObject *parent=0)
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)