Fix proper handling of QSocketNotifier::event() method


According to documentation on QObject::event(), we need to return true
in case the event was recognized and processed.

In addition, were made small modifications related to the Qt coding
style.

Tested on Linux with the virtual tty0tty serial ports.

Change-Id: Ic9a0e7e5f4957b1c1aa0a4a593ff4621792ba637
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
commit506370bfa0fc24a1fa1747fb28507d17b34dfcb4
parent4328ab9709561842c680bc8bb7e4f2abc3ea3852
authorDenis Shienkov <denis.shienkov@gmail.com>
committerDenis Shienkov <denis.shienkov@gmail.com>
commit timeWed, 5 Aug 2015 05:35:20 +0000