From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/commands/segment/AudioSegmentRescaleCommand.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/commands/segment/AudioSegmentRescaleCommand.cpp') diff --git a/src/commands/segment/AudioSegmentRescaleCommand.cpp b/src/commands/segment/AudioSegmentRescaleCommand.cpp index 1386783..2786aa9 100644 --- a/src/commands/segment/AudioSegmentRescaleCommand.cpp +++ b/src/commands/segment/AudioSegmentRescaleCommand.cpp @@ -34,7 +34,7 @@ #include "sound/AudioFileTimeStretcher.h" #include "sound/AudioFileManager.h" #include "gui/widgets/ProgressDialog.h" -#include +#include namespace Rosegarden @@ -92,19 +92,19 @@ AudioSegmentRescaleCommand::~AudioSegmentRescaleCommand() void AudioSegmentRescaleCommand::connectProgressDialog(ProgressDialog *dlg) { - QObject::connect(m_stretcher, SIGNAL(setProgress(int)), - dlg->progressBar(), SLOT(setValue(int))); - QObject::connect(dlg, SIGNAL(cancelClicked()), - m_stretcher, SLOT(slotStopTimestretch())); + TQObject::connect(m_stretcher, TQT_SIGNAL(setProgress(int)), + dlg->progressBar(), TQT_SLOT(setValue(int))); + TQObject::connect(dlg, TQT_SIGNAL(cancelClicked()), + m_stretcher, TQT_SLOT(slotStopTimestretch())); } void AudioSegmentRescaleCommand::disconnectProgressDialog(ProgressDialog *dlg) { - QObject::disconnect(m_stretcher, SIGNAL(setProgress(int)), - dlg->progressBar(), SLOT(setValue(int))); - QObject::disconnect(dlg, SIGNAL(cancelClicked()), - m_stretcher, SLOT(slotStopTimestretch())); + TQObject::disconnect(m_stretcher, TQT_SIGNAL(setProgress(int)), + dlg->progressBar(), TQT_SLOT(setValue(int))); + TQObject::disconnect(dlg, TQT_SIGNAL(cancelClicked()), + m_stretcher, TQT_SLOT(slotStopTimestretch())); } void @@ -122,7 +122,7 @@ AudioSegmentRescaleCommand::execute() m_newSegment = new Segment(*m_segment); - QString oldLabel = strtoqstr(m_segment->getLabel()); + TQString oldLabel = strtoqstr(m_segment->getLabel()); if (!oldLabel.endsWith(i18n("(rescaled)"))) { m_newSegment->setLabel(qstrtostr(i18n("%1 (rescaled)").arg (oldLabel))); -- cgit v1.2.3