From a7407edaf81c685d4a389785a405a53a5de4b148 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Tue, 12 May 2020 00:58:40 +0800 Subject: Format EVERYTHING. Hopefully this will make the source code less horrendous and actually readable. The command used was: ``` astyle --suffix=none --style=allman --attach-extern-c --attach-closing-while --indent-switches --indent-after-parens --pad-oper --pad-header --unpad-paren --align-pointer=name --recursive './*.cpp,*.hpp' ``` --- qmidiplayer-desktop/qmppresetselect.hpp | 41 +++++++++++++++++---------------- 1 file changed, 21 insertions(+), 20 deletions(-) (limited to 'qmidiplayer-desktop/qmppresetselect.hpp') diff --git a/qmidiplayer-desktop/qmppresetselect.hpp b/qmidiplayer-desktop/qmppresetselect.hpp index 0186578..6eaf2bf 100644 --- a/qmidiplayer-desktop/qmppresetselect.hpp +++ b/qmidiplayer-desktop/qmppresetselect.hpp @@ -4,36 +4,37 @@ #include #include -namespace Ui { - class qmpPresetSelector; +namespace Ui +{ +class qmpPresetSelector; } -class qmpPresetSelector:public QDialog +class qmpPresetSelector: public QDialog { - Q_OBJECT + Q_OBJECT - public: - explicit qmpPresetSelector(QWidget *parent = 0); - ~qmpPresetSelector(); - void showEvent(QShowEvent* e); - void setupWindow(int chid); +public: + explicit qmpPresetSelector(QWidget *parent = 0); + ~qmpPresetSelector(); + void showEvent(QShowEvent *e); + void setupWindow(int chid); - private slots: +private slots: - void on_lwBankSelect_currentRowChanged(); + void on_lwBankSelect_currentRowChanged(); - void on_lwPresetSelect_itemDoubleClicked(); + void on_lwPresetSelect_itemDoubleClicked(); - void on_buttonBox_accepted(); + void on_buttonBox_accepted(); - void on_buttonBox_rejected(); + void on_buttonBox_rejected(); - private: - Ui::qmpPresetSelector *ui; - char presets[129][128][24]; - void on_pbCancel_clicked(); - void on_pbOk_clicked(); - int ch; +private: + Ui::qmpPresetSelector *ui; + char presets[129][128][24]; + void on_pbCancel_clicked(); + void on_pbOk_clicked(); + int ch; }; #endif // QMPPRESETSELECT_H -- cgit v1.2.3