summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/wav
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/wav')
-rw-r--r--kfile-plugins/wav/kfile_wav.cpp6
-rw-r--r--kfile-plugins/wav/kfile_wav.h3
2 files changed, 5 insertions, 4 deletions
diff --git a/kfile-plugins/wav/kfile_wav.cpp b/kfile-plugins/wav/kfile_wav.cpp
index 09e2c2cc..917d8fca 100644
--- a/kfile-plugins/wav/kfile_wav.cpp
+++ b/kfile-plugins/wav/kfile_wav.cpp
@@ -43,10 +43,10 @@ typedef KGenericFactory<KWavPlugin> WavFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_wav, WavFactory( "kfile_wav" ))
-KWavPlugin::KWavPlugin(TQObject *parent, const char *name,
+KWavPlugin::KWavPlugin(TQObject *tqparent, const char *name,
const TQStringList &args)
- : KFilePlugin(parent, name, args)
+ : KFilePlugin(tqparent, name, args)
{
KFileMimeTypeInfo* info = addMimeTypeInfo( "audio/x-wav" );
@@ -99,7 +99,7 @@ bool KWavPlugin::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/wav/kfile_wav.h b/kfile-plugins/wav/kfile_wav.h
index a2f8ae40..9eb4d796 100644
--- a/kfile-plugins/wav/kfile_wav.h
+++ b/kfile-plugins/wav/kfile_wav.h
@@ -27,9 +27,10 @@ class TQStringList;
class KWavPlugin: public KFilePlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
- KWavPlugin( TQObject *parent, const char *name, const TQStringList& args );
+ KWavPlugin( TQObject *tqparent, const char *name, const TQStringList& args );
virtual bool readInfo( KFileMetaInfo& info, uint what);
};