#include <Phonon/SeekSlider>
#include <Phonon/VideoPlayer>
-#include <QtGui/QVBoxLayout>
-#include <QtGui/QHBoxLayout>
-#include <QtGui/QShowEvent>
-#include <QtGui/QToolButton>
+#include <QVBoxLayout>
+#include <QHBoxLayout>
+#include <QShowEvent>
+#include <QToolButton>
-#include <kdialog.h>
-#include <kicon.h>
-#include <kurl.h>
-#include <klocale.h>
+#include <KDialog>
+#include <KIcon>
+#include <KUrl>
+#include <KLocale>
class EmbeddedVideoPlayer : public Phonon::VideoPlayer
{
// Creating an audio player or video player instance might take up to
// 2 seconds when doing it the first time. To prevent that the user
- // interface gets noticable blocked, the creation is delayed until
+ // interface gets noticeable blocked, the creation is delayed until
// the play button has been pressed (see PhononWidget::play()).
}
}
}
m_media = m_audioMedia;
m_media->setCurrentSource(m_url);
+ m_media->play();
break;
case Video: