| 1 | // Copyright (C) 2012 Denis Shienkov <[email protected]>cxx . . $ `<file>/src/serialport/qserialportinfo.h`/ |
| 2 | // Copyright (C) 2012 Laszlo Papp <[email protected]> |
| 3 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 4 | |
| 5 | #ifndef QSERIALPORTINFO_H |
| 6 | #define QSERIALPORTINFO_Hcxx . . $ `src/serialport/qserialportinfo.h:6:9`! |
| 7 | |
| 8 | #include <QtCore/qlist.h> |
| 9 | #include <QtCore/qscopedpointer.h> |
| 10 | |
| 11 | #include <QtSerialPort/qserialportglobal.h>cxx . . $ `<file>/build/include/QtSerialPort/qserialportglobal.h`/ |
| 12 | |
| 13 | QT_BEGIN_NAMESPACEcxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:103:10`! |
| 14 | |
| 15 | class QSerialPortcxx . . $ QSerialPort#; |
| 16 | class QSerialPortInfoPrivatecxx . . $ QSerialPortInfoPrivate#; |
| 17 | |
| 18 | class Q_SERIALPORT_EXPORTcxx . . $ `build/include/QtSerialPort/qtserialportexports.h:15:13`! QSerialPortInfocxx . . $ QSerialPortInfo# |
| 19 | { |
| 20 | Q_DECLARE_PRIVATEcxx . . $ `<external>/9561028201570787675/qtclasshelpermacros.h:146:9`!(QSerialPortInfo) |
| 21 | public: |
| 22 | QSerialPortInfocxx . . $ QSerialPortInfo#QSerialPortInfo(49f6e7a06ebc5aa8).(); |
| 23 | explicit QSerialPortInfocxx . . $ QSerialPortInfo#QSerialPortInfo(11525cb8e142ce82).(const QSerialPortcxx . . $ QSerialPort# &port); |
| 24 | explicit QSerialPortInfocxx . . $ QSerialPortInfo#QSerialPortInfo(3520e46b33348bf6).(const QStringcxx . . $ QString# &name); |
| 25 | QSerialPortInfocxx . . $ QSerialPortInfo#QSerialPortInfo(2bf417f211d87dbd).(const QSerialPortInfocxx . . $ QSerialPortInfo# &other); |
| 26 | ~cxx . . $ QSerialPortInfo#`~QSerialPortInfo`(ced63f7c635d850d).QSerialPortInfocxx . . $ QSerialPortInfo#(); |
| 27 | |
| 28 | QSerialPortInfocxx . . $ QSerialPortInfo#& operatorcxx . . $ QSerialPortInfo#`operator=`(3980a5efdaf880ae).=(const QSerialPortInfocxx . . $ QSerialPortInfo# &other); |
| 29 | void swapcxx . . $ QSerialPortInfo#swap(f8e209f6ca3a53f7).(QSerialPortInfocxx . . $ QSerialPortInfo# &other); |
| 30 | |
| 31 | QStringcxx . . $ QString# portNamecxx . . $ QSerialPortInfo#portName(6ef7b6c27b00b43d).() const; |
| 32 | QStringcxx . . $ QString# systemLocationcxx . . $ QSerialPortInfo#systemLocation(6ef7b6c27b00b43d).() const; |
| 33 | QStringcxx . . $ QString# descriptioncxx . . $ QSerialPortInfo#description(6ef7b6c27b00b43d).() const; |
| 34 | QStringcxx . . $ QString# manufacturercxx . . $ QSerialPortInfo#manufacturer(6ef7b6c27b00b43d).() const; |
| 35 | QStringcxx . . $ QString# serialNumbercxx . . $ QSerialPortInfo#serialNumber(6ef7b6c27b00b43d).() const; |
| 36 | |
| 37 | quint16cxx . . $ quint16# vendorIdentifiercxx . . $ QSerialPortInfo#vendorIdentifier(72085aa11f4b6e09).() const; |
| 38 | quint16cxx . . $ quint16# productIdentifiercxx . . $ QSerialPortInfo#productIdentifier(72085aa11f4b6e09).() const; |
| 39 | |
| 40 | bool hasVendorIdentifiercxx . . $ QSerialPortInfo#hasVendorIdentifier(50ce9a9e25b4a850).() const; |
| 41 | bool hasProductIdentifiercxx . . $ QSerialPortInfo#hasProductIdentifier(50ce9a9e25b4a850).() const; |
| 42 | |
| 43 | bool isNullcxx . . $ QSerialPortInfo#isNull(50ce9a9e25b4a850).() const { return !d_ptrcxx . . $ QSerialPortInfo#d_ptr.; } |
| 44 | |
| 45 | static QListcxx . . $ QList#<qint32cxx . . $ qint32#> standardBaudRatescxx . . $ QSerialPortInfo#standardBaudRates(9be6d6d0db5cf9a9).(); |
| 46 | static QListcxx . . $ QList#<QSerialPortInfocxx . . $ QSerialPortInfo#> availablePortscxx . . $ QSerialPortInfo#availablePorts(66a95fa3054dd3d1).(); |
| 47 | |
| 48 | private: |
| 49 | QSerialPortInfocxx . . $ QSerialPortInfo#QSerialPortInfo(2398dce143f52a1).(const QSerialPortInfoPrivatecxx . . $ QSerialPortInfoPrivate# &dd); |
| 50 | friend QListcxx . . $ QList#<QSerialPortInfocxx . . $ QSerialPortInfo#> availablePortsByUdevcxx . . $ availablePortsByUdev(3edab2be33bedf0c).(bool &ok); |
| 51 | friend QListcxx . . $ QList#<QSerialPortInfocxx . . $ QSerialPortInfo#> availablePortsBySysfscxx . . $ availablePortsBySysfs(3edab2be33bedf0c).(bool &ok); |
| 52 | friend QListcxx . . $ QList#<QSerialPortInfocxx . . $ QSerialPortInfo#> availablePortsByFiltersOfDevicescxx . . $ availablePortsByFiltersOfDevices(3edab2be33bedf0c).(bool &ok); |
| 53 | stdcxx . . $ std/::unique_ptrcxx . . $ std/unique_ptr#<QSerialPortInfoPrivatecxx . . $ QSerialPortInfoPrivate#> d_ptrcxx . . $ QSerialPortInfo#d_ptr.; |
| 54 | }; |
| 55 | |
| 56 | QT_END_NAMESPACEcxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:104:10`! |
| 57 | |
| 58 | #endif // QSERIALPORTINFO_H |