1 #ifndef PRINTERBUSINESSLOGIC_H
2 #define PRINTERBUSINESSLOGIC_H
4 #include <QSharedPointer>
9 namespace PrinterTemplate
11 class EPrinterTemplate;
31 EM::PrinterTemplate::EPrinterTemplate*
PrepareTicket(
const QString &templateName,
bool fillTicketHeader =
true ,
bool fillTicketNumberToHeader =
true );
50 QSharedPointer<DataClass> d;
53 #endif // PRINTERBUSINESSLOGIC_H
void LoadTemplates()
Definition: PrinterBusinessLogic.cpp:324
EM::PrinterTemplate::EPrinterTemplate * PrepareTicket(const QString &templateName, bool fillTicketHeader=true, bool fillTicketNumberToHeader=true)
Definition: PrinterBusinessLogic.cpp:446
PrinterBusinessLogic()
Definition: PrinterBusinessLogic.cpp:313
bool PrintFinalTicketCopyFromFile()
PrintFinalTicketCopyFromFile - prints final ticket from final ticket copy file.
Definition: PrinterBusinessLogic.cpp:488
Definition: PrinterBusinessLogic.cpp:66
The BusinessLogic class is the base class of all business logic classes. Every inherited class has to...
Definition: BusinessLogic.h:11
bool IsPrinterPresent() const
Definition: PrinterBusinessLogic.cpp:344
QString GetPreparedTicketTemplateName() const
Definition: PrinterBusinessLogic.cpp:628
bool PrintRefuellingTicket(const unsigned dailyIdentificationRecordNumber)
Definition: PrinterBusinessLogic.cpp:568
virtual ~PrinterBusinessLogic()
Definition: PrinterBusinessLogic.cpp:319
bool EraseFinalTicketCopyFile()
EraseFinalTicketCopyFile - deletes final ticket copy file.
Definition: PrinterBusinessLogic.cpp:545
bool CheckPrinterStateAndShowError(const QString &errorMessageTitle="")
Definition: PrinterBusinessLogic.cpp:433
bool PrinterCheck(QString &errorString)
Definition: PrinterBusinessLogic.cpp:366
bool IsPaperLow() const
Definition: PrinterBusinessLogic.cpp:470
static const ApplicationDefines::BusinessLogicType mBusinessLogicType
Definition: PrinterBusinessLogic.h:18
bool CheckPrinterPresent()
Definition: PrinterBusinessLogic.cpp:349
Definition: AutomaticCardHandlingBusinessLogic.h:6
BusinessLogicType
Definition: ApplicationDefines.h:186
void PreparePrinterTest()
Definition: PrinterBusinessLogic.cpp:329
bool PrintPreparedTicket(const QString &backupCopyFileName=QString())
Definition: PrinterBusinessLogic.cpp:633
Definition: ApplicationDefines.h:189
Definition: PrinterBusinessLogic.h:15