summaryrefslogtreecommitdiffstats
path: root/krita/core/kis_strategy_move.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /krita/core/kis_strategy_move.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krita/core/kis_strategy_move.h')
-rw-r--r--krita/core/kis_strategy_move.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/krita/core/kis_strategy_move.h b/krita/core/kis_strategy_move.h
index e3787866..c3535be9 100644
--- a/krita/core/kis_strategy_move.h
+++ b/krita/core/kis_strategy_move.h
@@ -19,8 +19,8 @@
#ifndef KIS_STRATEGY_MOVE_H_
#define KIS_STRATEGY_MOVE_H_
-#include <qpoint.h>
-#include <qrect.h>
+#include <tqpoint.h>
+#include <tqrect.h>
#include <koffice_export.h>
@@ -35,11 +35,11 @@ public:
public:
void reset(KisCanvasSubject *subject);
- void startDrag(const QPoint& pos);
- void drag(const QPoint& pos);
- void endDrag(const QPoint& pos, bool undo = true);
- void simpleMove(const QPoint& pt1, const QPoint& pt2);
- void simpleMove(Q_INT32 x1, Q_INT32 y1, Q_INT32 x2, Q_INT32 y2);
+ void startDrag(const TQPoint& pos);
+ void drag(const TQPoint& pos);
+ void endDrag(const TQPoint& pos, bool undo = true);
+ void simpleMove(const TQPoint& pt1, const TQPoint& pt2);
+ void simpleMove(TQ_INT32 x1, TQ_INT32 y1, TQ_INT32 x2, TQ_INT32 y2);
private:
KisStrategyMove(const KisStrategyMove&);
@@ -48,10 +48,10 @@ private:
private:
KisCanvasController *m_controller;
KisCanvasSubject *m_subject;
- QRect m_deviceBounds;
- QPoint m_dragStart;
- QPoint m_layerStart;
- QPoint m_layerPosition;
+ TQRect m_deviceBounds;
+ TQPoint m_dragStart;
+ TQPoint m_layerStart;
+ TQPoint m_layerPosition;
bool m_dragging;
};