summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/ogg/kfile_ogg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /kfile-plugins/ogg/kfile_ogg.cpp
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfile-plugins/ogg/kfile_ogg.cpp')
-rw-r--r--kfile-plugins/ogg/kfile_ogg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kfile-plugins/ogg/kfile_ogg.cpp b/kfile-plugins/ogg/kfile_ogg.cpp
index dc4a8f3e..3964b814 100644
--- a/kfile-plugins/ogg/kfile_ogg.cpp
+++ b/kfile-plugins/ogg/kfile_ogg.cpp
@@ -61,9 +61,9 @@ static const char* const knownTranslations[] = {
K_EXPORT_COMPONENT_FACTORY(kfile_ogg, KGenericFactory<KOggPlugin>("kfile_ogg"))
-KOggPlugin::KOggPlugin( TQObject *parent, const char *name,
+KOggPlugin::KOggPlugin( TQObject *tqparent, const char *name,
const TQStringList &args )
- : KFilePlugin( parent, name, args )
+ : KFilePlugin( tqparent, name, args )
{
kdDebug(7034) << "ogg plugin\n";
@@ -176,7 +176,7 @@ bool KOggPlugin::readInfo( KFileMetaInfo& info, uint what )
fp = fopen(TQFile::encodeName(info.path()),"rb");
if (!fp)
{
- kdDebug(7034) << "Unable to open " << TQFile::encodeName(info.path()) << endl;
+ kdDebug(7034) << "Unable to open " << TQFile::encodeName(info.path()).data() << endl;
return false;
}
@@ -184,7 +184,7 @@ bool KOggPlugin::readInfo( KFileMetaInfo& info, uint what )
if (rc < 0)
{
- kdDebug(7034) << "Unable to understand " << TQFile::encodeName(info.path())
+ kdDebug(7034) << "Unable to understand " << TQFile::encodeName(info.path()).data()
<< ", errorcode=" << rc << endl;
return false;
}
@@ -319,7 +319,7 @@ bool KOggPlugin::writeInfo(const KFileMetaInfo& info) const
else
filename = info.path();
- // nothing in Qt or KDE to get the mode as an int?
+ // nothing in TQt or KDE to get the mode as an int?
struct stat s;
stat(TQFile::encodeName(filename), &s);
@@ -350,8 +350,8 @@ bool KOggPlugin::writeInfo(const KFileMetaInfo& info) const
TQValidator* KOggPlugin::createValidator( const TQString&,
const TQString &, const TQString &,
- TQObject* parent, const char* name) const {
- return new TQRegExpValidator(TQRegExp(".*"), parent, name);
+ TQObject* tqparent, const char* name) const {
+ return new TQRegExpValidator(TQRegExp(".*"), tqparent, name);
}
#include "kfile_ogg.moc"