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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/qprintpreviewwidget.h b/src/gui/widgets/qprintpreviewwidget.h
index 2823873..08e596d 100644
--- a/src/gui/widgets/qprintpreviewwidget.h
+++ b/src/gui/widgets/qprintpreviewwidget.h
@@ -82,7 +82,8 @@ public:
ViewMode viewMode() const;
ZoomMode zoomMode() const;
int currentPage() const;
- int numPages() const;
+ QT_DEPRECATED int numPages() const;
+ int pageCount() const;
void setVisible(bool visible);
public Q_SLOTS: