Example #1
0
bool GlobalHotkey::registerHotkey(const QString &hk)
{
	return registerHotkey(QKeySequence(hk));
}
Example #2
0
bool GlobalHotkey::registerHotkey(const QKeySequence &hk)
{
	if (hk.count() != 1)
		return false;
	return registerHotkey(hk[0]);
}
Example #3
0
/** ***************************************************************************/
bool HotkeyManager::registerHotkey(const QString &hk) {
	return registerHotkey(QKeySequence(hk));
}