|
QtPass 1.6.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 | |
| auto | transactionIsOver (Enums::PROCESS) -> Enums::PROCESS |
| transactionIsOver checks wheather currently finished process is last in current transaction | |
Definition at line 9 of file simpletransaction.h.
|
inline |
| 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).
If called after transactionStart() and before transactionEnd(), this marks the given process as the next step in the transaction. Otherwise it marks the process as the only step in the transaction.
| id | process that shall be treated as part of transaction |
| id | Process that shall be treated as part of the transaction |
Definition at line 30 of file simpletransaction.cpp.
| void simpleTransaction::transactionEnd | ( | Enums::PROCESS | pid | ) |
transactionEnd marks end of transaction
Marks the end of the current transaction.
| pid | value that will be used as a result of transaction |
| pid | Value that will be used as the result of the transaction |
Definition at line 45 of file simpletransaction.cpp.
| auto simpleTransaction::transactionIsOver | ( | Enums::PROCESS | ) | -> Enums::PROCESS |
transactionIsOver checks wheather currently finished process is last in current transaction
Checks whether the currently finished process is last in current transaction.
| id | The process id to check |
Definition at line 65 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.
Marks the start of a sequence of processes that shall be treated as one operation.
Definition at line 17 of file simpletransaction.cpp.