20 #ifndef PROFILECOMMENTLISTINGMODEL_H
21 #define PROFILECOMMENTLISTINGMODEL_H
23 #include <QAbstractListModel>
24 #include "../util/hash.h"
25 #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:37
CAErrorSituation
Definition: mcontroller.h:48
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:39
M of the MVC pattern. Handles permanent storage.
Definition: model.h:47