From 24a00c944aace8d7627c1eb0d7cc0ebf40731c57 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 02 Dec 2002 23:22:22 +0000 Subject: - AudioWidget and VideoWidget are no more singletons via audioUI and videoUI. this allows switching skins at run-time (the appropriate connections are already made and it works quite nicely :) --- (limited to 'noncore/multimedia/opieplayer2/xinecontrol.h') diff --git a/noncore/multimedia/opieplayer2/xinecontrol.h b/noncore/multimedia/opieplayer2/xinecontrol.h index 00486f2..24e966b 100644 --- a/noncore/multimedia/opieplayer2/xinecontrol.h +++ b/noncore/multimedia/opieplayer2/xinecontrol.h @@ -39,10 +39,12 @@ #include "mediaplayerstate.h" +class VideoWidget; + class XineControl : public QObject { Q_OBJECT public: - XineControl( MediaPlayerState &_mediaPlayerState, QObject *parent = 0, const char *name =0 ); + XineControl( VideoWidget *videoWidget, MediaPlayerState &_mediaPlayerState, QObject *parent = 0, const char *name =0 ); ~XineControl(); bool hasVideo() const { return hasVideoChannel; } @@ -113,6 +115,8 @@ private: signals: void positionChanged( long ); +private: + VideoWidget *videoUI; }; -- cgit v0.9.0.2