From e470a86df30e2a0c0d3ea8c4f67112795071617a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 4 Nov 2023 23:33:05 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- plugins/recording/encoder_mp3.cpp | 2 +- plugins/recording/encoder_ogg.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/recording') diff --git a/plugins/recording/encoder_mp3.cpp b/plugins/recording/encoder_mp3.cpp index 456850f..eb42e9f 100644 --- a/plugins/recording/encoder_mp3.cpp +++ b/plugins/recording/encoder_mp3.cpp @@ -126,7 +126,7 @@ bool RecordingEncodingMP3::openOutput(const TQString &output) if (!m_error) { id3tag_init(m_LAMEFlags); id3tag_add_v2(m_LAMEFlags); - TQString title = m_RadioStation->name() + TQString().sprintf(" - %s", (TQDateTime::currentDateTime().toString(Qt::ISODate)).ascii()); + TQString title = m_RadioStation->name() + TQString().sprintf(" - %s", (TQDateTime::currentDateTime().toString(TQt::ISODate)).ascii()); TQString comment = i18n("Recorded by TDERadio"); size_t l = title.length() + comment.length() + 10; m_ID3Tags = new char[l]; diff --git a/plugins/recording/encoder_ogg.cpp b/plugins/recording/encoder_ogg.cpp index ca093b9..d1088b1 100644 --- a/plugins/recording/encoder_ogg.cpp +++ b/plugins/recording/encoder_ogg.cpp @@ -176,7 +176,7 @@ bool RecordingEncodingOgg::openOutput(const TQString &output) vorbis_comment_init (&vc); vorbis_comment_add_tag_new(&vc, "creator", "TDERadio" VERSION); vorbis_comment_add_tag_new(&vc, "title", m_RadioStation->longName().utf8()); - vorbis_comment_add_tag_new(&vc, "date", TQDateTime::currentDateTime().toString(Qt::ISODate)); + vorbis_comment_add_tag_new(&vc, "date", TQDateTime::currentDateTime().toString(TQt::ISODate)); vorbis_analysis_headerout(&m_VorbisDSP, &vc, &header_main, &header_comments, &header_codebooks); -- cgit v1.2.1