summaryrefslogtreecommitdiffstats
path: root/src/commands/segment/AudioSegmentRescaleCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/segment/AudioSegmentRescaleCommand.cpp')
-rw-r--r--src/commands/segment/AudioSegmentRescaleCommand.cpp20
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)));