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/qmpcustomizewindow.hpp | 31 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'qmidiplayer-desktop/qmpcustomizewindow.hpp') diff --git a/qmidiplayer-desktop/qmpcustomizewindow.hpp b/qmidiplayer-desktop/qmpcustomizewindow.hpp index 321c22e..002d2fc 100644 --- a/qmidiplayer-desktop/qmpcustomizewindow.hpp +++ b/qmidiplayer-desktop/qmpcustomizewindow.hpp @@ -3,28 +3,29 @@ #include -namespace Ui { +namespace Ui +{ class qmpCustomizeWindow; } -class qmpCustomizeWindow:public QDialog +class qmpCustomizeWindow: public QDialog { - Q_OBJECT + Q_OBJECT - public: - explicit qmpCustomizeWindow(QWidget *parent=nullptr); - ~qmpCustomizeWindow(); - void load(void* data); - void* save(); +public: + explicit qmpCustomizeWindow(QWidget *parent = nullptr); + ~qmpCustomizeWindow(); + void load(void *data); + void *save(); - private slots: - void on_tbAdd_clicked(); - void on_tbRemove_clicked(); - void on_buttonBox_accepted(); - void on_buttonBox_rejected(); +private slots: + void on_tbAdd_clicked(); + void on_tbRemove_clicked(); + void on_buttonBox_accepted(); + void on_buttonBox_rejected(); - private: - Ui::qmpCustomizeWindow *ui; +private: + Ui::qmpCustomizeWindow *ui; }; #endif // QMPCUSTOMIZEWINDOW_HPP -- cgit v1.2.3