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.cpp6
-rw-r--r--kfile-plugins/au/kfile_au.h3
2 files changed, 5 insertions, 4 deletions
diff --git a/kfile-plugins/au/kfile_au.cpp b/kfile-plugins/au/kfile_au.cpp
index ae1b4614..1c6e3cfd 100644
--- a/kfile-plugins/au/kfile_au.cpp
+++ b/kfile-plugins/au/kfile_au.cpp
@@ -43,10 +43,10 @@ typedef KGenericFactory<KAuPlugin> AuFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_au, AuFactory( "kfile_au" ))
-KAuPlugin::KAuPlugin(TQObject *parent, const char *name,
+KAuPlugin::KAuPlugin(TQObject *tqparent, const char *name,
const TQStringList &args)
- : KFilePlugin(parent, name, args)
+ : KFilePlugin(tqparent, name, args)
{
KFileMimeTypeInfo* info = addMimeTypeInfo( "audio/basic" );
@@ -90,7 +90,7 @@ bool KAuPlugin::readInfo( KFileMetaInfo& info, uint what)
if (!file.open(IO_ReadOnly))
{
- kdDebug(7034) << "Couldn't open " << TQFile::encodeName(info.path()) << endl;
+ kdDebug(7034) << "Couldn't open " << TQFile::encodeName(info.path()).data() << endl;
return false;
}
diff --git a/kfile-plugins/au/kfile_au.h b/kfile-plugins/au/kfile_au.h
index 7968d87c..d09ce2a7 100644
--- a/kfile-plugins/au/kfile_au.h
+++ b/kfile-plugins/au/kfile_au.h
@@ -27,9 +27,10 @@ class TQStringList;
class KAuPlugin: public KFilePlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
- KAuPlugin( TQObject *parent, const char *name, const TQStringList& args );
+ KAuPlugin( TQObject *tqparent, const char *name, const TQStringList& args );
virtual bool readInfo( KFileMetaInfo& info, uint what);
};