Use int instead of QFlag/Enum values (advised by Simon).

Change-Id: I217205d1256b15432bc3647292bbcbd19077c3e4
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Make the auto tests available by default.

Change-Id: I792848492d33d4f999344cdbd816518573875dbc
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Fix test

Accordingly to change b4cdc6c9e3ecdc4acbe1882ddd4a3888bb8f2d7c

Change-Id: I8c08fcbeb08c6d824b4980000d22de83be90ec70
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>