diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-02 11:38:07 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 17:29:20 +0900 |
| commit | a3a855ce18bdb905ef57b9feb174afc441132665 (patch) | |
| tree | 19c604d8c26146c0f36e8b13cfa02982f2196025 /src/gui/editors/matrix/MatrixPainter.cpp | |
| parent | 0d651f25b2871e8e16bf7a1c3563066489a7a0b2 (diff) | |
| download | rosegarden-a3a855ce18bdb905ef57b9feb174afc441132665.tar.gz rosegarden-a3a855ce18bdb905ef57b9feb174afc441132665.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e9f46130c2656aaf299d8793556310c9bf95daee)
Diffstat (limited to 'src/gui/editors/matrix/MatrixPainter.cpp')
| -rw-r--r-- | src/gui/editors/matrix/MatrixPainter.cpp | 16 |
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) |
