summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/m3u
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/m3u')
-rw-r--r--kfile-plugins/m3u/kfile_m3u.cpp6
-rw-r--r--kfile-plugins/m3u/kfile_m3u.h3
2 files changed, 5 insertions, 4 deletions
diff --git a/kfile-plugins/m3u/kfile_m3u.cpp b/kfile-plugins/m3u/kfile_m3u.cpp
index 5fff1a08..d366685f 100644
--- a/kfile-plugins/m3u/kfile_m3u.cpp
+++ b/kfile-plugins/m3u/kfile_m3u.cpp
@@ -37,9 +37,9 @@ typedef KGenericFactory<KM3uPlugin> M3uFactory;
K_EXPORT_COMPONENT_FACTORY( kfile_m3u, M3uFactory( "kfile_m3u" ) )
-KM3uPlugin::KM3uPlugin( TQObject *parent, const char *name,
+KM3uPlugin::KM3uPlugin( TQObject *tqparent, const char *name,
const TQStringList &preferredItems )
- : KFilePlugin( parent, name, preferredItems )
+ : KFilePlugin( tqparent, name, preferredItems )
{
kdDebug(7034) << "m3u plugin\n";
@@ -75,7 +75,7 @@ bool KM3uPlugin::readInfo( KFileMetaInfo& info, uint )
if (s.endsWith("\n")) s.truncate(s.length()-1);
if (!s.stripWhiteSpace().isEmpty()) {
- appendItem(group, i18n("Track %1").arg(num, 3), s);
+ appendItem(group, i18n("Track %1").tqarg(num, 3), s);
num++;
}
}
diff --git a/kfile-plugins/m3u/kfile_m3u.h b/kfile-plugins/m3u/kfile_m3u.h
index 2787c81b..a91d392d 100644
--- a/kfile-plugins/m3u/kfile_m3u.h
+++ b/kfile-plugins/m3u/kfile_m3u.h
@@ -29,9 +29,10 @@ class TQStringList;
class KM3uPlugin: public KFilePlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
- KM3uPlugin( TQObject *parent, const char *name, const TQStringList& args );
+ KM3uPlugin( TQObject *tqparent, const char *name, const TQStringList& args );
virtual bool readInfo( KFileMetaInfo& info, uint what );
};