summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/matrix/MatrixCanvasView.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/matrix/MatrixCanvasView.h')
-rw-r--r--src/gui/editors/matrix/MatrixCanvasView.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/gui/editors/matrix/MatrixCanvasView.h b/src/gui/editors/matrix/MatrixCanvasView.h
index 2ec4c7e..694856e 100644
--- a/src/gui/editors/matrix/MatrixCanvasView.h
+++ b/src/gui/editors/matrix/MatrixCanvasView.h
@@ -30,11 +30,11 @@
#include "base/Event.h"
-class QWidget;
-class QWheelEvent;
-class QMouseEvent;
-class QCanvasItem;
-class QCanvas;
+class TQWidget;
+class TQWheelEvent;
+class TQMouseEvent;
+class TQCanvasItem;
+class TQCanvas;
namespace Rosegarden
@@ -53,8 +53,8 @@ public:
MatrixCanvasView(MatrixStaff&,
SnapGrid *,
bool drumMode,
- QCanvas *viewing,
- QWidget *parent=0, const char *name=0, WFlags f=0);
+ TQCanvas *viewing,
+ TQWidget *parent=0, const char *name=0, WFlags f=0);
~MatrixCanvasView();
@@ -64,12 +64,12 @@ public:
signals:
/**
- * Emitted when the user clicks on a QCanvasItem which is active
+ * Emitted when the user clicks on a TQCanvasItem which is active
*
* @see QCanvasItem#setActive
*/
- void activeItemPressed(QMouseEvent*,
- QCanvasItem* item);
+ void activeItemPressed(TQMouseEvent*,
+ TQCanvasItem* item);
/**
* Emitted when the mouse cursor moves to a different height
@@ -88,33 +88,33 @@ signals:
void hoveredOverAbsoluteTimeChanged(unsigned int time);
void mousePressed(timeT time, int pitch,
- QMouseEvent*, MatrixElement*);
+ TQMouseEvent*, MatrixElement*);
- void mouseMoved(timeT time, int pitch, QMouseEvent*);
+ void mouseMoved(timeT time, int pitch, TQMouseEvent*);
- void mouseReleased(timeT time, int pitch, QMouseEvent*);
+ void mouseReleased(timeT time, int pitch, TQMouseEvent*);
void mouseEntered();
void mouseLeft();
public slots:
- void slotExternalWheelEvent(QWheelEvent*);
+ void slotExternalWheelEvent(TQWheelEvent*);
protected:
/**
* Callback for a mouse button press event in the canvas
*/
- virtual void contentsMousePressEvent(QMouseEvent*);
+ virtual void contentsMousePressEvent(TQMouseEvent*);
/**
* Callback for a mouse move event in the canvas
*/
- virtual void contentsMouseMoveEvent(QMouseEvent*);
+ virtual void contentsMouseMoveEvent(TQMouseEvent*);
/**
* Callback for a mouse button release event in the canvas
*/
- virtual void contentsMouseReleaseEvent(QMouseEvent*);
+ virtual void contentsMouseReleaseEvent(TQMouseEvent*);
/**
* Callback for a mouse double-click event in the canvas
@@ -122,10 +122,10 @@ protected:
* NOTE: a double click event is always preceded by a mouse press
* event
*/
- virtual void contentsMouseDoubleClickEvent(QMouseEvent*);
+ virtual void contentsMouseDoubleClickEvent(TQMouseEvent*);
- virtual void enterEvent(QEvent *);
- virtual void leaveEvent(QEvent *);
+ virtual void enterEvent(TQEvent *);
+ virtual void leaveEvent(TQEvent *);
/**
* Update the value of snap grid according to the button's state
@@ -136,7 +136,7 @@ protected:
* @see #setSmoothModifier
* @see #getSmoothModifier
*/
- void updateGridSnap(QMouseEvent *e);
+ void updateGridSnap(TQMouseEvent *e);
//--------------- Data members ---------------------------------