Revert "Fixed usage of cbegin() and cend() breaking building with Qt 4."

This reverts commit a9e930aabd1979e158f40e4c0380c3e0098c3c90.