Start using the Qt namespace defines and clean up the mess in the global header


This change brings one step closer to the removal of the serialport namespace
define, but it has to wait for an agreement first.

This change fixes a couple of warnings when trying to build with Qt5.

Change-Id: I013efb24019817e1a6f650a5c32bc32464ca3bf0
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
commitc97d325ab51c132e784b440d6f81841a1060607c
parentc8ec94a154242ef1102bca23953087608bee734c
authorLaszlo Papp <lpapp@kde.org>
committerLaszlo Papp <lpapp@kde.org>
commit timeWed, 6 Feb 2013 10:52:26 +0100