From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kfile-plugins/au/kfile_au.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kfile-plugins/au/kfile_au.cpp') diff --git a/kfile-plugins/au/kfile_au.cpp b/kfile-plugins/au/kfile_au.cpp index fc241168..ae1b4614 100644 --- a/kfile-plugins/au/kfile_au.cpp +++ b/kfile-plugins/au/kfile_au.cpp @@ -26,11 +26,11 @@ #include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #if !defined(__osf__) #include @@ -43,8 +43,8 @@ typedef KGenericFactory AuFactory; K_EXPORT_COMPONENT_FACTORY(kfile_au, AuFactory( "kfile_au" )) -KAuPlugin::KAuPlugin(QObject *parent, const char *name, - const QStringList &args) +KAuPlugin::KAuPlugin(TQObject *parent, const char *name, + const TQStringList &args) : KFilePlugin(parent, name, args) { @@ -56,15 +56,15 @@ KAuPlugin::KAuPlugin(QObject *parent, const char *name, KFileMimeTypeInfo::ItemInfo* item; - item = addItemInfo(group, "Length", i18n("Length"), QVariant::Int); + item = addItemInfo(group, "Length", i18n("Length"), TQVariant::Int); setSuffix(item, "s"); - item = addItemInfo(group, "Sample Rate", i18n("Sample Rate"), QVariant::Int); + item = addItemInfo(group, "Sample Rate", i18n("Sample Rate"), TQVariant::Int); setSuffix(item, "Hz"); - item = addItemInfo(group, "Channels", i18n("Channels"), QVariant::Int); + item = addItemInfo(group, "Channels", i18n("Channels"), TQVariant::Int); - item = addItemInfo(group, "Encoding", i18n("Encoding"), QVariant::String); + item = addItemInfo(group, "Encoding", i18n("Encoding"), TQVariant::String); } @@ -86,18 +86,18 @@ bool KAuPlugin::readInfo( KFileMetaInfo& info, uint what) if ( info.path().isEmpty() ) // remote file return false; - QFile file(info.path()); + TQFile file(info.path()); if (!file.open(IO_ReadOnly)) { - kdDebug(7034) << "Couldn't open " << QFile::encodeName(info.path()) << endl; + kdDebug(7034) << "Couldn't open " << TQFile::encodeName(info.path()) << endl; return false; } - QDataStream dstream(&file); + TQDataStream dstream(&file); // AU files are big-endian - dstream.setByteOrder(QDataStream::BigEndian); + dstream.setByteOrder(TQDataStream::BigEndian); // Read and verify the signature -- cgit v1.2.1