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/segment/segmentcanvas/SegmentResizer.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/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) { |
