mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-07 06:10:52 +01:00
Wrap code for better readability
This commit is contained in:
@@ -49,7 +49,8 @@ projectDataBase::projectDataBase(QETProject *project, const QString &connection_
|
||||
@brief projectDataBase::~projectDataBase
|
||||
Destructor
|
||||
*/
|
||||
projectDataBase::~projectDataBase() {
|
||||
projectDataBase::~projectDataBase()
|
||||
{
|
||||
m_data_base.close();
|
||||
}
|
||||
|
||||
@@ -71,7 +72,8 @@ void projectDataBase::updateDB()
|
||||
@brief projectDataBase::project
|
||||
@return the project of this database
|
||||
*/
|
||||
QETProject *projectDataBase::project() const {
|
||||
QETProject *projectDataBase::project() const
|
||||
{
|
||||
return m_project;
|
||||
}
|
||||
|
||||
|
||||
@@ -98,7 +98,8 @@ ElementQueryWidget::ElementQueryWidget(QWidget *parent) :
|
||||
/**
|
||||
@brief ElementQueryWidget::~ElementQueryWidget
|
||||
*/
|
||||
ElementQueryWidget::~ElementQueryWidget() {
|
||||
ElementQueryWidget::~ElementQueryWidget()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
@@ -413,7 +414,8 @@ void ElementQueryWidget::setCount(QString text, bool set)
|
||||
/**
|
||||
@brief ElementQueryWidget::updateQueryLine
|
||||
*/
|
||||
void ElementQueryWidget::updateQueryLine() {
|
||||
void ElementQueryWidget::updateQueryLine()
|
||||
{
|
||||
ui->m_sql_query->setText(queryStr());
|
||||
}
|
||||
|
||||
@@ -464,7 +466,8 @@ void ElementQueryWidget::setUpItems()
|
||||
@param key
|
||||
@return the filter associated to key
|
||||
*/
|
||||
QPair<int, QString> ElementQueryWidget::FilterFor(const QString &key) const {
|
||||
QPair<int, QString> ElementQueryWidget::FilterFor(const QString &key) const
|
||||
{
|
||||
return m_filter.value(key, qMakePair(0, QString()));
|
||||
}
|
||||
|
||||
|
||||
@@ -153,7 +153,8 @@ void SummaryQueryWidget::fillSavedQuery()
|
||||
/**
|
||||
@brief SummaryQueryWidget::updateQueryLine
|
||||
*/
|
||||
void SummaryQueryWidget::updateQueryLine() {
|
||||
void SummaryQueryWidget::updateQueryLine()
|
||||
{
|
||||
ui->m_user_query_le->setText(queryStr());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user