summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/recording/encoder_pcm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/plugins/recording/encoder_pcm.cpp')
-rw-r--r--kradio3/plugins/recording/encoder_pcm.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kradio3/plugins/recording/encoder_pcm.cpp b/kradio3/plugins/recording/encoder_pcm.cpp
index 27c671b..a5e6488 100644
--- a/kradio3/plugins/recording/encoder_pcm.cpp
+++ b/kradio3/plugins/recording/encoder_pcm.cpp
@@ -20,10 +20,10 @@
#include <klocale.h>
-RecordingEncodingPCM::RecordingEncodingPCM(QObject *parent, SoundStreamID ssid,
+RecordingEncodingPCM::RecordingEncodingPCM(TQObject *tqparent, SoundStreamID ssid,
const RecordingConfig &cfg, const RadioStation *rs,
- const QString &filename)
- : RecordingEncoding(parent, ssid, cfg, rs, filename),
+ const TQString &filename)
+ : RecordingEncoding(tqparent, ssid, cfg, rs, filename),
m_output(NULL)
{
m_config.m_SoundFormat.m_Encoding = "raw";
@@ -50,12 +50,12 @@ void RecordingEncodingPCM::encode(const char *buffer, size_t buffer_size, char *
if (err != (int)buffer_size) {
m_error = true;
- m_errorString += i18n("Error %1 writing output. ").arg(QString().setNum(err));
+ m_errorString += i18n("Error %1 writing output. ").tqarg(TQString().setNum(err));
}
}
-bool RecordingEncodingPCM::openOutput(const QString &output)
+bool RecordingEncodingPCM::openOutput(const TQString &output)
{
SF_INFO sinfo;
m_config.getSoundFileInfo(sinfo, false);
@@ -63,7 +63,7 @@ bool RecordingEncodingPCM::openOutput(const QString &output)
if (!m_output) {
m_error = true;
- m_errorString += i18n("Cannot open output file %1. ").arg(output);
+ m_errorString += i18n("Cannot open output file %1. ").tqarg(output);
}
return !m_error;
}