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>
| commit | e3e4d6a18d63537459f0e616360e53e816927f76 |
| parent | 3a85e592c050e73e61dc54d22e133bcf08d2f3c5 |
| author | Milian Wolff <milian.wolff@kdab.com> |
| committer | The Qt Project <gerrit-noreply@qt-project.org> |
| commit time | Fri, 21 Mar 2014 15:03:34 +0100 |