Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
StateCloseDailyIdentificationRecord::DataClass Class Reference
Collaboration diagram for StateCloseDailyIdentificationRecord::DataClass:
Collaboration graph
[legend]

Public Member Functions

 DataClass (StateCloseDailyIdentificationRecord *dataClassOwner, ApplicationStateManager *stateManager)
 
 ~DataClass ()
 
void CloseDailyIdentificationRecord (const QString &tachographValue="", const QString &refueledVolume="", const QString &heatingValue="", const QString &airConditioningValue="")
 CloseDailyIdentificationRecord - closes daily record and sends message to dispatching. More...
 
void InvokeFinishState (const int32_t resultCode)
 InvokeFinishState - defines application behavior based on ApplicationStateDefines::ShowDeductionCloseQuestion, mFinishWithResult and result code This state should finish with one of these situations: More...
 
void OnDeductionCloseMessageConfirm ()
 OnDeductionCloseMessageConfirm - popup message about closing deduction was confirmed. More...
 

Public Attributes

StateCloseDailyIdentificationRecordmDataClassOwner
 
ApplicationStateManagermStateManager
 
QScopedPointer
< EnterMultipleValuesFormLogic
mEnterTachographValueFormLogic
 
bool mFinishWithResult
 

Constructor & Destructor Documentation

StateCloseDailyIdentificationRecord::DataClass::DataClass ( StateCloseDailyIdentificationRecord dataClassOwner,
ApplicationStateManager stateManager 
)
StateCloseDailyIdentificationRecord::DataClass::~DataClass ( )

Member Function Documentation

void StateCloseDailyIdentificationRecord::DataClass::CloseDailyIdentificationRecord ( const QString &  tachographValue = "",
const QString &  refueledVolume = "",
const QString &  heatingValue = "",
const QString &  airConditioningValue = "" 
)

CloseDailyIdentificationRecord - closes daily record and sends message to dispatching.

Here is the call graph for this function:

void StateCloseDailyIdentificationRecord::DataClass::InvokeFinishState ( const int32_t  resultCode)

InvokeFinishState - defines application behavior based on ApplicationStateDefines::ShowDeductionCloseQuestion, mFinishWithResult and result code This state should finish with one of these situations:

  • FinishWithResult(resultCode) - when state was entered by calling ChangeStateForResult() and successfully finished
  • close deduction without showing popup message
  • show popup message about closing deduction

Here is the call graph for this function:

void StateCloseDailyIdentificationRecord::DataClass::OnDeductionCloseMessageConfirm ( )

OnDeductionCloseMessageConfirm - popup message about closing deduction was confirmed.

Here is the caller graph for this function:

Member Data Documentation

StateCloseDailyIdentificationRecord* StateCloseDailyIdentificationRecord::DataClass::mDataClassOwner
QScopedPointer<EnterMultipleValuesFormLogic> StateCloseDailyIdentificationRecord::DataClass::mEnterTachographValueFormLogic
bool StateCloseDailyIdentificationRecord::DataClass::mFinishWithResult
ApplicationStateManager* StateCloseDailyIdentificationRecord::DataClass::mStateManager

The documentation for this class was generated from the following file: