summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/matrix/MatrixSelector.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/editors/matrix/MatrixSelector.h
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/matrix/MatrixSelector.h')
-rw-r--r--src/gui/editors/matrix/MatrixSelector.h24
1 files changed, 12 insertions, 12 deletions
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 <qstring.h>
+#include <tqstring.h>
#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;