QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
qserialportinfo_p.h
Go to the documentation of this file.
1// Copyright (C) 2011-2012 Denis Shienkov <denis.shienkov@gmail.com>
2// Copyright (C) 2017 Sergey Belyashov <Sergey.Belyashov@gmail.com>
3// Copyright (C) 2013 Laszlo Papp <lpapp@kde.org>
4// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
5
6#pragma once
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/qstring.h>
20#include <QtCore/private/qglobal_p.h>
21
23
24class Q_AUTOTEST_EXPORT QSerialPortInfoPrivate
25{
26public:
27 static QString portNameToSystemLocation(const QString &source);
28 static QString portNameFromSystemLocation(const QString &source);
29
30 QString portName;
31 QString device;
32 QString description;
33 QString manufacturer;
34 QString serialNumber;
35
36 quint16 vendorIdentifier = 0;
37 quint16 productIdentifier = 0;
38
39 bool hasVendorIdentifier = false;
40 bool hasProductIdentifier = false;
41};
42
43QT_END_NAMESPACE
QT_BEGIN_NAMESPACE