From 4f84ffc811d93371f395f11a0e0f42000eaa99fc Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 7 Mar 2006 19:12:18 +0000 Subject: *** empty log message *** --- client/videowidget.h | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'client/videowidget.h') diff --git a/client/videowidget.h b/client/videowidget.h index 3ccbd97..25f5bed 100644 --- a/client/videowidget.h +++ b/client/videowidget.h @@ -25,29 +25,20 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ #include "config.h" -#ifdef USE_GUI - #ifndef __VIDEOWIDGET_H__ #define __VIDEOWIDGET_H__ -#include +#include #include -class VideoWidget : public QWidget { +class VideoWidget : public QFrame +{ Q_OBJECT public: - VideoWidget(QWidget *parent, QWidget *old = NULL); + VideoWidget(); ~VideoWidget(); - QPixmap getScreenshot(); - void mouseReleaseEvent(QMouseEvent *event); - -private: - QWidget *parent; - // Reassign SDL to this when closing (if non-NULL) - QWidget *oldWindow; + void mouseReleaseEvent(QMouseEvent *event); }; #endif /* __VIDEOWIDGET_H__ */ - -#endif /* USE_GUI */ -- cgit v1.2.3