summaryrefslogtreecommitdiffstats
path: root/khtml/khtml_events.h
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/khtml_events.h')
-rw-r--r--khtml/khtml_events.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/khtml/khtml_events.h b/khtml/khtml_events.h
index 446e5c6dd..223f2b47d 100644
--- a/khtml/khtml_events.h
+++ b/khtml/khtml_events.h
@@ -30,12 +30,12 @@ namespace khtml
class MouseEvent : public KParts::Event
{
public:
- MouseEvent( const char *name, QMouseEvent *qmouseEvent, int x, int y,
+ MouseEvent( const char *name, TQMouseEvent *qmouseEvent, int x, int y,
const DOM::DOMString &url, const DOM::DOMString& target,
const DOM::Node &innerNode);
virtual ~MouseEvent();
- QMouseEvent *qmouseEvent() const { return m_qmouseEvent; }
+ TQMouseEvent *qmouseEvent() const { return m_qmouseEvent; }
int x() const { return m_x; }
int y() const { return m_y; }
int absX() const { return m_nodeAbsX; }
@@ -49,7 +49,7 @@ public:
long offset() const;
private:
- QMouseEvent *m_qmouseEvent;
+ TQMouseEvent *m_qmouseEvent;
int m_x;
int m_y;
int m_nodeAbsX, m_nodeAbsY;
@@ -63,13 +63,13 @@ private:
class MousePressEvent : public MouseEvent
{
public:
- MousePressEvent( QMouseEvent *mouseEvent, int x, int y,
+ MousePressEvent( TQMouseEvent *mouseEvent, int x, int y,
const DOM::DOMString &url, const DOM::DOMString& target,
const DOM::Node &innerNode)
: MouseEvent( s_strMousePressEvent, mouseEvent, x, y, url, target, innerNode )
{}
- static bool test( const QEvent *event ) { return KParts::Event::test( event, s_strMousePressEvent ); }
+ static bool test( const TQEvent *event ) { return KParts::Event::test( event, s_strMousePressEvent ); }
private:
@@ -80,14 +80,14 @@ class MouseDoubleClickEvent : public MouseEvent
{
public:
// clickCount is 3 for a triple-click event
- MouseDoubleClickEvent( QMouseEvent *mouseEvent, int x, int y,
+ MouseDoubleClickEvent( TQMouseEvent *mouseEvent, int x, int y,
const DOM::DOMString &url, const DOM::DOMString& target,
const DOM::Node &innerNode, int clickCount = 2 )
: MouseEvent( s_strMouseDoubleClickEvent, mouseEvent, x, y, url, target, innerNode ),
m_clickCount( clickCount )
{}
- static bool test( const QEvent *event )
+ static bool test( const TQEvent *event )
{ return KParts::Event::test( event, s_strMouseDoubleClickEvent ); }
int clickCount() const { return m_clickCount; }
@@ -100,13 +100,13 @@ private:
class MouseMoveEvent : public MouseEvent
{
public:
- MouseMoveEvent( QMouseEvent *mouseEvent, int x, int y,
+ MouseMoveEvent( TQMouseEvent *mouseEvent, int x, int y,
const DOM::DOMString &url, const DOM::DOMString& target,
const DOM::Node &innerNode)
: MouseEvent( s_strMouseMoveEvent, mouseEvent, x, y, url, target, innerNode )
{}
- static bool test( const QEvent *event ) { return KParts::Event::test( event, s_strMouseMoveEvent ); }
+ static bool test( const TQEvent *event ) { return KParts::Event::test( event, s_strMouseMoveEvent ); }
private:
static const char *s_strMouseMoveEvent;
@@ -115,13 +115,13 @@ private:
class MouseReleaseEvent : public MouseEvent
{
public:
- MouseReleaseEvent( QMouseEvent *mouseEvent, int x, int y,
+ MouseReleaseEvent( TQMouseEvent *mouseEvent, int x, int y,
const DOM::DOMString &url, const DOM::DOMString& target,
const DOM::Node &innerNode, long = 0 )
: MouseEvent( s_strMouseReleaseEvent, mouseEvent, x, y, url, target, innerNode )
{}
- static bool test( const QEvent *event ) { return KParts::Event::test( event, s_strMouseReleaseEvent ); }
+ static bool test( const TQEvent *event ) { return KParts::Event::test( event, s_strMouseReleaseEvent ); }
private:
static const char *s_strMouseReleaseEvent;
@@ -130,19 +130,19 @@ private:
class DrawContentsEvent : public KParts::Event
{
public:
- DrawContentsEvent( QPainter *painter, int clipx, int clipy, int clipw, int cliph );
+ DrawContentsEvent( TQPainter *painter, int clipx, int clipy, int clipw, int cliph );
virtual ~DrawContentsEvent();
- QPainter *painter() const { return m_painter; }
+ TQPainter *painter() const { return m_painter; }
int clipx() const { return m_clipx; }
int clipy() const { return m_clipy; }
int clipw() const { return m_clipw; }
int cliph() const { return m_cliph; }
- static bool test( const QEvent *event ) { return KParts::Event::test( event, s_strDrawContentsEvent ); }
+ static bool test( const TQEvent *event ) { return KParts::Event::test( event, s_strDrawContentsEvent ); }
private:
- QPainter *m_painter;
+ TQPainter *m_painter;
int m_clipx;
int m_clipy;
int m_clipw;