From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/editors/matrix/MatrixSelector.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/gui/editors/matrix/MatrixSelector.h') diff --git a/src/gui/editors/matrix/MatrixSelector.h b/src/gui/editors/matrix/MatrixSelector.h index a1d1ca4..caa9e4f 100644 --- a/src/gui/editors/matrix/MatrixSelector.h +++ b/src/gui/editors/matrix/MatrixSelector.h @@ -27,12 +27,12 @@ #define _RG_MATRIXSELECTOR_H_ #include "MatrixTool.h" -#include +#include #include "base/Event.h" -class QMouseEvent; -class QCanvasRectangle; +class TQMouseEvent; +class TQCanvasRectangle; namespace Rosegarden @@ -58,22 +58,22 @@ public: virtual void handleLeftButtonPress(timeT time, int height, int staffNo, - QMouseEvent *event, + TQMouseEvent *event, ViewElement *element); virtual void handleMidButtonPress(timeT time, int height, int staffNo, - QMouseEvent *event, + TQMouseEvent *event, ViewElement *element); virtual int handleMouseMove(timeT time, int height, - QMouseEvent *event); + TQMouseEvent *event); virtual void handleMouseRelease(timeT, int height, - QMouseEvent *event); + TQMouseEvent *event); /** * Double-click: edit an event or make a whole-bar selection @@ -81,7 +81,7 @@ public: virtual void handleMouseDoubleClick(timeT time, int height, int staffNo, - QMouseEvent* event, + TQMouseEvent* event, ViewElement *element); /** @@ -90,7 +90,7 @@ public: virtual void handleMouseTripleClick(timeT time, int height, int staffNo, - QMouseEvent* event, + TQMouseEvent* event, ViewElement *element); @@ -122,7 +122,7 @@ public: */ virtual void handleEventRemoved(Event *event); - static const QString ToolName; + static const TQString ToolName; public slots: /** @@ -146,13 +146,13 @@ signals: protected: MatrixSelector(MatrixView*); - void setContextHelpFor(QPoint p, bool ctrlPressed = false); + void setContextHelpFor(TQPoint p, bool ctrlPressed = false); void setViewCurrentSelection(); //--------------- Data members --------------------------------- - QCanvasRectangle* m_selectionRect; + TQCanvasRectangle* m_selectionRect; bool m_updateRect; int m_clickedStaff; -- cgit v1.2.1