20 #ifndef CALISTINGMODEL_H
21 #define CALISTINGMODEL_H
23 #include <QStandardItemModel>
24 #include "../util/hash.h"
25 #include "../mcontroller.h"
68 const Hash& aHashOfClassification) ;
72 const QString& aExplanation) ;
bool insertCaIntoModel(const Hash &aArticleFingerPrint)
void setClassification(const Hash &aForumToList)
const MModelProtocolInterface & iModel
Definition: calistingmodel.h:78
MController * iController
Definition: calistingmodel.h:87
Hash iForumToList
Definition: calistingmodel.h:77
Hash is class that carries 160-bit digest.
Definition: hash.h:37
CAErrorSituation
Definition: mcontroller.h:48
Model-class for helping display of classified ads.
Definition: calistingmodel.h:34
virtual void newCaReceived(const CA &aNewCa)
QStandardItemModel * theCaModel()
Carrier-class for binary blob.
Definition: binaryfile.h:36
Carrier-class for classified ad.
Definition: ca.h:34
Pure-virtual interface of datamodel for message parser to use.
Definition: mmodelprotocolinterface.h:44
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:39
QHash< int, QStandardItem * > * iItemAndArticleHashRelation
Definition: calistingmodel.h:86
QStandardItemModel iCaModel
Definition: calistingmodel.h:76
M of the MVC pattern. Handles permanent storage.
Definition: model.h:47
QStandardItem * iListingHeaderDate
Definition: calistingmodel.h:88
void error(MController::CAErrorSituation aError, const QString &aExplanation)
QStandardItem * iListingHeaderSubject
Definition: calistingmodel.h:89
CAListingModel(const Hash &aForumToList, const MModelProtocolInterface &aModel, MController *aController)