From 86177820df2a930145608b7b291310e65293c94a Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Sat, 12 Oct 2019 23:25:30 +0300 Subject: [PATCH] cancelPrinting slot has been added --- common.pri | 2 +- limereport/lrreportengine.cpp | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/common.pri b/common.pri index 20519eb..3085e0b 100644 --- a/common.pri +++ b/common.pri @@ -127,7 +127,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc LIMEREPORT_VERSION_MAJOR = 1 LIMEREPORT_VERSION_MINOR = 5 -LIMEREPORT_VERSION_RELEASE = 14 +LIMEREPORT_VERSION_RELEASE = 15 LIMEREPORT_VERSION = '$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}' DEFINES *= LIMEREPORT_VERSION_STR=\\\"$${LIMEREPORT_VERSION}\\\" diff --git a/limereport/lrreportengine.cpp b/limereport/lrreportengine.cpp index 9ff1f52..3a818aa 100644 --- a/limereport/lrreportengine.cpp +++ b/limereport/lrreportengine.cpp @@ -1741,6 +1741,12 @@ void ReportEngine::cancelRender() d->cancelRender(); } +void ReportEngine::cancelPrinting() +{ + Q_D(ReportEngine); + d->cancelPrinting(); +} + ReportEngine::ReportEngine(ReportEnginePrivate &dd, QObject *parent) :QObject(parent),d_ptr(&dd) {