summaryrefslogtreecommitdiffstats
path: root/khtml/khtml_events.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/khtml_events.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;