Mod doc set style de same

This commit is contained in:
Simon De Backer
2020-08-16 11:19:36 +02:00
parent 90417ae509
commit d4ee161c07
274 changed files with 6823 additions and 6756 deletions

View File

@@ -36,9 +36,9 @@ NameListWidget::~NameListWidget()
}
/**
* @brief NameListWidget::addLine
* Add a new line to the name list widget
*/
@brief NameListWidget::addLine
Add a new line to the name list widget
*/
void NameListWidget::addLine()
{
clean();
@@ -53,10 +53,10 @@ void NameListWidget::addLine()
}
/**
* @brief NameListWidget::setNames
* Set the current names of this dialog from @name_list
* @param name_list
*/
@brief NameListWidget::setNames
Set the current names of this dialog from @name_list
@param name_list
*/
void NameListWidget::setNames(const NamesList &name_list)
{
for (QString lang : name_list.langs())
@@ -74,9 +74,9 @@ void NameListWidget::setNames(const NamesList &name_list)
}
/**
* @brief NameListWidget::names
* @return the current name list edited by this dialog
*/
@brief NameListWidget::names
@return the current name list edited by this dialog
*/
NamesList NameListWidget::names() const
{
NamesList nl_;
@@ -95,10 +95,10 @@ NamesList NameListWidget::names() const
}
/**
* @brief NameListWidget::setReadOnly
* Set this dialog to read only or not.
* @param ro
*/
@brief NameListWidget::setReadOnly
Set this dialog to read only or not.
@param ro
*/
void NameListWidget::setReadOnly(bool ro)
{
m_read_only = ro;
@@ -116,10 +116,10 @@ void NameListWidget::setReadOnly(bool ro)
}
/**
* @brief NameListWidget::isEmpty
* @return true if empty.
* An empty dialog, is a dialog without any edited lang.
*/
@brief NameListWidget::isEmpty
@return true if empty.
An empty dialog, is a dialog without any edited lang.
*/
bool NameListWidget::isEmpty() const {
return names().isEmpty();
}
@@ -142,9 +142,9 @@ void NameListWidget::setClipboardValue(QHash<QString, QString> value)
}
/**
* @brief NameListWidget::clean
* Clean the lists of names by removing the emtpy lines
*/
@brief NameListWidget::clean
Clean the lists of names by removing the emtpy lines
*/
void NameListWidget::clean()
{
int names_count = ui->m_tree->topLevelItemCount() - 1;