summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/segmentcanvas/SegmentTool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/SegmentTool.h')
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentTool.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentTool.h b/src/gui/editors/segment/segmentcanvas/SegmentTool.h
index 90ed961..5b054a8 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentTool.h
+++ b/src/gui/editors/segment/segmentcanvas/SegmentTool.h
@@ -28,12 +28,12 @@
#include "gui/general/BaseTool.h"
#include "CompositionItem.h"
-#include <qpoint.h>
+#include <tqpoint.h>
#include <utility>
#include <vector>
-class QMouseEvent;
+class TQMouseEvent;
class KCommand;
@@ -53,7 +53,7 @@ class SegmentSelector;
// Allow the tools to share the Selector tool's selection
// through these.
//
-typedef std::pair<QPoint, CompositionItem> SegmentItemPair;
+typedef std::pair<TQPoint, CompositionItem> SegmentItemPair;
typedef std::vector<SegmentItemPair> SegmentItemList;
class SegmentTool : public BaseTool
@@ -70,10 +70,10 @@ public:
*/
virtual void ready();
- virtual void handleRightButtonPress(QMouseEvent*);
- virtual void handleMouseButtonPress(QMouseEvent*) = 0;
- virtual void handleMouseButtonRelease(QMouseEvent*) = 0;
- virtual int handleMouseMove(QMouseEvent*) = 0;
+ virtual void handleRightButtonPress(TQMouseEvent*);
+ virtual void handleMouseButtonPress(TQMouseEvent*) = 0;
+ virtual void handleMouseButtonRelease(TQMouseEvent*) = 0;
+ virtual int handleMouseMove(TQMouseEvent*) = 0;
void addCommandToHistory(KCommand *command);
@@ -95,7 +95,7 @@ protected:
CompositionView* m_canvas;
CompositionItem m_currentItem;
RosegardenGUIDoc* m_doc;
- QPoint m_origPos;
+ TQPoint m_origPos;
bool m_changeMade;
};