diff options
author | Chris Xiong <chirs241097@gmail.com> | 2020-05-12 00:58:40 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2020-05-12 00:58:40 +0800 |
commit | a7407edaf81c685d4a389785a405a53a5de4b148 (patch) | |
tree | e6e4f2d85f2172c94ac83a6e8f01e1e90a78ede9 /qmidiplayer-desktop/qmpdevpropdialog.hpp | |
parent | 437b7b16c322a8e53ac55a5f831098494d9a7073 (diff) | |
download | QMidiPlayer-a7407edaf81c685d4a389785a405a53a5de4b148.tar.xz |
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'
```
Diffstat (limited to 'qmidiplayer-desktop/qmpdevpropdialog.hpp')
-rw-r--r-- | qmidiplayer-desktop/qmpdevpropdialog.hpp | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/qmidiplayer-desktop/qmpdevpropdialog.hpp b/qmidiplayer-desktop/qmpdevpropdialog.hpp index e98aba9..eb69d81 100644 --- a/qmidiplayer-desktop/qmpdevpropdialog.hpp +++ b/qmidiplayer-desktop/qmpdevpropdialog.hpp @@ -3,32 +3,33 @@ #include <QDialog> -namespace Ui { +namespace Ui +{ class qmpDevPropDialog; } class qmpDevPropDialog : public QDialog { - Q_OBJECT + Q_OBJECT - public: - explicit qmpDevPropDialog(QWidget *parent = nullptr); - ~qmpDevPropDialog(); - void load(void* data); - void* save(); +public: + explicit qmpDevPropDialog(QWidget *parent = nullptr); + ~qmpDevPropDialog(); + void load(void *data); + void *save(); - private slots: - void on_pbAdd_clicked(); +private slots: + void on_pbAdd_clicked(); - void on_pbRemove_clicked(); + void on_pbRemove_clicked(); - void on_buttonBox_accepted(); + void on_buttonBox_accepted(); - void on_buttonBox_rejected(); + void on_buttonBox_rejected(); - private: - Ui::qmpDevPropDialog *ui; - void setupRow(const QString &dn="",const QString &din=""); +private: + Ui::qmpDevPropDialog *ui; + void setupRow(const QString &dn = QString(), const QString &din = QString()); }; #endif // QMPDEVPROPDIALOG_HPP |