//! This gets thrown as an exception if the chosen data target path could not be created.
classlcDataTargetPathCreationFailed{};
signals:
voidSessionFinished(Session*argSession);
voidSessionFinished(Session*argSession);
privateslots:
/*! Starts the session by creating instances of the relevant classes
*/
voidInitializeClasses();
voidOnzTreeClosed(intargExitCode);
voidOnzTreeClosed(intargExitCode);
/*! Changes zTree's window title to contain its port number to make zTree windows distinguishable
*/
voidRenameWindow();
private:
constQStringanonymousReceiptsPlaceholder;//! Placeholder which shall be inserted for participant names if anonymous printing is desired (QString != "")
constQVector<Client*>assocClients;
constQStringlatexHeaderName;//! The name of the chosen LaTeX header
constboolprintReceiptsForLocalClients=true;//! True if receipts shall be printed for local clients
QStringzTreeDataTargetPath;//! The path were the data of this zTree instance's session will be saved
ZTree*zTreeInstance=nullptr;//! The session's zTree instance
constQStringzTreeVersionPath;//! The path to the version of zTree used by this session's instance
//! Placeholder which shall be inserted for participant names if anonymous printing is desired (QString != "")
constQStringanonymousReceiptsPlaceholder;
constQVector<Client*>assocClients;
//! The name of the chosen LaTeX header
constQStringlatexHeaderName;
//! True if receipts shall be printed for local clients
constboolprintReceiptsForLocalClients=true;
//! The path were the data of this zTree instance's session will be saved
QStringzTreeDataTargetPath;
//! The session's zTree instance
ZTree*zTreeInstance=nullptr;
//! The path to the version of zTree used by this session's instance