mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-09-28 21:34:12 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user