mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-01 09:09:58 +01:00
Wrap code for better readability
This commit is contained in:
@@ -35,7 +35,8 @@ NameListDialog::NameListDialog(QWidget *parent) :
|
||||
#endif
|
||||
}
|
||||
|
||||
NameListDialog::~NameListDialog() {
|
||||
NameListDialog::~NameListDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
@@ -48,7 +49,8 @@ void NameListDialog::setInformationText(const QString &text) {
|
||||
@return the name list widget used by this dialog.
|
||||
The ownership of the namelistwidget stay to this dialog
|
||||
*/
|
||||
NameListWidget *NameListDialog::namelistWidget() const {
|
||||
NameListWidget *NameListDialog::namelistWidget() const
|
||||
{
|
||||
return m_namelist_widget;
|
||||
}
|
||||
|
||||
@@ -62,6 +64,7 @@ void NameListDialog::setHelpText(const QString &text)
|
||||
}
|
||||
}
|
||||
|
||||
void NameListDialog::showHelpDialog() {
|
||||
void NameListDialog::showHelpDialog()
|
||||
{
|
||||
QMessageBox::information(this, tr("Variables de cartouche"), m_help_text);
|
||||
}
|
||||
|
||||
@@ -122,7 +122,8 @@ void NameListWidget::setReadOnly(bool ro)
|
||||
@return true if empty.
|
||||
An empty dialog, is a dialog without any edited lang.
|
||||
*/
|
||||
bool NameListWidget::isEmpty() const {
|
||||
bool NameListWidget::isEmpty() const
|
||||
{
|
||||
return names().isEmpty();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user