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 <noreply@anthropic.com>
This commit is contained in:
ispyisail
2026-09-28 23:21:38 +13:00
parent 9db6084387
commit 3d85fc013d
+8 -8
View File
@@ -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;