+void sPlayer::updatePlayPosition(qint64 time)
+{
+ //qDebug() << time << ":" << media->totalTime();
+}
+
+void sPlayer::pause()
+{
+ if(media->state() == Phonon::PausedState)
+ media->play();
+ if(media->state() == Phonon::PlayingState)
+ media->pause();
+}
+void sPlayer::playNext()
+{
+ if(pl->existAt(pl->currentplaying()+1))
+ {
+ media->stop();
+ this->markComplete();
+ }
+}