From a3a855ce18bdb905ef57b9feb174afc441132665 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jan 2024 11:38:07 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit e9f46130c2656aaf299d8793556310c9bf95daee) --- src/gui/editors/matrix/MatrixResizer.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/gui/editors/matrix/MatrixResizer.cpp') diff --git a/src/gui/editors/matrix/MatrixResizer.cpp b/src/gui/editors/matrix/MatrixResizer.cpp index 0e6141b..735ce3c 100644 --- a/src/gui/editors/matrix/MatrixResizer.cpp +++ b/src/gui/editors/matrix/MatrixResizer.cpp @@ -59,19 +59,19 @@ MatrixResizer::MatrixResizer(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 Draw Tool"), "pencil", 0, this, - TQT_SLOT(slotDrawSelected()), actionCollection(), + TQ_SLOT(slotDrawSelected()), actionCollection(), "draw"); 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"); createMenu("matrixresizer.rc"); @@ -287,16 +287,16 @@ void MatrixResizer::handleMouseRelease(timeT newTime, void MatrixResizer::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::sizeHorCursor); setBasicContextHelp(); } void MatrixResizer::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 MatrixResizer::slotMatrixScrolled(int newX, int newY) -- cgit v1.2.3