From 0a6e0958c03e41c87b15557b6f407874f20c2f8d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:39:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kig/modes/dragrectmode.h | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'kig/modes/dragrectmode.h') diff --git a/kig/modes/dragrectmode.h b/kig/modes/dragrectmode.h index 29f92139..d0348f31 100644 --- a/kig/modes/dragrectmode.h +++ b/kig/modes/dragrectmode.h @@ -23,7 +23,7 @@ #include "../misc/rect.h" -#include +#include #include class ObjectHolder; @@ -40,37 +40,37 @@ class ObjectHolder; class DragRectMode : public KigMode { - QPoint mstart; + TQPoint mstart; std::vector mret; Rect mrect; bool mnc; bool mstartselected; bool mcancelled; private: - void clicked( const QPoint& p, KigWidget& w ); - void clicked( const QMouseEvent* e, KigWidget& w ); - void released( const QPoint& p, KigWidget& w, bool nc ); - void released( QMouseEvent* e, KigWidget& w ); - void moved( const QPoint& p, KigWidget& w ); - void moved( QMouseEvent*, KigWidget& w ); - - void leftClicked( QMouseEvent*, KigWidget* ); - void leftMouseMoved( QMouseEvent*, KigWidget* ); - void leftReleased( QMouseEvent*, KigWidget* ); - void midClicked( QMouseEvent*, KigWidget* ); - void midMouseMoved( QMouseEvent*, KigWidget* ); - void midReleased( QMouseEvent*, KigWidget* ); - void rightClicked( QMouseEvent*, KigWidget* ); - void rightMouseMoved( QMouseEvent*, KigWidget* ); - void rightReleased( QMouseEvent*, KigWidget* ); - void mouseMoved( QMouseEvent*, KigWidget* ); + void clicked( const TQPoint& p, KigWidget& w ); + void clicked( const TQMouseEvent* e, KigWidget& w ); + void released( const TQPoint& p, KigWidget& w, bool nc ); + void released( TQMouseEvent* e, KigWidget& w ); + void moved( const TQPoint& p, KigWidget& w ); + void moved( TQMouseEvent*, KigWidget& w ); + + void leftClicked( TQMouseEvent*, KigWidget* ); + void leftMouseMoved( TQMouseEvent*, KigWidget* ); + void leftReleased( TQMouseEvent*, KigWidget* ); + void midClicked( TQMouseEvent*, KigWidget* ); + void midMouseMoved( TQMouseEvent*, KigWidget* ); + void midReleased( TQMouseEvent*, KigWidget* ); + void rightClicked( TQMouseEvent*, KigWidget* ); + void rightMouseMoved( TQMouseEvent*, KigWidget* ); + void rightReleased( TQMouseEvent*, KigWidget* ); + void mouseMoved( TQMouseEvent*, KigWidget* ); void cancelConstruction(); void enableActions(); public: - DragRectMode( const QPoint& start, KigPart& d, KigWidget& w ); + DragRectMode( const TQPoint& start, KigPart& d, KigWidget& w ); DragRectMode( KigPart& d, KigWidget& w ); ~DragRectMode(); -- cgit v1.2.1