Remove Q_FOREACH from inlined header functions
Summary:
Allows applications that want to compile with -DQT_NO_FOREACH to
build against Phonon.
Reviewers: sitter, O4 phonon
Reviewed By: sitter, O4 phonon
Differential Revision: https://phabricator.kde.org/D20114