aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmidiplayer-desktop/qmpdeviceprioritydialog.hpp')
-rw-r--r--qmidiplayer-desktop/qmpdeviceprioritydialog.hpp33
1 files changed, 17 insertions, 16 deletions
diff --git a/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp b/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp
index 78ce3fa..85170b9 100644
--- a/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp
+++ b/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp
@@ -5,32 +5,33 @@
#include <QShowEvent>
#include <QStandardItemModel>
-namespace Ui {
+namespace Ui
+{
class qmpDevicePriorityDialog;
}
-class qmpDevicePriorityDialog:public QDialog
+class qmpDevicePriorityDialog : public QDialog
{
- Q_OBJECT
+ Q_OBJECT
public:
- explicit qmpDevicePriorityDialog(QWidget *parent=nullptr);
- ~qmpDevicePriorityDialog();
- void load(void* data);
- void* save();
+ explicit qmpDevicePriorityDialog(QWidget *parent = nullptr);
+ ~qmpDevicePriorityDialog();
+ void load(void *data);
+ void *save();
private slots:
- void on_pbUp_clicked();
- void on_pbDown_clicked();
- void on_buttonBox_accepted();
+ void on_pbUp_clicked();
+ void on_pbDown_clicked();
+ void on_buttonBox_accepted();
- void on_buttonBox_rejected();
+ void on_buttonBox_rejected();
- private:
- Ui::qmpDevicePriorityDialog *ui;
- QStandardItemModel *model;
- QList<QVariant> setdevs;
- void setupRegisteredDevices();
+private:
+ Ui::qmpDevicePriorityDialog *ui;
+ QStandardItemModel *model;
+ QList<QVariant> setdevs;
+ void setupRegisteredDevices();
};
#endif // QMPDEVICEPRIORITYDIALOG_HPP