summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/mpeg/kfile_mpeg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/mpeg/kfile_mpeg.cpp')
-rw-r--r--kfile-plugins/mpeg/kfile_mpeg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kfile-plugins/mpeg/kfile_mpeg.cpp b/kfile-plugins/mpeg/kfile_mpeg.cpp
index f532318e..a94ce15a 100644
--- a/kfile-plugins/mpeg/kfile_mpeg.cpp
+++ b/kfile-plugins/mpeg/kfile_mpeg.cpp
@@ -46,10 +46,10 @@ typedef KGenericFactory<KMpegPlugin> MpegFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_mpeg, MpegFactory( "kfile_mpeg" ))
-KMpegPlugin::KMpegPlugin(TQObject *parent, const char *name,
+KMpegPlugin::KMpegPlugin(TQObject *tqparent, const char *name,
const TQStringList &args)
- : KFilePlugin(parent, name, args)
+ : KFilePlugin(tqparent, name, args)
{
KFileMimeTypeInfo* info = addMimeTypeInfo( "video/mpeg" );
@@ -329,7 +329,7 @@ bool KMpegPlugin::read_mpeg()
skimmed++;
searched++;
if (video_len > 0) video_len--;
- // Use a fast state machine to find 00 00 01 sync code
+ // Use a fast state machine to tqfind 00 00 01 sync code
switch (state) {
case 0:
if (byte == 0)
@@ -502,7 +502,7 @@ bool KMpegPlugin::readInfo( KFileMetaInfo& info, uint /*what*/)
// open file, set up stream and set endianness
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;
}