Fix an erratic name of enum "Rate" on "BaudRate" in Q_ENUMS macro

Change-Id: I74ceefbb108c142fe260a5c86a9f610b0de91cde
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Enums intended as flags is moved to Q_FLAGS() macro

Task-number: QTBUG-31964
Change-Id: I771ace406cc549e9c48d84fe90974487202ee14b
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>