mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 18:55:38 +08:00
refs #198 , changed keyboardkey classes so they can be initialized either by read settings or default values
This commit is contained in:
@@ -37,11 +37,17 @@ namespace BlackMisc
|
||||
return QVariant::fromValue(*this);
|
||||
}
|
||||
|
||||
//! \brief contains given hotkey function?
|
||||
bool containsFunction(CKeyboardKey::HotkeyFunction key);
|
||||
|
||||
//! \brief Register metadata
|
||||
static void registerMetadata();
|
||||
|
||||
//! \brief Fill the list with hotkey
|
||||
void initAsHotkeyList();
|
||||
/*!
|
||||
* \brief Fill the list with hotkeys
|
||||
* \param reset true, list will be be reset, otherwise value will not be overridde
|
||||
*/
|
||||
void initAsHotkeyList(bool reset = true);
|
||||
};
|
||||
|
||||
} //namespace
|
||||
|
||||
Reference in New Issue
Block a user