grag38 / qextserialport

Automatically exported from code.google.com/p/qextserialport
0 stars 0 forks source link

readyReadq() on POSIX #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've added readyReady() support to the the POSIX implementation. It looks
like someone already took care of the Win32 side. Here is the patch. 

It's pretty simple. I just used a QSocketNotifier on the file descriptor
and a SIGNAL-SIGNAL connenction to proxy QSocketNotifier::activated(int) to
QextSerialPort::readRead()

--Justin Noel (ICS)

Original issue reported on code.google.com by noel.jus...@gmail.com on 3 Jun 2009 at 3:59

Attachments:

GoogleCodeExporter commented 8 years ago
Committed.  I made a slight change to only create the notifier when the port is 
opened in EventDriven mode. 
Thanks!

Original comment by lst...@gmail.com on 3 Jun 2009 at 5:04