Use an enum for message types instead of strings.


This further reduces the network traffic and thus leads to a small
performance boost.

Personally, I also think this code is a bit nicer to read and grasp.

Change-Id: I943c621142e9982f0e52d24e3a0976428856541b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
commite3e4d6a18d63537459f0e616360e53e816927f76
parent3a85e592c050e73e61dc54d22e133bcf08d2f3c5
authorMilian Wolff <milian.wolff@kdab.com>
committerThe Qt Project <gerrit-noreply@qt-project.org>
commit timeFri, 21 Mar 2014 15:03:34 +0100