21 #ifndef PROFILECOMMENTLISTINGMODEL_H 22 #define PROFILECOMMENTLISTINGMODEL_H 24 #include <QAbstractListModel> 25 #include "../util/hash.h" 26 #include "../mcontroller.h" 72 virtual int rowCount(
const QModelIndex & parent = QModelIndex())
const ;
77 virtual int columnCount(
const QModelIndex & parent = QModelIndex())
const ;
86 virtual QVariant
data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const ;
87 virtual QVariant
headerData (
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole )
const ;
95 const Hash& aCommentedProfile) ;
104 const QString& aExplanation) ;
Hash is class that carries 160-bit digest.
Definition: hash.h:38
CAErrorSituation
Definition: mcontroller.h:52
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:43
M of the MVC pattern. Handles permanent storage.
Definition: model.h:48