summaryrefslogtreecommitdiffstats
path: root/plugins/decoder/mp3
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-26 11:45:44 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-26 20:59:32 +0900
commit147aca7d8e7fe21364884200823577d0b9ade0a4 (patch)
tree18bb9cde8be24020d30295c130f713171b9ea060 /plugins/decoder/mp3
parented876dc3743b8e65fa280010fb53abb079b982ef (diff)
downloadk3b-147aca7d8e7fe21364884200823577d0b9ade0a4.tar.gz
k3b-147aca7d8e7fe21364884200823577d0b9ade0a4.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'plugins/decoder/mp3')
-rw-r--r--plugins/decoder/mp3/k3bmaddecoder.cpp7
1 files changed, 4 insertions, 3 deletions
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 <taglib/tag.h>
#include <taglib/mpegfile.h>
+#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();
}