summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/matrix/MatrixEraser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/matrix/MatrixEraser.cpp')
-rw-r--r--src/gui/editors/matrix/MatrixEraser.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/editors/matrix/MatrixEraser.cpp b/src/gui/editors/matrix/MatrixEraser.cpp
index 6c2373e..226c4a8 100644
--- a/src/gui/editors/matrix/MatrixEraser.cpp
+++ b/src/gui/editors/matrix/MatrixEraser.cpp
@@ -36,8 +36,8 @@
#include "MatrixView.h"
#include <kaction.h>
#include <kglobal.h>
-#include <qiconset.h>
-#include <qstring.h>
+#include <tqiconset.h>
+#include <tqstring.h>
namespace Rosegarden
@@ -47,26 +47,26 @@ MatrixEraser::MatrixEraser(MatrixView* parent)
: MatrixTool("MatrixEraser", parent),
m_currentStaff(0)
{
- QString pixmapDir = KGlobal::dirs()->findResource("appdata", "pixmaps/");
- QCanvasPixmap pixmap(pixmapDir + "/toolbar/select.xpm");
- QIconSet icon = QIconSet(pixmap);
+ TQString pixmapDir = KGlobal::dirs()->findResource("appdata", "pixmaps/");
+ TQCanvasPixmap pixmap(pixmapDir + "/toolbar/select.xpm");
+ TQIconSet icon = TQIconSet(pixmap);
new KAction(i18n("Switch to Select Tool"), icon, 0, this,
- SLOT(slotSelectSelected()), actionCollection(),
+ TQT_SLOT(slotSelectSelected()), actionCollection(),
"select");
new KAction(i18n("Switch to Draw Tool"), "pencil", 0, this,
- SLOT(slotDrawSelected()), actionCollection(),
+ TQT_SLOT(slotDrawSelected()), actionCollection(),
"draw");
new KAction(i18n("Switch to Move Tool"), "move", 0, this,
- SLOT(slotMoveSelected()), actionCollection(),
+ TQT_SLOT(slotMoveSelected()), actionCollection(),
"move");
pixmap.load(pixmapDir + "/toolbar/resize.xpm");
- icon = QIconSet(pixmap);
+ icon = TQIconSet(pixmap);
new KAction(i18n("Switch to Resize Tool"), icon, 0, this,
- SLOT(slotResizeSelected()), actionCollection(),
+ TQT_SLOT(slotResizeSelected()), actionCollection(),
"resize");
createMenu("matrixeraser.rc");
@@ -75,7 +75,7 @@ MatrixEraser::MatrixEraser(MatrixView* parent)
void MatrixEraser::handleLeftButtonPress(timeT,
int,
int staffNo,
- QMouseEvent*,
+ TQMouseEvent*,
ViewElement* el)
{
MATRIX_DEBUG << "MatrixEraser::handleLeftButtonPress : el = "
@@ -105,6 +105,6 @@ void MatrixEraser::setBasicContextHelp()
setContextHelp(i18n("Click on a note to delete it"));
}
-const QString MatrixEraser::ToolName = "eraser";
+const TQString MatrixEraser::ToolName = "eraser";
}