Fix documentation of obsoleted functions to show the right replacement

Change-Id: Ib008a5544d68d93e1f96ff6b7504e9a7ea4bb192
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
Andy Shaw 2015-04-17 08:10:10 +02:00 committed by Andy Shaw
parent ab156fcedd
commit 79be260122

View File

@ -1764,7 +1764,7 @@ QRectF QPrinter::paperRect(Unit unit) const
}
/*!
\obsolete Use pageLayout().paintRect() instead.
\obsolete Use pageLayout().paintRectPixels(resolution()) instead.
Returns the page's rectangle; this is usually smaller than the
paperRect() since the page normally has margins between its
@ -1781,7 +1781,7 @@ QRect QPrinter::pageRect() const
}
/*!
\obsolete Use pageLayout().fullPageRect() instead.
\obsolete Use pageLayout().fullRectPixels(resolution()) instead.
Returns the paper's rectangle; this is usually larger than the
pageRect().