Controller for testing purposes only. Not included in real binary.
More...
#include <mockup_controller.h>
Controller for testing purposes only. Not included in real binary.
MockUpController::MockUpController |
( |
| ) |
|
MockUpController::~MockUpController |
( |
| ) |
|
virtual QString MockUpController::contentKeyPasswd |
( |
| ) |
const |
|
virtualslot |
method for getting gpg passwd previously set
virtual QString MockUpController::displayableNameForProfile |
( |
const Hash & |
aProfileFingerPrint | ) |
const |
|
virtualslot |
virtual void MockUpController::displayAboutBox |
( |
| ) |
|
|
virtualslot |
virtual void MockUpController::displayFileInfoOnUi |
( |
const BinaryFile & |
aFileMetadata | ) |
|
|
virtualslot |
method that puts dialog or similar on display, about a published file
virtual void MockUpController::displayFront |
( |
| ) |
|
|
virtualslot |
this initializes the "normal" display
virtual void MockUpController::exitApp |
( |
| ) |
|
|
virtualslot |
virtual Node& MockUpController::getNode |
( |
| ) |
const |
|
virtualslot |
Method for node ; this may be changed during startup-phase but not after that
Method for handling errors inside application.
- Parameters
-
aError | Reason for error call, from error enum above |
aExplanation | NULL or human-readable description about what went wrong. |
virtual void MockUpController::hideUI |
( |
| ) |
|
|
virtual |
virtual bool MockUpController::isContactInContactList |
( |
const Hash & |
aFingerPrint | ) |
const |
|
virtualslot |
virtual Model& MockUpController::model |
( |
| ) |
const |
|
virtualslot |
method for network listener ; it is parent of all connections, also the outgoing
virtual void MockUpController::offerDisplayNameForProfile |
( |
const Hash & |
aProfileFingerPrint, |
|
|
const QString & |
aDisplayName, |
|
|
const bool |
iUpdatePersistenStorage = false |
|
) |
| |
|
virtualslot |
const Hash& MockUpController::profileInUse |
( |
| ) |
|
|
slot |
virtual void MockUpController::reStorePrivateDataOfSelectedProfile |
( |
| ) |
|
|
virtualslot |
virtual void MockUpController::setContentKeyPasswd |
( |
QString |
aPasswd | ) |
|
|
virtualslot |
virtual void MockUpController::setProfileInUse |
( |
const Hash & |
aProfileHash | ) |
|
|
virtualslot |
virtual void MockUpController::showUI |
( |
| ) |
|
|
virtual |
virtual void MockUpController::storePrivateDataOfSelectedProfile |
( |
bool |
aPublishTrustListToo = false | ) |
|
|
virtualslot |
Method for requesting different things to take place in UI. controller mostly routes these to FrontWidget but other actions may be in order too..
- Parameters
-
aRequest | users orders |
aHashConcerned | possible hash parameter ; can be null hash if action is not about specific hash |
- Returns
- none
Implements MController.
Method for getting voice call engine. This particular implementation will return NULL always
- Returns
- NULL
Method that returns a mock-up of the voice call engine. Used for testing the call protocol parts
Getter-method for real voice call engine mock-up. After call data methods have been called, state of this mocku-up is checked so we can determine the success of test cases
QString MockUpController::iContentPasswd |
|
private |
Incoming connections handler, for ipv4
Model* MockUpController::iModel |
|
private |
Node* MockUpController::iNode |
|
private |
our network presence object, there is single instance
Hash MockUpController::iProfileHash |
|
private |
The documentation for this class was generated from the following file: