mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:47:03 +08:00
Convert private slots to private functions
This commit is contained in:
committed by
Klaus Basan
parent
2856dad280
commit
b6180d33af
@@ -29,8 +29,8 @@ namespace BlackCore
|
||||
m_keyboard(IKeyboard::create(this)),
|
||||
m_joystick(IJoystick::create(this))
|
||||
{
|
||||
connect(m_keyboard.get(), &IKeyboard::keyCombinationChanged, this, &CInputManager::ps_processKeyCombinationChanged, Qt::QueuedConnection);
|
||||
connect(m_joystick.get(), &IJoystick::buttonCombinationChanged, this, &CInputManager::ps_processButtonCombinationChanged, Qt::QueuedConnection);
|
||||
connect(m_keyboard.get(), &IKeyboard::keyCombinationChanged, this, &CInputManager::processKeyCombinationChanged, Qt::QueuedConnection);
|
||||
connect(m_joystick.get(), &IJoystick::buttonCombinationChanged, this, &CInputManager::processButtonCombinationChanged, Qt::QueuedConnection);
|
||||
reloadHotkeySettings();
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ namespace BlackCore
|
||||
}
|
||||
}
|
||||
|
||||
void CInputManager::ps_processKeyCombinationChanged(const CHotkeyCombination &combination)
|
||||
void CInputManager::processKeyCombinationChanged(const CHotkeyCombination &combination)
|
||||
{
|
||||
// Merge in the joystick part
|
||||
CHotkeyCombination copy(combination);
|
||||
@@ -91,7 +91,7 @@ namespace BlackCore
|
||||
processCombination(copy);
|
||||
}
|
||||
|
||||
void CInputManager::ps_processButtonCombinationChanged(const CHotkeyCombination &combination)
|
||||
void CInputManager::processButtonCombinationChanged(const CHotkeyCombination &combination)
|
||||
{
|
||||
// Merge in the keyboard keys
|
||||
CHotkeyCombination copy(combination);
|
||||
|
||||
Reference in New Issue
Block a user