diff options
author | Martin Klapetek <mklapetek@kde.org> | 2013-09-11 21:02:42 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-11 21:52:50 +0200 |
commit | ea3f8ff6d0d1551a44b0c1a892470d9d48ebb858 (patch) | |
tree | 48dbfb80ee5477884d5a2b536b91d91e6f780af1 /src/printsupport/widgets/qcupsjobwidget_p.h | |
parent | 8a425026820cab9ea4b4e8bb05afde9f1092edd3 (diff) |
Add CUPS Banner Pages options to print support
Adds a way to set standard CUPS Banner Pages. This widget is part of the
Job Options widget/tab in Properties dialog.
[ChangeLog][QtPrintSupport][QPrintDialog] Added support for setting CUPS
Banner pages in the print dialog.
Change-Id: Ia7a22b7a0f51c12d170986caee61af7109e781e9
Reviewed-by: John Layt <jlayt@kde.org>
Diffstat (limited to 'src/printsupport/widgets/qcupsjobwidget_p.h')
-rw-r--r-- | src/printsupport/widgets/qcupsjobwidget_p.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/printsupport/widgets/qcupsjobwidget_p.h b/src/printsupport/widgets/qcupsjobwidget_p.h index b0f276b251..a5e2bf8083 100644 --- a/src/printsupport/widgets/qcupsjobwidget_p.h +++ b/src/printsupport/widgets/qcupsjobwidget_p.h @@ -89,9 +89,16 @@ private: void setJobPriority(int priority = 50); int jobPriority() const; + void setStartBannerPage(const QCUPSSupport::BannerPage bannerPage = QCUPSSupport::NoBanner); + QCUPSSupport::BannerPage startBannerPage() const; + + void setEndBannerPage(const QCUPSSupport::BannerPage bannerPage = QCUPSSupport::NoBanner); + QCUPSSupport::BannerPage endBannerPage() const; + void initJobHold(); void initJobBilling(); void initJobPriority(); + void initBannerPages(); QPrinter *m_printer; Ui::QCupsJobWidget m_ui; |