From b00358a33d1a43939c2009f7dc83c66fa2bd15d4 Mon Sep 17 00:00:00 2001 From: Dheerendra Purohit Date: Tue, 15 Jul 2025 14:49:52 +0530 Subject: [PATCH] Doc: Make QAbstractSeries::graph() as \internal to hide private type The QAbstractseries::graph() function returned a private type QGraphView which was mistakenly exposed in public documentation. Added \internal to the doc comment to hide the function from public API docs. Fixes the documentation leak of the private class. Pick-to: 6.9 6.8 Task-number: QTBUG-138456 Change-Id: I4f2af5e43ada043788f841e570df1911351dcdbb Reviewed-by: Sze Howe Koh (cherry picked from commit 16b5a594e6fa1d4c919c1db8afb94b2b6af96bba) Reviewed-by: Qt Cherry-pick Bot --- src/graphs2d/qabstractseries.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/graphs2d/qabstractseries.cpp b/src/graphs2d/qabstractseries.cpp index cd261395..ed209fe1 100644 --- a/src/graphs2d/qabstractseries.cpp +++ b/src/graphs2d/qabstractseries.cpp @@ -545,6 +545,7 @@ void QAbstractSeries::setZValue(int newDrawOrder) } /*! + \internal Returns the graph that the series belongs to. Set automatically when the series is added to the graph,