mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-29 23:40:51 +01:00
Mod doc set style de same
This commit is contained in:
@@ -30,9 +30,9 @@ ReportElement::ReportElement(const ElementsLocation &location, const QString& li
|
||||
{}
|
||||
|
||||
/**
|
||||
* @brief ReportElement::~ReportElement
|
||||
* Destructor
|
||||
*/
|
||||
@brief ReportElement::~ReportElement
|
||||
Destructor
|
||||
*/
|
||||
ReportElement::~ReportElement()
|
||||
{
|
||||
unlinkAllElements();
|
||||
@@ -41,11 +41,11 @@ ReportElement::~ReportElement()
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ReportElement::linkToElement
|
||||
* Link this element to the other element
|
||||
* @param elmt
|
||||
* element to be linked with this
|
||||
*/
|
||||
@brief ReportElement::linkToElement
|
||||
Link this element to the other element
|
||||
@param elmt
|
||||
element to be linked with this
|
||||
*/
|
||||
void ReportElement::linkToElement(Element * elmt)
|
||||
{
|
||||
if (!diagram() && !elmt -> diagram())
|
||||
@@ -70,9 +70,9 @@ void ReportElement::linkToElement(Element * elmt)
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ReportElement::unLinkAllElements
|
||||
* Unlink all of the element in the QList connected_elements
|
||||
*/
|
||||
@brief ReportElement::unLinkAllElements
|
||||
Unlink all of the element in the QList connected_elements
|
||||
*/
|
||||
void ReportElement::unlinkAllElements()
|
||||
{
|
||||
if (isFree())
|
||||
@@ -92,12 +92,12 @@ void ReportElement::unlinkAllElements()
|
||||
emit linkedElementChanged();
|
||||
}
|
||||
/**
|
||||
* @brief ReportElement::unlinkElement
|
||||
@brief ReportElement::unlinkElement
|
||||
*unlink the specified element.
|
||||
*for reportelement, they must be only one linked element, so we call
|
||||
*unlinkAllElements for clear the connected_elements list.
|
||||
* @param elmt
|
||||
*/
|
||||
@param elmt
|
||||
*/
|
||||
void ReportElement::unlinkElement(Element *elmt) {
|
||||
Q_UNUSED (elmt);
|
||||
unlinkAllElements();
|
||||
|
||||
Reference in New Issue
Block a user