summaryrefslogtreecommitdiffstats
path: root/src/controllers/dlgprefcontroller.h
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2014-03-29 02:01:17 -0400
committerRJ Ryan <rryan@mixxx.org>2014-03-29 02:40:34 -0400
commit4f37473ab335bf0b64930f45876a35349385ef53 (patch)
tree06a28ebff4bf40960d030d05ae133df5e07e9643 /src/controllers/dlgprefcontroller.h
parent8ceba823487c521df76b9e7c7ba3ebeb457172ce (diff)
When we MIDI learn a control add it to the input table model.
Diffstat (limited to 'src/controllers/dlgprefcontroller.h')
-rw-r--r--src/controllers/dlgprefcontroller.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/controllers/dlgprefcontroller.h b/src/controllers/dlgprefcontroller.h
index 0c0bd35296..28a2928bee 100644
--- a/src/controllers/dlgprefcontroller.h
+++ b/src/controllers/dlgprefcontroller.h
@@ -71,6 +71,8 @@ class DlgPrefController : public DlgPreferencePage {
void removeOutputMappings();
void clearAllOutputMappings();
+ void midiInputMappingsLearned(const MidiInputMappings& mappings);
+
private:
QString presetShortName(const ControllerPresetPointer pPreset) const;
QString presetDescription(const ControllerPresetPointer pPreset) const;
@@ -88,9 +90,9 @@ class DlgPrefController : public DlgPreferencePage {
Controller* m_pController;
DlgControllerLearning* m_pDlgControllerLearning;
ControllerPresetPointer m_pPreset;
- ControllerMappingTableModel* m_pInputTableModel;
+ ControllerInputMappingTableModel* m_pInputTableModel;
QSortFilterProxyModel* m_pInputProxyModel;
- ControllerMappingTableModel* m_pOutputTableModel;
+ ControllerOutputMappingTableModel* m_pOutputTableModel;
QSortFilterProxyModel* m_pOutputProxyModel;
bool m_bDirty;
};