printToAllPrinters flag has been added to printReport method

This commit is contained in:
Arin Alexander
2019-02-09 23:57:19 +03:00
parent 362c7217f3
commit a43368751c
4 changed files with 20 additions and 13 deletions

View File

@@ -80,7 +80,7 @@ public:
explicit ReportEngine(QObject *parent = 0);
~ReportEngine();
bool printReport(QPrinter *printer=0);
bool printReport(QMap<QString, QPrinter*> printers);
bool printReport(QMap<QString, QPrinter*> printers, bool printToAllPrinters = false);
bool printPages(ReportPages pages, QPrinter *printer);
void printToFile(const QString& fileName);
PageDesignIntf *createPreviewScene(QObject *parent = 0);