Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 147aca7d8e)
r14.1.x
Michele Calgaro 1 year ago
parent c063a706bb
commit bf674dd36e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -76,13 +76,13 @@ void burn()
<para>K3b offers the K3bProjectInterface as listed above or the more powerful K3bDataProjectInterface which only applies to data projects (CD and DVD): <para>K3b offers the K3bProjectInterface as listed above or the more powerful K3bDataProjectInterface which only applies to data projects (CD and DVD):
<programlisting> <programlisting>
void createFolder(QString name) void createFolder(TQString name)
void createFolder(QString name,QString parent) void createFolder(TQString name,TQString parent)
void addUrl(KURL url,QString parent) void addUrl(KURL url,TQString parent)
void addUrls(KURL::List urls,QString parent) void addUrls(KURL::List urls,TQString parent)
void removeItem(QString path) void removeItem(TQString path)
void renameItem(QString path,QString newName) void renameItem(TQString path,TQString newName)
void setVolumeID(QString id) void setVolumeID(TQString id)
</programlisting> </programlisting>
</para> </para>

@ -33,6 +33,7 @@
#ifdef HAVE_TAGLIB #ifdef HAVE_TAGLIB
#include <taglib/tag.h> #include <taglib/tag.h>
#include <taglib/flacfile.h> #include <taglib/flacfile.h>
#define TStringToTQString(s) TQString::fromUtf8((s).toCString(true))
#endif #endif
#if !defined FLACPP_API_VERSION_CURRENT || FLACPP_API_VERSION_CURRENT < 6 #if !defined FLACPP_API_VERSION_CURRENT || FLACPP_API_VERSION_CURRENT < 6
@ -293,9 +294,9 @@ bool K3bFLACDecoder::analyseFileInternal( K3b::Msf& frames, int& samplerate, int
kdDebug() << "(K3bFLACDecoder) using taglib to read tag" << endl; kdDebug() << "(K3bFLACDecoder) using taglib to read tag" << endl;
TagLib::FLAC::File f( TQFile::encodeName(filename()) ); TagLib::FLAC::File f( TQFile::encodeName(filename()) );
if( f.isOpen() ) { if( f.isOpen() ) {
addMetaInfo( META_TITLE, TStringToQString( f.tag()->title() ) ); addMetaInfo( META_TITLE, TStringToTQString( f.tag()->title() ) );
addMetaInfo( META_ARTIST, TStringToQString( f.tag()->artist() ) ); addMetaInfo( META_ARTIST, TStringToTQString( f.tag()->artist() ) );
addMetaInfo( META_COMMENT, TStringToQString( f.tag()->comment() ) ); addMetaInfo( META_COMMENT, TStringToTQString( f.tag()->comment() ) );
} }
} }
#endif #endif

@ -48,6 +48,7 @@
#ifdef HAVE_TAGLIB #ifdef HAVE_TAGLIB
#include <taglib/tag.h> #include <taglib/tag.h>
#include <taglib/mpegfile.h> #include <taglib/mpegfile.h>
#define TStringToTQString(s) TQString::fromUtf8((s).toCString(true))
#endif #endif
@ -110,11 +111,11 @@ TQString K3bMadDecoder::metaInfo( MetaDataField f )
if ( file.tag() ) { if ( file.tag() ) {
switch( f ) { switch( f ) {
case META_TITLE: case META_TITLE:
return TStringToQString( file.tag()->title() ); return TStringToTQString( file.tag()->title() );
case META_ARTIST: case META_ARTIST:
return TStringToQString( file.tag()->artist() ); return TStringToTQString( file.tag()->artist() );
case META_COMMENT: case META_COMMENT:
return TStringToQString( file.tag()->comment() ); return TStringToTQString( file.tag()->comment() );
default: default:
return TQString(); return TQString();
} }

Loading…
Cancel
Save