summaryrefslogtreecommitdiff
path: root/src/serialport/qserialport_unix_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialport/qserialport_unix_p.h')
-rw-r--r--src/serialport/qserialport_unix_p.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/serialport/qserialport_unix_p.h b/src/serialport/qserialport_unix_p.h
index 0691cf1..5804a2b 100644
--- a/src/serialport/qserialport_unix_p.h
+++ b/src/serialport/qserialport_unix_p.h
@@ -156,11 +156,13 @@ public:
private:
bool updateTermios();
- bool setCustomBaudRate(qint32 baudRate,
+
+ QSerialPort::SerialPortError setBaudRate_helper(qint32 baudRate,
QSerialPort::Directions directions);
- bool setStandardBaudRate(qint32 baudRate,
+ QSerialPort::SerialPortError setCustomBaudRate(qint32 baudRate,
+ QSerialPort::Directions directions);
+ QSerialPort::SerialPortError setStandardBaudRate(qint32 baudRate,
QSerialPort::Directions directions);
-
QSerialPort::SerialPortError decodeSystemError() const;
bool isReadNotificationEnabled() const;