diff options
author | Laszlo Papp <lpapp@kde.org> | 2012-03-29 17:07:34 +0300 |
---|---|---|
committer | Denis Shienkov <scapig@yandex.ru> | 2012-03-30 16:10:26 +0200 |
commit | 8038195bbf30f7a3f5c6f639f183e5a3aadd5372 (patch) | |
tree | b5a49633de609125d489ac6949be26634dc44472 /src | |
parent | 87d58ae911d8e24e8b8f5c97c76b05071a725e7b (diff) | |
download | qtserialport-8038195bbf30f7a3f5c6f639f183e5a3aadd5372.tar.gz |
Fix some typos in the public documentation of the serialport and serialportinfo
Change-Id: I89adba32116893e9ff217b5eb74d851ddf609d84
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <scapig@yandex.ru>
Diffstat (limited to 'src')
-rwxr-xr-x | src/serialport.cpp | 20 | ||||
-rw-r--r-- | src/serialportinfo.cpp | 2 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/serialport.cpp b/src/serialport.cpp index ea0f78a..a15fbc4 100755 --- a/src/serialport.cpp +++ b/src/serialport.cpp @@ -86,7 +86,7 @@ QString SerialPortPrivate::port() const /*! \internal Opens the serial port with a given internal system location - vaeiable for the given open \a mode. This operation is + variable for the given open \a mode. This operation is platform-dependent, and it provides native engine. */ bool SerialPortPrivate::open(QIODevice::OpenMode mode) @@ -227,7 +227,7 @@ bool SerialPortPrivate::setFlowControl(SerialPort::FlowControl flow) /*! \internal - Returns the current flow comtrol mode from the + Returns the current flow control mode from the corresponding internal variable. */ SerialPort::FlowControl SerialPortPrivate::flowControl() const @@ -526,7 +526,7 @@ bool SerialPortPrivate::readFromPort() /*! \internal This method is called from native engine when new data is - available for reading, ie is the handler read notification. + available for reading, i.e. is the handler read notification. Handles recursive calls. */ bool SerialPortPrivate::canReadNotification() @@ -605,7 +605,7 @@ bool SerialPortPrivate::canReadNotification() /*! \internal This method is called from native engine when the serial - port ready for writing, ie is the handler write notification. + port ready for writing, i.e. is the handler write notification. Handles recursive calls. */ bool SerialPortPrivate::canWriteNotification() @@ -636,7 +636,7 @@ bool SerialPortPrivate::canWriteNotification() This method is called from native engine when the serial port hardware detect an I/O error. For example, the error - parity, frame, etc., ie is the handler error notification. + parity, frame, etc., i.e. is the handler error notification. Handles recursive calls. */ bool SerialPortPrivate::canErrorNotification() @@ -700,7 +700,7 @@ bool SerialPortPrivate::canErrorNotification() Now you can open the serial port using the method open() and can be open in r/o, w/o or r/w mode. - Note: The serial port always opens with exclusive access (ie + Note: The serial port always opens with exclusive access (i.e. another process or thread can't get access to an already open serial port). @@ -736,7 +736,7 @@ bool SerialPortPrivate::canErrorNotification() To obtain status of line ports, as well as control him are used methods dtr(), rts(), lines(), setDtr(), setRts(). - To close the serial port call close() methhod. After all pending + To close the serial port call close() method. After all pending data has been written to the serial port, SerialPort actually closes the descriptor. @@ -995,8 +995,8 @@ SerialPort::~SerialPort() } /*! - Sets the \a name of the port. The name may be a any format: - or short, or also as system location (with all the prefixes and + Sets the \a name of the port. The name may be in any format: + either short, or also as system location (with all the prefixes and postfixed). As a result, this name will automatically be written and converted into an internal variable as system location. @@ -1021,7 +1021,7 @@ void SerialPort::setPort(const SerialPortInfo &info) /*! Returns the name set by setPort() or to the SerialPort constructors. - This name is short, ie it extract and convert out from the internal + This name is short, i.e. it extract and convert out from the internal variable system location of the device. Conversion algorithm is platform specific: \table diff --git a/src/serialportinfo.cpp b/src/serialportinfo.cpp index 5b0ce97..18195ac 100644 --- a/src/serialportinfo.cpp +++ b/src/serialportinfo.cpp @@ -153,7 +153,7 @@ QString SerialPortInfo::vid() const } /*! - Returns the vendor identifier string of the serial + Returns the product identifier string of the serial port in hexadecimal format, if available; otherwise return empty string. */ |