blob: e952163d19fe629f22973eff33d187ddc3431a29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef XT9KINPUTMETHOD_P_H
#define XT9KINPUTMETHOD_P_H
#include "xt9awinputmethod_p.h"
QT_BEGIN_NAMESPACE
namespace QtVirtualKeyboard {
class Xt9KInputMethodPrivate;
class Xt9KInputMethod : public Xt9AwInputMethod
{
Q_OBJECT
Q_DECLARE_PRIVATE(Xt9KInputMethod)
QML_NAMED_ELEMENT(HangulInputMethod)
QML_ADDED_IN_VERSION(2, 0)
public:
explicit Xt9KInputMethod(QObject *parent = nullptr);
bool keyEvent(Qt::Key key, const QString &text, Qt::KeyboardModifiers modifiers) override;
void update() override;
};
} // namespace QtVirtualKeyboard
QT_END_NAMESPACE
#endif
|