diff options
author | Michele Calgaro <[email protected]> | 2024-01-02 11:38:07 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-02 12:06:34 +0900 |
commit | e9f46130c2656aaf299d8793556310c9bf95daee (patch) | |
tree | 19c604d8c26146c0f36e8b13cfa02982f2196025 /src/gui/editors/matrix/MatrixMover.cpp | |
parent | 9b054308cef27a642eaa6e9a86db215151468e0b (diff) | |
download | rosegarden-e9f46130c2656aaf299d8793556310c9bf95daee.tar.gz rosegarden-e9f46130c2656aaf299d8793556310c9bf95daee.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gui/editors/matrix/MatrixMover.cpp')
-rw-r--r-- | src/gui/editors/matrix/MatrixMover.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/editors/matrix/MatrixMover.cpp b/src/gui/editors/matrix/MatrixMover.cpp index 5a0bb55..04adf49 100644 --- a/src/gui/editors/matrix/MatrixMover.cpp +++ b/src/gui/editors/matrix/MatrixMover.cpp @@ -63,21 +63,21 @@ MatrixMover::MatrixMover(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"); 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("matrixmover.rc"); @@ -418,20 +418,20 @@ void MatrixMover::handleMouseRelease(timeT newTime, void MatrixMover::ready() { - connect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotMatrixScrolled(int, int))); - connect(this, TQT_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)), - m_mParentView, TQT_SLOT(slotHoveredOverNoteChanged(int, bool, timeT))); + connect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotMatrixScrolled(int, int))); + connect(this, TQ_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)), + m_mParentView, TQ_SLOT(slotHoveredOverNoteChanged(int, bool, timeT))); m_mParentView->setCanvasCursor(TQt::sizeAllCursor); setBasicContextHelp(); } void MatrixMover::stow() { - disconnect(m_parentView->getCanvasView(), TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotMatrixScrolled(int, int))); - disconnect(this, TQT_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)), - m_mParentView, TQT_SLOT(slotHoveredOverNoteChanged(int, bool, timeT))); + disconnect(m_parentView->getCanvasView(), TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotMatrixScrolled(int, int))); + disconnect(this, TQ_SIGNAL(hoveredOverNoteChanged(int, bool, timeT)), + m_mParentView, TQ_SLOT(slotHoveredOverNoteChanged(int, bool, timeT))); } void MatrixMover::slotMatrixScrolled(int newX, int newY) |