Coding conventions, blanks and blank lines

Remove lots of unnecessary white space. Remove blank lines. Remove leading underscores from parameters.

Remove line breaks in `TempoSyncBarModelEditor.cpp` to make the code more readable. Remove repeated method calls by introducing local variables.
This commit is contained in:
Michael Gregorius
2023-09-08 10:48:20 +02:00
parent 332c6f9c95
commit 33231009a0
2 changed files with 152 additions and 174 deletions

View File

@@ -46,10 +46,10 @@ public:
~TempoSyncBarModelEditor() override;
const QString & syncDescription();
void setSyncDescription( const QString & _new_description );
void setSyncDescription(const QString & new_description);
const QPixmap & syncIcon();
void setSyncIcon( const QPixmap & _new_pix );
void setSyncIcon(const QPixmap & new_pix);
TempoSyncKnobModel * model()
{
@@ -60,12 +60,12 @@ public:
signals:
void syncDescriptionChanged( const QString & _new_description );
void syncDescriptionChanged(const QString & new_description);
void syncIconChanged();
protected:
void contextMenuEvent( QContextMenuEvent * _me ) override;
void contextMenuEvent(QContextMenuEvent * me) override;
protected slots:
@@ -78,10 +78,7 @@ private:
QString m_tempoSyncDescription;
QPointer<MeterDialog> m_custom;
} ;
};
} // namespace lmms::gui