Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1037598
shortcut-util.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
467 B
Referenced Files
None
Subscribers
None
shortcut-util.hpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2020-2022 Tusooa Zhu <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include
<libkazv-config.hpp>
#include
<QObject>
#include
<QQmlEngine>
#include
<QString>
#include
<QPair>
class
ShortcutUtil
:
public
QObject
{
Q_OBJECT
QML_SINGLETON
public
Q_SLOTS
:
bool
isModifier
(
int
key
,
int
modifiers
)
const
;
QString
keyToString
(
int
key
,
int
modifiers
)
const
;
};
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Wed, May 14, 7:31 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
90688
Default Alt Text
shortcut-util.hpp (467 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment