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