Mercurial > hg > svgui
comparison widgets/MIDIFileImportDialog.h @ 1414:fa986b91d77f
Merge from branch fix-static-analysis
author | Chris Cannam |
---|---|
date | Wed, 09 Jan 2019 15:24:51 +0000 |
parents | 05d614f6e46d |
children |
comparison
equal
deleted
inserted
replaced
1413:0930a27ebea2 | 1414:fa986b91d77f |
---|---|
10 published by the Free Software Foundation; either version 2 of the | 10 published by the Free Software Foundation; either version 2 of the |
11 License, or (at your option) any later version. See the file | 11 License, or (at your option) any later version. See the file |
12 COPYING included with this distribution for more information. | 12 COPYING included with this distribution for more information. |
13 */ | 13 */ |
14 | 14 |
15 #ifndef _MIDI_FILE_IMPORT_DIALOG_H_ | 15 #ifndef SV_MIDI_FILE_IMPORT_DIALOG_H |
16 #define _MIDI_FILE_IMPORT_DIALOG_H_ | 16 #define SV_MIDI_FILE_IMPORT_DIALOG_H |
17 | 17 |
18 #include <QObject> | 18 #include <QObject> |
19 | 19 |
20 #include "data/fileio/MIDIFileReader.h" | 20 #include "data/fileio/MIDIFileReader.h" |
21 | 21 |
25 Q_OBJECT | 25 Q_OBJECT |
26 | 26 |
27 public: | 27 public: |
28 MIDIFileImportDialog(QWidget *parent = 0); | 28 MIDIFileImportDialog(QWidget *parent = 0); |
29 | 29 |
30 virtual TrackPreference getTrackImportPreference | 30 TrackPreference getTrackImportPreference |
31 (QStringList trackNames, bool haveSomePercussion, | 31 (QStringList trackNames, bool haveSomePercussion, |
32 QString &singleTrack) const; | 32 QString &singleTrack) const override; |
33 | 33 |
34 virtual void showError(QString error); | 34 void showError(QString error) override; |
35 | 35 |
36 protected: | 36 protected: |
37 QWidget *m_parent; | 37 QWidget *m_parent; |
38 }; | 38 }; |
39 | 39 |