QtPass 1.4.0
Multi-platform GUI for pass, the standard unix password manager.
|
#include <simpletransaction.h>
Public Member Functions | |
simpleTransaction () | |
void | transactionStart () |
transactionStart this function is used to mark start of the sequence of processes that shall be treated as one operation. | |
void | transactionAdd (Enums::PROCESS) |
transactionAdd If called after call to transactionStart() and before transactionEnd(), this method marks given process as next step in transaction. Otherwise it marks given process as the only step in transaction(it's value is treated as transaction result). | |
void | transactionEnd (Enums::PROCESS) |
transactionEnd marks end of transaction | |
Enums::PROCESS | transactionIsOver (Enums::PROCESS) |
transactionIsOver checks wheather currently finished process is last in current transaction | |
Definition at line 7 of file simpletransaction.h.
|
inline |
Definition at line 13 of file simpletransaction.h.
void simpleTransaction::transactionAdd | ( | Enums::PROCESS | id | ) |
transactionAdd If called after call to transactionStart() and before transactionEnd(), this method marks given process as next step in transaction. Otherwise it marks given process as the only step in transaction(it's value is treated as transaction result).
simpleTransaction::transactionAdd
id | process that shall be treated as part of transaction |
id |
Definition at line 25 of file simpletransaction.cpp.
void simpleTransaction::transactionEnd | ( | Enums::PROCESS | pid | ) |
transactionEnd marks end of transaction
simpleTransaction::transactionEnd
pid | value that will be used as a result of transaction |
pid |
Definition at line 40 of file simpletransaction.cpp.
PROCESS simpleTransaction::transactionIsOver | ( | Enums::PROCESS | id | ) |
transactionIsOver checks wheather currently finished process is last in current transaction
simpleTransaction::transactionIsOver
id |
Definition at line 58 of file simpletransaction.cpp.
void simpleTransaction::transactionStart | ( | ) |
transactionStart this function is used to mark start of the sequence of processes that shall be treated as one operation.
simpleTransaction::transactionStart
Definition at line 14 of file simpletransaction.cpp.