Fix the broken handle() documentation
authorLaszlo Papp <lpapp@kde.org>
Thu, 16 Jan 2014 18:11:00 +0000 (18:11 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 17 Jan 2014 10:35:32 +0000 (11:35 +0100)
commit14b543782535e34bb28cc82c46e1e1ddda6a3898
tree5294aadf071babc04b5dfb5586dd668369c5e3a3
parent90dbacd9dae2b82fad9c68ca95c06a6d6b1ae030
Fix the broken handle() documentation

This is likely to be happening due to the mismatching function signature include
the return type between the header and source file. Two things are being fixed:

1) Dropped scope for the Handle just like with the winId case in QWidget.

2) "const" qualifier is now added for the method.

Here you can see the documentation that it is empty:
http://qt-project.org/doc/qt-5/qserialport.html#handle

Change-Id: I5e9e0732cfd746a863de523fe90e58eafa42c081
Reviewed-by: Alex Henrie <alexhenrie24@gmail.com>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
src/serialport/qserialport.cpp