Classified ads
Public Member Functions | Public Attributes | Private Attributes | List of all members
MockUpModel Class Reference

not a real datamodel. debugging aid. More...

#include <mockup_model.h>

Inheritance diagram for MockUpModel:
Inheritance graph
[legend]
Collaboration diagram for MockUpModel:
Collaboration graph
[legend]

Public Member Functions

 MockUpModel (MController *aMController)
 
 ~MockUpModel ()
 
virtual void addNetworkRequest (NetworkRequestExecutor::NetworkRequestQueueItem &aRequest) const
 
virtual bool lock ()
 
virtual void unlock ()
 
virtual
MNodeModelProtocolInterface
nodeModel () const
 
virtual ProfileModelprofileModel () const
 
virtual BinaryFileModelbinaryFileModel () const
 
virtual ClassifiedAdsModelclassifiedAdsModel () const
 
virtual PrivMessageModelprivateMessageModel () const
 
virtual ContentEncryptionModelcontentEncryptionModel () const
 
virtual ProfileCommentModelprofileCommentModel () const
 
virtual SearchModelsearchModel () const
 

Public Attributes

MockUpNodeModeliNodeModel
 
QList
< NetworkRequestExecutor::NetworkRequestQueueItem > * 
iNetworkRequests
 

Private Attributes

MControlleriController
 
QMutex iMutex
 
ProfileModeliProfileModel
 
BinaryFileModeliBinaryFileModel
 
ClassifiedAdsModeliCAModel
 
PrivMessageModeliPrivMsgModel
 
ContentEncryptionModeliContentEncryptionModel
 
ProfileCommentModeliProfileCommentModel
 
SearchModeliSearchModel
 

Detailed Description

not a real datamodel. debugging aid.

Constructor & Destructor Documentation

MockUpModel::MockUpModel ( MController aMController)

constructor

MockUpModel::~MockUpModel ( )

Destructor

Member Function Documentation

virtual void MockUpModel::addNetworkRequest ( NetworkRequestExecutor::NetworkRequestQueueItem aRequest) const
virtual

method for adding a network request

Parameters
aRequestis the request to add
Returns
none

Implements MModelProtocolInterface.

virtual BinaryFileModel& MockUpModel::binaryFileModel ( ) const
virtual

method for getting blob-specific datamodel

Implements MModelProtocolInterface.

virtual ClassifiedAdsModel& MockUpModel::classifiedAdsModel ( ) const
virtual

method for getting the ads datamodel

Implements MModelProtocolInterface.

virtual ContentEncryptionModel& MockUpModel::contentEncryptionModel ( ) const
virtual

method for getting the en/de-cryption part of the datamodel

Implements MModelProtocolInterface.

virtual bool MockUpModel::lock ( )
virtual

thread sync: this claims access to datamodel

Implements MModelProtocolInterface.

virtual MNodeModelProtocolInterface& MockUpModel::nodeModel ( ) const
virtual

method for getting node-specific datamodel

Implements MModelProtocolInterface.

virtual PrivMessageModel& MockUpModel::privateMessageModel ( ) const
virtual

method for getting the priv msg datamodel

Implements MModelProtocolInterface.

virtual ProfileCommentModel& MockUpModel::profileCommentModel ( ) const
virtual

method for getting the comment datamodel

Implements MModelProtocolInterface.

virtual ProfileModel& MockUpModel::profileModel ( ) const
virtual

method for getting profile-specific datamodel

Implements MModelProtocolInterface.

virtual SearchModel* MockUpModel::searchModel ( ) const
virtual

method for getting the full text search datamodel

Implements MModelProtocolInterface.

virtual void MockUpModel::unlock ( )
virtual

thread sync: releases data model to other threads

Implements MModelProtocolInterface.

Member Data Documentation

BinaryFileModel* MockUpModel::iBinaryFileModel
private
ClassifiedAdsModel* MockUpModel::iCAModel
private
ContentEncryptionModel* MockUpModel::iContentEncryptionModel
private
MController* MockUpModel::iController
private
QMutex MockUpModel::iMutex
private
QList<NetworkRequestExecutor::NetworkRequestQueueItem>* MockUpModel::iNetworkRequests
MockUpNodeModel* MockUpModel::iNodeModel
PrivMessageModel* MockUpModel::iPrivMsgModel
private
ProfileCommentModel* MockUpModel::iProfileCommentModel
private
ProfileModel* MockUpModel::iProfileModel
private
SearchModel* MockUpModel::iSearchModel
private

The documentation for this class was generated from the following file: