swift
src
misc
input
registermetadatainput.cpp
1
// SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
4
#include "
misc/input/registermetadatainput.h
"
5
6
// Input headers
7
#include <QDBusMetaType>
8
9
#include "
misc/input/actionhotkeylist.h
"
10
#include "
misc/input/hotkeycombination.h
"
11
#include "
misc/input/joystickbuttonlist.h
"
12
#include "
misc/input/keyboardkeylist.h
"
13
14
namespace
swift::misc::input
15
{
16
void
registerMetadata
()
17
{
18
CActionHotkey::registerMetadata
();
19
CActionHotkeyList::registerMetadata
();
20
CHotkeyCombination::registerMetadata
();
21
CJoystickButton::registerMetadata
();
22
CJoystickButtonList::registerMetadata
();
23
CKeyboardKey::registerMetadata
();
24
CKeyboardKeyList::registerMetadata
();
25
qDBusRegisterMetaType<KeyCode>();
26
}
27
28
}
// namespace swift::misc::input
actionhotkeylist.h
swift::misc::mixin::MetaType::registerMetadata
static void registerMetadata()
Register metadata.
Definition:
mixinmetatype.h:56
hotkeycombination.h
joystickbuttonlist.h
keyboardkeylist.h
swift::misc::registerMetadata
void registerMetadata()
Register all relevant metadata in Misc.
Definition:
registermetadata.cpp:49
registermetadatainput.h
Generated on Mon Mar 24 2025 16:42:21 for swift by
1.9.1