diff options
Diffstat (limited to 'kfile-plugins/m3u/kfile_m3u.cpp')
-rw-r--r-- | kfile-plugins/m3u/kfile_m3u.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kfile-plugins/m3u/kfile_m3u.cpp b/kfile-plugins/m3u/kfile_m3u.cpp index ab719152..5fff1a08 100644 --- a/kfile-plugins/m3u/kfile_m3u.cpp +++ b/kfile-plugins/m3u/kfile_m3u.cpp @@ -26,19 +26,19 @@ #include <klocale.h> #include <kgenericfactory.h> -#include <qcstring.h> -#include <qfile.h> -#include <qtextstream.h> -#include <qdatetime.h> -#include <qdict.h> -#include <qvalidator.h> +#include <tqcstring.h> +#include <tqfile.h> +#include <tqtextstream.h> +#include <tqdatetime.h> +#include <tqdict.h> +#include <tqvalidator.h> typedef KGenericFactory<KM3uPlugin> M3uFactory; K_EXPORT_COMPONENT_FACTORY( kfile_m3u, M3uFactory( "kfile_m3u" ) ) -KM3uPlugin::KM3uPlugin( QObject *parent, const char *name, - const QStringList &preferredItems ) +KM3uPlugin::KM3uPlugin( TQObject *parent, const char *name, + const TQStringList &preferredItems ) : KFilePlugin( parent, name, preferredItems ) { kdDebug(7034) << "m3u plugin\n"; @@ -49,7 +49,7 @@ KM3uPlugin::KM3uPlugin( QObject *parent, const char *name, // tracks group group = addGroupInfo(info, "Tracks", i18n("Tracks")); - addVariableInfo(group, QVariant::String, 0); + addVariableInfo(group, TQVariant::String, 0); } bool KM3uPlugin::readInfo( KFileMetaInfo& info, uint ) @@ -57,10 +57,10 @@ bool KM3uPlugin::readInfo( KFileMetaInfo& info, uint ) if ( info.path().isEmpty() ) // remote file return false; - QFile f(info.path()); + TQFile f(info.path()); if (!f.open(IO_ReadOnly)) return false; - QTextStream str(&f); - str.setEncoding(QTextStream::Locale); + TQTextStream str(&f); + str.setEncoding(TQTextStream::Locale); KFileMetaInfoGroup group = appendGroup(info, "Tracks"); @@ -69,7 +69,7 @@ bool KM3uPlugin::readInfo( KFileMetaInfo& info, uint ) int num = 1; while (!str.atEnd()) { - QString s = str.readLine(); + TQString s = str.readLine(); if (!s.startsWith("#")) { if (s.endsWith("\n")) s.truncate(s.length()-1); |