summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qprinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/printsupport/kernel/qprinter.h')
-rw-r--r--src/printsupport/kernel/qprinter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/printsupport/kernel/qprinter.h b/src/printsupport/kernel/qprinter.h
index 2f91c8b1e9..f3c6615692 100644
--- a/src/printsupport/kernel/qprinter.h
+++ b/src/printsupport/kernel/qprinter.h
@@ -246,6 +246,8 @@ public:
void setPrintRange(PrintRange range);
PrintRange printRange() const;
+ void setMargins(const Margins &m);
+
void setPageMargins(qreal left, qreal top, qreal right, qreal bottom, Unit unit);
void getPageMargins(qreal *left, qreal *top, qreal *right, qreal *bottom, Unit unit) const;