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.hpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp b/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp
index d48a2aa..78ce3fa 100644
--- a/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp
+++ b/qmidiplayer-desktop/qmpdeviceprioritydialog.hpp
@@ -9,24 +9,28 @@ namespace Ui {
class qmpDevicePriorityDialog;
}
-class qmpDevicePriorityDialog : public QDialog
+class qmpDevicePriorityDialog:public QDialog
{
Q_OBJECT
public:
explicit qmpDevicePriorityDialog(QWidget *parent=nullptr);
~qmpDevicePriorityDialog();
- void setupRegisteredDevices();
+ void load(void* data);
+ void* save();
private slots:
void on_pbUp_clicked();
void on_pbDown_clicked();
void on_buttonBox_accepted();
-private:
+ void on_buttonBox_rejected();
+
+ private:
Ui::qmpDevicePriorityDialog *ui;
QStandardItemModel *model;
QList<QVariant> setdevs;
+ void setupRegisteredDevices();
};
#endif // QMPDEVICEPRIORITYDIALOG_HPP