From 3d85fc013d438ac33cf77d85adb8faa55903170e Mon Sep 17 00:00:00 2001 From: ispyisail Date: Mon, 28 Sep 2026 23:21:38 +1300 Subject: [PATCH] Scripting: keep conductors()'s doc comment on conductors() The anonymous namespace sat between the comment and the function, so Doxygen attached the comment to describeEnd(). Co-Authored-By: Claude Opus 5.5 --- sources/scripting/qetscriptapi.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sources/scripting/qetscriptapi.cpp b/sources/scripting/qetscriptapi.cpp index b88d8ee17..8f4182035 100644 --- a/sources/scripting/qetscriptapi.cpp +++ b/sources/scripting/qetscriptapi.cpp @@ -836,14 +836,6 @@ bool QetScriptApi::addConductor(int folioIndex, return t1->isLinkedTo(t2); } -/** - @brief QetScriptApi::conductors - One line per conductor on the folio: which terminals it joins and its - number, in the form setConductorProperty() addresses them. Descriptive - rather than structured for the same reason elementTerminals() is -- it - exists so a script, or a person reading its output, can see what is - there before changing it. -*/ namespace { /// "{element uuid} terminal N", the form conductors() prints an end in and /// the conductor calls take as element uuid + terminal index. @@ -856,6 +848,14 @@ QString describeEnd(Terminal *t) } } // namespace +/** + @brief QetScriptApi::conductors + One line per conductor on the folio: which terminals it joins and its + number, in the form setConductorProperty() addresses them. Descriptive + rather than structured for the same reason elementTerminals() is -- it + exists so a script, or a person reading its output, can see what is + there before changing it. +*/ QStringList QetScriptApi::conductors(int folioIndex) const { QStringList list;