MagicSmoke  $VERSION$
MPServerConfig Class Reference

#include <servercfg.h>

Inheritance diagram for MPServerConfig:

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...
 

Constructor & Destructor Documentation

MPServerConfig::MPServerConfig ( QWidget *  parent = nullptr)

Member Function Documentation

QString MPServerConfig::billFileName ( )
static

returns the name under which the bill/invoice PDF should be stored on the server

References INVOICENM.

Referenced by MPServerConfig(), and PrintingRun::PrintingRun().

static QString MPServerConfig::billTemplateName ( )
inlinestatic

returns the template name for bills

Referenced by PrintingRun::PrintingRun().

QList< int > MPServerConfig::mailContactTypeIds ( )
static

returns the IDs of all contact types that are mail addresses

References MAILCONTACTS.

Referenced by mailContactTypes(), MPServerConfig(), and validateConfig().

QStringList MPServerConfig::mailContactTypes ( )
static

returns all contact types that are mail addresses

References mailContactTypeIds().

Referenced by MPServerConfig().

static QString MPServerConfig::mailTemplateName ( )
inlinestatic

returns the template name for mails

Referenced by PrintingRun::PrintingRun().

void MPServerConfig::save ( )
slot
QList< int > MPServerConfig::shippingIds ( )
static

returns the IDs of shipping types used for PrintAtHome

References SHIPPING.

Referenced by MPServerConfig(), PrintingRun::PrintingRun(), and validateConfig().

QString MPServerConfig::ticketFileName ( )
static

returns the name under which the ticket PDF should be stored on the server

References TICKETNM.

Referenced by MPServerConfig(), and PrintingRun::PrintingRun().

static QString MPServerConfig::ticketTemplateName ( )
inlinestatic

returns the template name for tickets

Referenced by PrintingRun::PrintingRun().

bool MPServerConfig::validateConfig ( )
static
QString MPServerConfig::voucherFileName ( )
static

returns the name under which the voucher PDF should be stored on the server

References VOUCHERNM.

Referenced by MPServerConfig(), and PrintingRun::PrintingRun().

static QString MPServerConfig::voucherTemplateName ( )
inlinestatic

returns the template name for vouchers

Referenced by PrintingRun::PrintingRun().


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