diff options
Diffstat (limited to 'krita/core/kis_strategy_move.h')
-rw-r--r-- | krita/core/kis_strategy_move.h | 22 |
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; }; |