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.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/editors/matrix/MatrixCanvasView.h b/src/gui/editors/matrix/MatrixCanvasView.h
index 694856e..5391f9f 100644
--- a/src/gui/editors/matrix/MatrixCanvasView.h
+++ b/src/gui/editors/matrix/MatrixCanvasView.h
@@ -48,25 +48,26 @@ class MatrixElement;
class MatrixCanvasView : public RosegardenCanvasView
{
Q_OBJECT
+ TQ_OBJECT
public:
MatrixCanvasView(MatrixStaff&,
SnapGrid *,
bool drumMode,
TQCanvas *viewing,
- TQWidget *parent=0, const char *name=0, WFlags f=0);
+ TQWidget *tqparent=0, const char *name=0, WFlags f=0);
~MatrixCanvasView();
- void setSmoothModifier(Qt::ButtonState s) { m_smoothModifier = s; }
- Qt::ButtonState getSmoothModifier() { return m_smoothModifier; }
+ void setSmoothModifier(TQt::ButtonState s) { m_smoothModifier = s; }
+ TQt::ButtonState getSmoothModifier() { return m_smoothModifier; }
signals:
/**
* Emitted when the user clicks on a TQCanvasItem which is active
*
- * @see QCanvasItem#setActive
+ * @see TQCanvasItem#setActive
*/
void activeItemPressed(TQMouseEvent*,
TQCanvasItem* item);
@@ -150,7 +151,7 @@ protected:
bool m_mouseWasPressed;
bool m_ignoreClick;
- Qt::ButtonState m_smoothModifier;
+ TQt::ButtonState m_smoothModifier;
timeT m_lastSnap;
bool m_isSnapTemporary;
};