MagicSmoke
$VERSION$
|
#include <servercfg.h>
Public Slots | |
void | save () |
Public Member Functions | |
MPServerConfig (QWidget *parent=nullptr) | |
Static Public Member Functions | |
static QString | billFileName () |
returns the name under which the bill/invoice PDF should be stored on the server More... | |
static QString | billTemplateName () |
returns the template name for bills More... | |
static QList< int > | mailContactTypeIds () |
returns the IDs of all contact types that are mail addresses More... | |
static QStringList | mailContactTypes () |
returns all contact types that are mail addresses More... | |
static QString | mailTemplateName () |
returns the template name for mails More... | |
static QList< int > | shippingIds () |
returns the IDs of shipping types used for PrintAtHome More... | |
static QString | ticketFileName () |
returns the name under which the ticket PDF should be stored on the server More... | |
static QString | ticketTemplateName () |
returns the template name for tickets More... | |
static bool | validateConfig () |
returns true if the server configuration is consistent More... | |
static QString | voucherFileName () |
returns the name under which the voucher PDF should be stored on the server More... | |
static QString | voucherTemplateName () |
returns the template name for vouchers More... | |
MPServerConfig::MPServerConfig | ( | QWidget * | parent = nullptr | ) |
References billFileName(), mailContactTypeIds(), mailContactTypes(), req, save(), shippingIds(), strpair2str(), ticketFileName(), and voucherFileName().
|
static |
returns the name under which the bill/invoice PDF should be stored on the server
References INVOICENM.
Referenced by MPServerConfig(), and PrintingRun::PrintingRun().
|
inlinestatic |
returns the template name for bills
Referenced by PrintingRun::PrintingRun().
|
static |
returns the IDs of all contact types that are mail addresses
References MAILCONTACTS.
Referenced by mailContactTypes(), MPServerConfig(), and validateConfig().
|
static |
returns all contact types that are mail addresses
References mailContactTypeIds().
Referenced by MPServerConfig().
|
inlinestatic |
returns the template name for mails
Referenced by PrintingRun::PrintingRun().
|
slot |
|
static |
returns the IDs of shipping types used for PrintAtHome
References SHIPPING.
Referenced by MPServerConfig(), PrintingRun::PrintingRun(), and validateConfig().
|
static |
returns the name under which the ticket PDF should be stored on the server
References TICKETNM.
Referenced by MPServerConfig(), and PrintingRun::PrintingRun().
|
inlinestatic |
returns the template name for tickets
Referenced by PrintingRun::PrintingRun().
|
static |
returns true if the server configuration is consistent
References MTemplate::checksum(), MTemplateStore::getTemplateByFile(), MTemplate::isValid(), mailContactTypeIds(), req, and shippingIds().
Referenced by PrintScheduler::reinit(), and PrintScheduler::startPrinting().
|
static |
returns the name under which the voucher PDF should be stored on the server
References VOUCHERNM.
Referenced by MPServerConfig(), and PrintingRun::PrintingRun().
|
inlinestatic |
returns the template name for vouchers
Referenced by PrintingRun::PrintingRun().