From bf674dd36ebc152216b88eccccd6c6fd720d9f24 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 26 Sep 2023 11:45:44 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro (cherry picked from commit 147aca7d8e7fe21364884200823577d0b9ade0a4) --- plugins/decoder/mp3/k3bmaddecoder.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/decoder/mp3') diff --git a/plugins/decoder/mp3/k3bmaddecoder.cpp b/plugins/decoder/mp3/k3bmaddecoder.cpp index a28e24b..ece3ea7 100644 --- a/plugins/decoder/mp3/k3bmaddecoder.cpp +++ b/plugins/decoder/mp3/k3bmaddecoder.cpp @@ -48,6 +48,7 @@ #ifdef HAVE_TAGLIB #include #include +#define TStringToTQString(s) TQString::fromUtf8((s).toCString(true)) #endif @@ -110,11 +111,11 @@ TQString K3bMadDecoder::metaInfo( MetaDataField f ) if ( file.tag() ) { switch( f ) { case META_TITLE: - return TStringToQString( file.tag()->title() ); + return TStringToTQString( file.tag()->title() ); case META_ARTIST: - return TStringToQString( file.tag()->artist() ); + return TStringToTQString( file.tag()->artist() ); case META_COMMENT: - return TStringToQString( file.tag()->comment() ); + return TStringToTQString( file.tag()->comment() ); default: return TQString(); } -- cgit v1.2.3