Convert private slots to private functions

This commit is contained in:
Roland Winklmeier
2018-08-31 15:48:41 +02:00
committed by Klaus Basan
parent 2856dad280
commit b6180d33af
2 changed files with 8 additions and 7 deletions

View File

@@ -107,9 +107,7 @@ namespace BlackCore
//! Constructor
CInputManager(QObject *parent = nullptr);
private slots:
void ps_processKeyCombinationChanged(const BlackMisc::Input::CHotkeyCombination &combination);
void ps_processButtonCombinationChanged(const BlackMisc::Input::CHotkeyCombination &combination);
private:
//! Handle to a bound action
@@ -125,6 +123,9 @@ namespace BlackCore
//! Reload hotkey settings
void reloadHotkeySettings();
void processKeyCombinationChanged(const BlackMisc::Input::CHotkeyCombination &combination);
void processButtonCombinationChanged(const BlackMisc::Input::CHotkeyCombination &combination);
//! Bind action
int bindImpl(const QString &action, QObject *receiver, std::function<void(bool)> function);