summaryrefslogtreecommitdiffstats
path: root/kig/modes/dragrectmode.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kig/modes/dragrectmode.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/modes/dragrectmode.h')
-rw-r--r--kig/modes/dragrectmode.h40
1 files changed, 20 insertions, 20 deletions
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 <qpoint.h>
+#include <tqpoint.h>
#include <vector>
class ObjectHolder;
@@ -40,37 +40,37 @@ class ObjectHolder;
class DragRectMode
: public KigMode
{
- QPoint mstart;
+ TQPoint mstart;
std::vector<ObjectHolder*> 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();