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