Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MenuCategoryDevicesBusinessLogic.h
Go to the documentation of this file.
1 #ifndef MENUCATEGORYDEVICESBUSINESSLOGIC_H
2 #define MENUCATEGORYDEVICESBUSINESSLOGIC_H
3 
5 
6 class StateMenu;
8 {
9 public:
10  MenuCategoryDevicesBusinessLogic( MenuManager *menuManager, BusinessLogicManager *persistentBusinessLogicManager );
12 
17  virtual void SetVisibleCommands( QList<MenuCommand *> visibleCommands, const MenuCommand::OperatorType currentOperator );
18 
23  void static PrinterCutPaperMenuCommand( StateMenu *stateMenu );
24 
29  void static PrinterTestMenuCommand( StateMenu *stateMenu );
30 
35  void static PrinterTestAllMenuCommand( StateMenu *stateMenu );
36 
41  void static PrinterUnlockMenuCommand( StateMenu *stateMenu );
42 
47  void static PrinterPaperFeedMenuCommand( StateMenu *stateMenu );
48 
53  void static TableUpdateBUSEMenuCommand( StateMenu *stateMenu );
54 
59  void static CommonUnlockDevicesMenuCommand( StateMenu *stateMenu );
60 
65  void static CommonRestartDevicesMenuCommand( StateMenu *stateMenu );
66 
71  void static CommonBlockPeripheralsMenuCommand( StateMenu *stateMenu );
72 
77  void static CameraPreviewMenuCommand( StateMenu *stateMenu );
78 
83  void static ClearSlavesUpdateDataMenuCommand( StateMenu *stateMenu );
84 
89  void static UpdateYarusEmvTerminalMenuCommand( StateMenu *stateMenu );
90 
91  virtual void OnQadraRealtimeDataReceived( const QStringList &realtimeData );
92 
94 
95 private:
96  virtual QStringList GetMenuSubcategoryCaptions();
97 
98  virtual QString GetMenuCategoryCaption();
99 
101 
102  class DataClass;
103  QSharedPointer<DataClass> d;
104 
106 };
107 
108 #endif // MENUCATEGORYDEVICESBUSINESSLOGIC_H
virtual void OnQadraRealtimeDataReceived(const QStringList &realtimeData)
Definition: MenuCategoryDevicesBusinessLogic.cpp:314
static void ClearSlavesUpdateDataMenuCommand(StateMenu *stateMenu)
ClearSlavesUpdateDataMenuCommand function deletes update data for all slaves.
Definition: MenuCategoryDevicesBusinessLogic.cpp:302
Definition: MenuCategoryDevicesBusinessLogic.h:7
static void UpdateYarusEmvTerminalMenuCommand(StateMenu *stateMenu)
UpdateYarusEmvTerminalMenuCommand.
Definition: MenuCategoryDevicesBusinessLogic.cpp:309
Definition: MenuCategoryDevicesBusinessLogic.cpp:51
static void CommonBlockPeripheralsMenuCommand(StateMenu *stateMenu)
CommonBlockPeripheralsMenuCommand function for menu command that locks/unlocks peripherals.
Definition: MenuCategoryDevicesBusinessLogic.cpp:272
Definition: MultiListMenuCategoryBusinessLogic.h:7
virtual ~MenuCategoryDevicesBusinessLogic()
Definition: MenuCategoryDevicesBusinessLogic.cpp:158
virtual void UpdateMenuCategoryTranslatedCaption()
Definition: MenuCategoryDevicesBusinessLogic.cpp:369
Definition: MenuManager.h:14
static void PrinterPaperFeedMenuCommand(StateMenu *stateMenu)
PrinterPaperFeedMenuCommand function for menu command that moves paper in the printer.
Definition: MenuCategoryDevicesBusinessLogic.cpp:212
static void PrinterUnlockMenuCommand(StateMenu *stateMenu)
PrinterUnlockMenuCommand function for menu command that unlocks the printer and shows time remaining ...
Definition: MenuCategoryDevicesBusinessLogic.cpp:207
Definition: BusinessLogicManager.h:7
static void CommonRestartDevicesMenuCommand(StateMenu *stateMenu)
CommonRestartDevicesMenuCommand function for menu command that restarts all devices.
Definition: MenuCategoryDevicesBusinessLogic.cpp:264
static void PrinterCutPaperMenuCommand(StateMenu *stateMenu)
PrinterCutPaperMenuCommand function for menu command that cuts paper in the printer.
Definition: MenuCategoryDevicesBusinessLogic.cpp:179
static void CameraPreviewMenuCommand(StateMenu *stateMenu)
CameraPreviewMenuCommand function for menu command that displays video streams from surveillance came...
Definition: MenuCategoryDevicesBusinessLogic.cpp:287
static void TableUpdateBUSEMenuCommand(StateMenu *stateMenu)
TableUpdateBUSEMenuCommand function for menu command that executes tables update. ...
Definition: MenuCategoryDevicesBusinessLogic.cpp:217
static void PrinterTestAllMenuCommand(StateMenu *stateMenu)
PrinterTestAllMenuCommand function for menu command that tests printing on slave. ...
Definition: MenuCategoryDevicesBusinessLogic.cpp:198
static void PrinterTestMenuCommand(StateMenu *stateMenu)
PrinterTestMenuCommand function for menu command that prints a test ticket to test the printer for fu...
Definition: MenuCategoryDevicesBusinessLogic.cpp:188
virtual void SetVisibleCommands(QList< MenuCommand * > visibleCommands, const MenuCommand::OperatorType currentOperator)
SetVisibleCommands - check parent method description MultiListMenuCategoryBusinessLogic::SetVisibleCo...
Definition: MenuCategoryDevicesBusinessLogic.cpp:162
OperatorType
Definition: MenuCommand.h:19
MenuCategoryDevicesBusinessLogic(MenuManager *menuManager, BusinessLogicManager *persistentBusinessLogicManager)
Definition: MenuCategoryDevicesBusinessLogic.cpp:125
Definition: StateMenu.h:8
static void CommonUnlockDevicesMenuCommand(StateMenu *stateMenu)
CommonUnlockDevicesMenuCommand function for menu command that unlocks all devices and shows time rema...
Definition: MenuCategoryDevicesBusinessLogic.cpp:256