Use override instead of Q_DECL_OVERRIDE now that travis-ci uses g++ 4.8