diff options
author | deva <deva> | 2006-03-07 19:12:18 +0000 |
---|---|---|
committer | deva <deva> | 2006-03-07 19:12:18 +0000 |
commit | 4f84ffc811d93371f395f11a0e0f42000eaa99fc (patch) | |
tree | b562b6c55f2a825dbbc12646df9741b51e1dff79 /client/videowidget.h | |
parent | 1390ddfe6afe41dba141f8170f9b277573ebe8cd (diff) |
*** empty log message ***
Diffstat (limited to 'client/videowidget.h')
-rw-r--r-- | client/videowidget.h | 19 |
1 files changed, 5 insertions, 14 deletions
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 <QWidget> +#include <QFrame> #include <QPixmap> -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 */ |