summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/au/kfile_au.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kfile-plugins/au/kfile_au.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfile-plugins/au/kfile_au.cpp')
-rw-r--r--kfile-plugins/au/kfile_au.cpp30
1 files changed, 15 insertions, 15 deletions
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 <kstringvalidator.h>
#include <kdebug.h>
-#include <qdict.h>
-#include <qvalidator.h>
-#include <qcstring.h>
-#include <qfile.h>
-#include <qdatetime.h>
+#include <tqdict.h>
+#include <tqvalidator.h>
+#include <tqcstring.h>
+#include <tqfile.h>
+#include <tqdatetime.h>
#if !defined(__osf__)
#include <inttypes.h>
@@ -43,8 +43,8 @@ typedef KGenericFactory<KAuPlugin> 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