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