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-02 12:06:34 +0900 |
commit | e9f46130c2656aaf299d8793556310c9bf95daee (patch) | |
tree | 19c604d8c26146c0f36e8b13cfa02982f2196025 /src/gui/editors/segment/segmentcanvas/SegmentResizer.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 <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp')
-rw-r--r-- | src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp b/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp index 505ce3e..4b3406f 100644 --- a/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp +++ b/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp @@ -68,15 +68,15 @@ SegmentResizer::SegmentResizer(CompositionView *c, RosegardenGUIDoc *d, void SegmentResizer::ready() { m_canvas->viewport()->setCursor(TQt::sizeHorCursor); - connect(m_canvas, TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotCanvasScrolled(int, int))); + connect(m_canvas, TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotCanvasScrolled(int, int))); setBasicContextHelp(false); } void SegmentResizer::stow() { - disconnect(m_canvas, TQT_SIGNAL(contentsMoving (int, int)), - this, TQT_SLOT(slotCanvasScrolled(int, int))); + disconnect(m_canvas, TQ_SIGNAL(contentsMoving (int, int)), + this, TQ_SLOT(slotCanvasScrolled(int, int))); } void SegmentResizer::slotCanvasScrolled(int newX, int newY) @@ -177,10 +177,10 @@ void SegmentResizer::handleMouseButtonRelease(TQMouseEvent *e) progressDlg.setLabel(i18n("Generating audio preview...")); command->disconnectProgressDialog(&progressDlg); - connect(&m_doc->getAudioFileManager(), TQT_SIGNAL(setProgress(int)), - progressDlg.progressBar(), TQT_SLOT(setValue(int))); - connect(&progressDlg, TQT_SIGNAL(cancelClicked()), - &m_doc->getAudioFileManager(), TQT_SLOT(slotStopPreview())); + connect(&m_doc->getAudioFileManager(), TQ_SIGNAL(setProgress(int)), + progressDlg.progressBar(), TQ_SLOT(setValue(int))); + connect(&progressDlg, TQ_SIGNAL(cancelClicked()), + &m_doc->getAudioFileManager(), TQ_SLOT(slotStopPreview())); int fid = command->getNewAudioFileId(); if (fid >= 0) { |