summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/matrix/MatrixPainter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 11:38:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 12:06:34 +0900
commite9f46130c2656aaf299d8793556310c9bf95daee (patch)
tree19c604d8c26146c0f36e8b13cfa02982f2196025 /src/gui/editors/matrix/MatrixPainter.cpp
parent9b054308cef27a642eaa6e9a86db215151468e0b (diff)
downloadrosegarden-e9f46130c2656aaf299d8793556310c9bf95daee.tar.gz
rosegarden-e9f46130c2656aaf299d8793556310c9bf95daee.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/gui/editors/matrix/MatrixPainter.cpp')
-rw-r--r--src/gui/editors/matrix/MatrixPainter.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/editors/matrix/MatrixPainter.cpp b/src/gui/editors/matrix/MatrixPainter.cpp
index 6514b2d..8a22b41 100644
--- a/src/gui/editors/matrix/MatrixPainter.cpp
+++ b/src/gui/editors/matrix/MatrixPainter.cpp
@@ -61,21 +61,21 @@ MatrixPainter::MatrixPainter(MatrixView* parent)
TQIconSet icon = TQIconSet(pixmap);
new TDEAction(i18n("Switch to Select Tool"), icon, 0, this,
- TQT_SLOT(slotSelectSelected()), actionCollection(),
+ TQ_SLOT(slotSelectSelected()), actionCollection(),
"select");
new TDEAction(i18n("Switch to Erase Tool"), "eraser", 0, this,
- TQT_SLOT(slotEraseSelected()), actionCollection(),
+ TQ_SLOT(slotEraseSelected()), actionCollection(),
"erase");
new TDEAction(i18n("Switch to Move Tool"), "move", 0, this,
- TQT_SLOT(slotMoveSelected()), actionCollection(),
+ TQ_SLOT(slotMoveSelected()), actionCollection(),
"move");
pixmap.load(pixmapDir + "/toolbar/resize.xpm");
icon = TQIconSet(pixmap);
new TDEAction(i18n("Switch to Resize Tool"), icon, 0, this,
- TQT_SLOT(slotResizeSelected()), actionCollection(),
+ TQ_SLOT(slotResizeSelected()), actionCollection(),
"resize");
createMenu("matrixpainter.rc");
@@ -318,8 +318,8 @@ void MatrixPainter::handleMouseRelease(timeT endTime,
void MatrixPainter::ready()
{
- connect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)),
- this, TQT_SLOT(slotMatrixScrolled(int, int)));
+ connect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)),
+ this, TQ_SLOT(slotMatrixScrolled(int, int)));
m_mParentView->setCanvasCursor(TQt::crossCursor);
@@ -328,8 +328,8 @@ void MatrixPainter::ready()
void MatrixPainter::stow()
{
- disconnect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)),
- this, TQT_SLOT(slotMatrixScrolled(int, int)));
+ disconnect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)),
+ this, TQ_SLOT(slotMatrixScrolled(int, int)));
}
void MatrixPainter::slotMatrixScrolled(int newX, int newY)