13 #ifndef MAGICSMOKE_BILLRENDER_H
14 #define MAGICSMOKE_BILLRENDER_H
38 QVariant getLoopVariable(QString,
int,QString);
42 QMap<QString,int>m_loopiter;
46 TickInfo(
const MOTicket&t):proto(t){amount=1;}
47 TickInfo(
const TickInfo&t):proto(t.proto){amount=t.amount;}
53 QList<MOTicket> tickets;
54 QList<MOVoucher> vouchers;
55 QList<TickInfo> tickinfo;
#define MAGICSMOKE_COMMON_EXPORT
Definition: commonexport.h:7
this class wraps a single template
Definition: templates.h:25
virtual int getLoopIterations(QString loopname)=0
implement this to return the amount of iterations for a defined loop; should return 0 if the loop doe...
abstract base class for all ODT rendering classes
Definition: odtrender.h:29
virtual QVariant getVariable(QString varname)=0
implement this to return the value of a variable during rendering; should return empty string if the ...
virtual void setLoopIteration(QString loopname, int interation)=0
implement this to populate the variables used in a specific iteration of the loop ...
displays an order and allows the user to execute several commands on it
Definition: billrender.h:24
this class represents a complete order
Definition: order.h:27