116 bool aIsBackgroundDl,
143 const QString* aAdditionalInformation = NULL) ;
235 const QString& aExplanation) ;
256 const Hash& aHashOfClassification,
305 const QString& aDisplayName,
306 const bool iUpdatePersistenStorage=
false) ;
355 void newInstanceConnected() ;
376 bool aIsSaveFile =
false ,
377 QString aSuggestedFileName = QString()) ;
467 QLocalServer* iLocalServer ;
virtual void selectProfile()
virtual void startRetrievingContent(NetworkRequestExecutor::NetworkRequestQueueItem aReq, bool aIsBackgroundDl, ProtocolItemType aTypeOfExpectedObject)
bool iGetFileNameSuccess
Definition: controller.h:479
Controller(QApplication &app)
QAction * iProfileCreateAct
Definition: controller.h:404
Class for keeping app state.
Definition: controller.h:83
virtual void displayTclConsole()
virtual void createProfile()
QString iGetFileNameResult
Definition: controller.h:471
Pure-virtual interface for voice call engine.
Definition: mvoicecallengine.h:33
virtual void displayFront()
Node is a peer in network.
Definition: node.h:40
QSharedMemory * iSharedMemory
Definition: controller.h:465
FrontWidget * iCurrentWidget
Definition: controller.h:396
NetworkListener * iListener
Definition: controller.h:414
void addObjectToOpen(QUrl aClassifiedAdsObject)
QMainWindow * iWin
Definition: controller.h:395
QApplication & iApp
Definition: controller.h:397
Hash iHashOfObjectBeingWaitedFor
Definition: controller.h:431
virtual void offerDisplayNameForProfile(const Hash &aProfileFingerPrint, const QString &aDisplayName, const bool iUpdatePersistenStorage=false)
void notifyOfContentNotReceived(const Hash &aHashOfContent, const ProtocolItemType aTypeOfNotReceivdContent)
Network-connection logic relating fetching items from DHT.
Definition: retrievalengine.h:40
virtual void displaySearch()
QAction * iTclConsoleAct
Definition: controller.h:411
bool iInsideDestructor
Definition: controller.h:456
virtual void displayFileInfoOnUi(const BinaryFile &aFileMetadata)
virtual void handleError(MController::CAErrorSituation aError, const QString &aExplanation)
CAUserInterfaceRequest
Definition: mcontroller.h:71
virtual bool isContactInContactList(const Hash &aFingerPrint) const
QFileDialog * iGetFileNameDialog
Definition: controller.h:473
QAction * iExitAct
Definition: controller.h:400
QSemaphore iGetFileNameSemaphore
Definition: controller.h:476
Hash is class that carries 160-bit digest.
Definition: hash.h:38
CAErrorSituation
Definition: mcontroller.h:57
virtual void displaySettings()
QMenu * iTclMenu
Definition: controller.h:409
bool createSharedMemSegment(QString &aSegmentName)
QAction * iAboutAct
Definition: controller.h:401
Hash iNodeForCommentBeingWaitedFor
Definition: controller.h:444
void checkForObjectToOpen(const Hash &aIgnored)
virtual Model & model() const
ProtocolItemType
Definition: protocol.h:157
Carrier-class for binary blob.
Definition: binaryfile.h:37
Hash iProfileHash
Definition: controller.h:417
QString iContentKeyPasswd
Definition: controller.h:416
void userProfileSelected(const Hash &aProfile)
virtual void setContentKeyPasswd(QString aPasswd)
QAction * iDisplaySettingsAct
Definition: controller.h:406
virtual const Hash & profileInUse()
VoiceCallEngine * iVoiceCallEngine
Definition: controller.h:452
class for listening to incoming network connections.
Definition: networklistener.h:42
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:48
void checkForSharedMemoryContents()
Network-connection logic relating fetching db records from DHT.
Definition: dbretrievalengine.h:50
virtual QString contentKeyPasswd() const
QAction * iProfileSelectAct
Definition: controller.h:405
QMenu * iFileMenu
Definition: controller.h:399
virtual QString getFileName(bool &aSuccess, bool aIsSaveFile=false, QString aSuggestedFileName=QString())
QAction * iProfileDeleteAct
Definition: controller.h:403
virtual void storePrivateDataOfSelectedProfile(bool aPublishTrustListToo=false)
M of the MVC pattern. Handles permanent storage.
Definition: model.h:50
virtual void userInterfaceAction(CAUserInterfaceRequest aRequest, const Hash &aHashConcerned=KNullHash, const Hash &aFetchFromNode=KNullHash, const QString *aAdditionalInformation=NULL)
void sendProfileUpdateQuery(const Hash &aProfileFingerPrint, const Hash &aProfileNodeFingerPrint=KNullHash)
virtual VoiceCallEngine * voiceCallEngine()
QBoxLayout * iLayout
Definition: controller.h:398
Node * iNode
Definition: controller.h:412
void startGettingFileName(QString aSuggestedFileName, bool aIsSaveFile)
Class that will initiate 1 or more network connections.
Definition: networkconnectorengine.h:45
virtual void displayAboutBox()
virtual void deleteProfile()
DbRecordRetrievalEngine * iDbRetrievalEngine
Definition: controller.h:420
virtual void displayTclProgs()
virtual MVoiceCallEngine * voiceCallEngineInterface()
virtual Node & getNode() const
virtual QWidget * frontWidget()
QAction * iDisplaySearchAct
Definition: controller.h:408
virtual NetworkListener * networkListener() const
Hash iHashOfProfileCommentBeingWaitedFor
Definition: controller.h:439
void waitDialogToBeDismissed()
Work queue item.
Definition: netrequestexecutor.h:60
RetrievalEngine * iRetrievalEngine
Definition: controller.h:419
QUrl iObjectToOpen
Definition: controller.h:460
virtual void changeProfilePasswd()
virtual void displayStatus()
QAction * iDisplayStatusAct
Definition: controller.h:407
Class providing TCL interpreter services.
Definition: tclWrapper.h:652
Network-connection logic relating content publish demands.
Definition: publishingengine.h:41
PublishingEngine * iPubEngine
Definition: controller.h:418
void notifyOfContentReceived(const Hash &aHashOfContent, const ProtocolItemType aTypeOfReceivedContent)
virtual void setProfileInUse(const Hash &aProfileHash)
void getFileNameSlot(QString aSuggestedFileName, bool aIsSaveFile)
virtual TclWrapper & tclWrapper()
TclWrapper * iTclWrapper
Definition: controller.h:469
QAction * iTclLibraryAct
Definition: controller.h:410
Network-related logic for handling voice channel between nodes.
Definition: voicecallengine.h:54
QMap< Hash, QString > iHashDisplaynameMapping
Definition: controller.h:448
QAction * iPwdChangeAct
Definition: controller.h:402
virtual void reStorePrivateDataOfSelectedProfile()
virtual QString displayableNameForProfile(const Hash &aProfileFingerPrint) const
NetworkConnectorEngine * iNetEngine
Definition: controller.h:415
Definition: cadbrecord.h:40
Model * iModel
Definition: controller.h:413
ProtocolItemType iTypeOfObjectBeingWaitedFor
Definition: controller.h:427