3 Player::Player() : QObject()
5 object = new Phonon::MediaObject(this);
6 output = new Phonon::AudioOutput(Phonon::MusicCategory, this);
7 Phonon::createPath(object, output);
14 void Player::playSong(QString filename)
16 object->setCurrentSource(Phonon::MediaSource(filename));