21 #ifndef CLASSIFIED_TRUSTTREEMODEL_H 22 #define CLASSIFIED_TRUSTTREEMODEL_H 23 #include "../mcontroller.h" 25 #include "../net/protocol.h" 78 const QString& aOwnerProfileDisplayName,
79 const QList<Hash>& aList) ;
96 QString *aDisplayNameOfTrustingProfile,
97 Hash* aFpOfTrustingProfile )
const ;
105 void initModel(
const QVariant& aPreviousSettings) ;
129 const Hash& aTrustingProfile,
133 const QString& aExplanation) ;
TrustTreeModel(MController *aMController, const MModelProtocolInterface &aModel)
MController & iController
Definition: trusttreemodel.h:136
unsigned iLastUpdateTime
Definition: trusttreemodel.h:149
Hash iTrustingOperator
Definition: trusttreemodel.h:142
Definition: trusttreemodel.h:141
signed char iLevel
Definition: trusttreemodel.h:145
bool isProfileTrusted(const Hash &aProfile, QString *aDisplayNameOfTrustingProfile, Hash *aFpOfTrustingProfile) const
struct TrustTreeModel::TrustTreeItemStruct TrustTreeItem
void initModel(const QVariant &aPreviousSettings)
Hash is class that carries 160-bit digest.
Definition: hash.h:38
CAErrorSituation
Definition: mcontroller.h:57
void contentReceived(const Hash &aHashOfContent, const ProtocolItemType aTypeOfReceivdContent)
ProtocolItemType
Definition: protocol.h:157
void offerTrustList(const Hash &aTrustListOwnerProfile, const QString &aOwnerProfileDisplayName, const QList< Hash > &aList)
QList< Hash > iTrustList
Definition: trusttreemodel.h:144
QString iOperatorName
Definition: trusttreemodel.h:143
Pure-virtual interface of datamodel for message parser to use.
Definition: mmodelprotocolinterface.h:46
QMap< Hash, TrustTreeItem > * iTrustTree
Definition: trusttreemodel.h:148
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:48
const MModelProtocolInterface & iModel
Definition: trusttreemodel.h:137
void error(MController::CAErrorSituation aError, const QString &aExplanation)
bool iNeedsUpdate
Definition: trusttreemodel.h:146
QVariant trustTreeSettings() const
Carrier-class for user-profile data.
Definition: profile.h:37
This is is part of datamodel for trust tree related operation.
Definition: trusttreemodel.h:55
void setProfileTrustedInList(const Hash &aTrustedProfile, const Hash &aTrustingProfile, int aLevel)