DtkDevice
DTK library for device.
dinputdevicekeyboard.h
浏览该文件的文档.
1
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DINPUTDEVICEKEYBOARD_H
6
#define DINPUTDEVICEKEYBOARD_H
7
#include "
dinputdevicegeneric.h
"
8
#include "dtkdevice_global.h"
9
DDEVICE_BEGIN_NAMESPACE
10
class
DInputDeviceKeyboardPrivate;
11
class
LIBDTKDEVICESHARED_EXPORT
DInputDeviceKeyboard
:
public
DInputDeviceGeneric
12
{
13
Q_OBJECT
14
15
public
:
16
~DInputDeviceKeyboard
()
override
;
17
18
public
Q_SLOTS:
19
DExpected<void>
reset
()
override
;
20
21
protected
:
22
DInputDeviceKeyboard
(
const
DeviceInfo
&info = DeviceInfoInitializer,
bool
enabled =
true
, QObject *parent =
nullptr
);
23
24
private
:
25
friend
class
DInputDeviceManager
;
26
D_DECLARE_PRIVATE(
DInputDeviceKeyboard
)
27
};
28
29
DDEVICE_END_NAMESPACE
30
#endif
// DINPUTDEVICEKEYBOARD_H
Dtk::Device::DInputDeviceGeneric
基本设备类
Definition:
dinputdevicegeneric.h:23
Dtk::Device::DInputDeviceKeyboard
键盘设备类
Definition:
dinputdevicekeyboard.h:12
Dtk::Device::DInputDeviceKeyboard::reset
DExpected< void > reset() override
重置键盘相关的所有设置
Dtk::Device::DInputDeviceKeyboard::DInputDeviceKeyboard
DInputDeviceKeyboard(const DeviceInfo &info=DeviceInfoInitializer, bool enabled=true, QObject *parent=nullptr)
默认构造函数与指定父对象的构造函数, 该函数仅开放给子类和DInputDeviceManager使用.
Dtk::Device::DInputDeviceManager
Manager类
Definition:
dinputdevicemanager.h:27
dinputdevicegeneric.h
Dtk::Device::DeviceInfo
设备信息类
Definition:
dtkinputdevices_types.h:16
include
inputdevices
dinputdevicekeyboard.h
文档生成时间:2023-07-10-06:43 +00
Doxygen Version
1.9.4
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享