21 #ifndef CONTACTSEARCHMODEL_H 22 #define CONTACTSEARCHMODEL_H 24 #include <QAbstractListModel> 25 #include "../util/hash.h" 26 #include "../mcontroller.h" 42 virtual int rowCount(
const QModelIndex & parent = QModelIndex())
const ;
47 virtual int columnCount(
const QModelIndex & parent = QModelIndex())
const ;
52 virtual QVariant
data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const ;
53 virtual QVariant
headerData (
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole )
const ;
77 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