Skip to content

Commit

Permalink
Docs: remove \internal in the docs for encodeMetricF()
Browse files Browse the repository at this point in the history
The documentation for QPaintDevice::PdmDevicePixelRatioF_EncodedA
refers to encodeMetricF() which was nowhere to be found in the
documentation because it was marked as internal.

Change-Id: I37707bc641d359f367f77c958043b6dfa33d4dcb
Reviewed-by: Tor Arne Vestbø <[email protected]>
(cherry picked from commit 3ff989a)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
(cherry picked from commit cfe9068)
  • Loading branch information
dfaure-kdab authored and Qt Cherry-pick Bot committed Jan 25, 2025
1 parent 7b1ed50 commit 02289a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gui/painting/qpaintdevice.qdoc
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,6 @@
/*!
\fn int QPaintDevice::encodeMetricF(PaintDeviceMetric metric, double value)

\internal

Returns \a value encoded for the metric \a metric. Subclasses implementing metric() should use
this function to encode \value as an integer return value when the query metric specifies an
encoded floating-point value.
Expand Down

0 comments on commit 02289a0

Please sign in to comment.