summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformkeymapper.h
blob: fb5b0cdb8bdcd0b6a087e5962bb53a351a20ecbb (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
33
34
35
36
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QPLATFORMKEYMAPPER_P
#define QPLATFORMKEYMAPPER_P

//
//  W A R N I N G
//  -------------
//
// This file is part of the QPA API and is not meant to be used
// in applications. Usage of this API may make your code
// source and binary incompatible with future versions of Qt.
//

#include <QtGui/qtguiglobal.h>
#include <QtCore/qloggingcategory.h>

QT_BEGIN_NAMESPACE

Q_DECLARE_EXPORTED_LOGGING_CATEGORY(lcQpaKeyMapper, Q_GUI_EXPORT)

class QKeyEvent;

class Q_GUI_EXPORT QPlatformKeyMapper
{
public:
    virtual ~QPlatformKeyMapper();

    virtual QList<QKeyCombination> possibleKeyCombinations(const QKeyEvent *event) const;
    virtual Qt::KeyboardModifiers queryKeyboardModifiers() const;
};

QT_END_NAMESPACE

#endif // QPLATFORMKEYMAPPER_P