summaryrefslogtreecommitdiffstats
path: root/src/viewarea.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewarea.h')
-rw-r--r--src/viewarea.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/src/viewarea.h b/src/viewarea.h
index 6277b6e..4f859ce 100644
--- a/src/viewarea.h
+++ b/src/viewarea.h
@@ -20,7 +20,7 @@
#ifndef KMPLAYER_VIEW_AREA_H
#define KMPLAYER_VIEW_AREA_H
-#include <qwidget.h>
+#include <tqwidget.h>
class KActionCollection;
@@ -32,51 +32,52 @@ class ViewAreaPrivate;
/*
* The area in which the video widget and controlpanel are laid out
*/
-class KMPLAYER_EXPORT ViewArea : public QWidget {
+class KMPLAYER_EXPORT ViewArea : public TQWidget {
Q_OBJECT
+ TQ_OBJECT
public:
- ViewArea (QWidget * parent, View * view);
+ ViewArea (TQWidget * tqparent, View * view);
~ViewArea ();
KDE_NO_EXPORT bool isFullScreen () const { return m_fullscreen; }
KDE_NO_EXPORT bool isMinimalMode () const { return m_minimal; }
KDE_NO_EXPORT KActionCollection * actionCollection () const { return m_collection; }
- KDE_NO_EXPORT QRect topWindowRect () const { return m_topwindow_rect; }
+ KDE_NO_EXPORT TQRect topWindowRect () const { return m_topwindow_rect; }
SurfacePtr getSurface (NodePtr node);
void setAudioVideoGeometry (const IRect &rect, unsigned int * bg);
void setAudioVideoNode (NodePtr n);
void mouseMoved ();
void scheduleRepaint (const IRect &rect);
- void resizeEvent (QResizeEvent *);
+ void resizeEvent (TQResizeEvent *);
void minimalMode ();
public slots:
void fullScreen ();
void accelActivated ();
void scale (int);
protected:
- void showEvent (QShowEvent *);
- void mouseMoveEvent (QMouseEvent *);
- void mousePressEvent (QMouseEvent *);
- void mouseDoubleClickEvent (QMouseEvent *);
- void dragEnterEvent (QDragEnterEvent *);
- void dropEvent (QDropEvent *);
- void contextMenuEvent (QContextMenuEvent * e);
- void paintEvent (QPaintEvent *);
- void timerEvent (QTimerEvent * e);
- void closeEvent (QCloseEvent * e);
+ void showEvent (TQShowEvent *);
+ void mouseMoveEvent (TQMouseEvent *);
+ void mousePressEvent (TQMouseEvent *);
+ void mouseDoubleClickEvent (TQMouseEvent *);
+ void dragEnterEvent (TQDragEnterEvent *);
+ void dropEvent (TQDropEvent *);
+ void contextMenuEvent (TQContextMenuEvent * e);
+ void paintEvent (TQPaintEvent *);
+ void timerEvent (TQTimerEvent * e);
+ void closeEvent (TQCloseEvent * e);
private:
void syncVisual (const IRect & rect);
void updateSurfaceBounds ();
ViewAreaPrivate * d;
- QWidget * m_parent;
+ TQWidget * m_parent;
View * m_view;
KActionCollection * m_collection;
SurfacePtr surface;
NodePtrW video_node;
- QRect m_av_geometry;
- IRect m_repaint_rect;
- QRect m_topwindow_rect;
+ TQRect m_av_tqgeometry;
+ IRect m_tqrepaint_rect;
+ TQRect m_topwindow_rect;
int m_mouse_invisible_timer;
- int m_repaint_timer;
+ int m_tqrepaint_timer;
int m_fullscreen_scale;
int scale_lbl_id;
int scale_slider_id;