summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qprintpreviewwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/qprintpreviewwidget.h')
-rw-r--r--src/gui/widgets/qprintpreviewwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/qprintpreviewwidget.h b/src/gui/widgets/qprintpreviewwidget.h
index 08e596d..d8504de 100644
--- a/src/gui/widgets/qprintpreviewwidget.h
+++ b/src/gui/widgets/qprintpreviewwidget.h
@@ -82,7 +82,9 @@ public:
ViewMode viewMode() const;
ZoomMode zoomMode() const;
int currentPage() const;
+#ifdef QT_DEPRECATED
QT_DEPRECATED int numPages() const;
+#endif
int pageCount() const;
void setVisible(bool visible);