summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/au
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/au')
-rw-r--r--kfile-plugins/au/kfile_au.cpp30
-rw-r--r--kfile-plugins/au/kfile_au.h2
2 files changed, 16 insertions, 16 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
diff --git a/kfile-plugins/au/kfile_au.h b/kfile-plugins/au/kfile_au.h
index c6aea2c7..9912ef70 100644
--- a/kfile-plugins/au/kfile_au.h
+++ b/kfile-plugins/au/kfile_au.h
@@ -29,7 +29,7 @@ class KAuPlugin: public KFilePlugin
Q_OBJECT
public:
- KAuPlugin( QObject *parent, const char *name, const QStringList& args );
+ KAuPlugin( TQObject *parent, const char *name, const TQStringList& args );
virtual bool readInfo( KFileMetaInfo& info, uint what);
};