diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/commands/segment/AudioSegmentRescaleCommand.cpp | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/commands/segment/AudioSegmentRescaleCommand.cpp')
-rw-r--r-- | src/commands/segment/AudioSegmentRescaleCommand.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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 <qstring.h> +#include <tqstring.h> 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))); |