summaryrefslogtreecommitdiffstats
path: root/src/serialport/qserialport_unix_p.h
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-02-02 09:15:22 +0000
committerLaszlo Papp <lpapp@kde.org>2013-02-02 15:40:03 +0100
commit2dc37a56ce141df39453728df1e83af79eeeed2b (patch)
treeb205b8e25335f722a1e8082f999641b1be3d0658 /src/serialport/qserialport_unix_p.h
parent20e1a986c183754b71a797663f0479a871881843 (diff)
Rename the PortError to SerialPortError to be more consistent and talkative
It is necessary not to get a potential Error enumeration overridden in QIODevice in order to be specific. It is also how other QIODevice subclasses handle the API more or less. Change-Id: I9f5b5601118be4b7a285b965ea5ea5e995848e8e Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/serialport/qserialport_unix_p.h')
-rw-r--r--src/serialport/qserialport_unix_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialport/qserialport_unix_p.h b/src/serialport/qserialport_unix_p.h
index f6570533..aa090731 100644
--- a/src/serialport/qserialport_unix_p.h
+++ b/src/serialport/qserialport_unix_p.h
@@ -128,7 +128,7 @@ private:
bool updateTermios();
void detectDefaultSettings();
- QSerialPort::PortError decodeSystemError() const;
+ QSerialPort::SerialPortError decodeSystemError() const;
bool isReadNotificationEnabled() const;
void setReadNotificationEnabled(bool enable);