1// Copyright (C) 2019 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Marc Mutz <marc.mutz@kdab.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QEVDEVUTIL_P_H
5#define QEVDEVUTIL_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QList>
19#include <QString>
20#include <QStringList>
21#include <QStringView>
22#include <private/qglobal_p.h>
23
24QT_BEGIN_NAMESPACE
25
26namespace QEvdevUtil {
27
28struct ParsedSpecification
29{
30 QString spec;
31 QStringList devices;
32 QList<QStringView> args;
33};
34
35ParsedSpecification parseSpecification(const QString &specification);
36
37}
38
39QT_END_NAMESPACE
40
41#endif // QEVDEVUTIL_P_H
42

source code of qtbase/src/platformsupport/input/shared/qevdevutil_p.h