|
|
@ -83,7 +83,7 @@ bool PlaylistImport::kaffeine(const TQString& playlist, TQValueList<MRL>& mrls)
|
|
|
|
TQFile file(playlist);
|
|
|
|
TQFile file(playlist);
|
|
|
|
if (!file.open(IO_ReadOnly)) return false;
|
|
|
|
if (!file.open(IO_ReadOnly)) return false;
|
|
|
|
|
|
|
|
|
|
|
|
TQXmlInputSource source(TQT_TQIODEVICE(&file));
|
|
|
|
TQXmlInputSource source(&file);
|
|
|
|
TQXmlSimpleReader reader;
|
|
|
|
TQXmlSimpleReader reader;
|
|
|
|
|
|
|
|
|
|
|
|
MyXMLParser parser;
|
|
|
|
MyXMLParser parser;
|
|
|
@ -159,7 +159,7 @@ bool PlaylistImport::noatun(const TQString& playlist, TQValueList<MRL>& mrls)
|
|
|
|
TQFile file(playlist);
|
|
|
|
TQFile file(playlist);
|
|
|
|
if (!file.open(IO_ReadOnly)) return false;
|
|
|
|
if (!file.open(IO_ReadOnly)) return false;
|
|
|
|
|
|
|
|
|
|
|
|
TQXmlInputSource source(TQT_TQIODEVICE(&file));
|
|
|
|
TQXmlInputSource source(&file);
|
|
|
|
TQXmlSimpleReader reader;
|
|
|
|
TQXmlSimpleReader reader;
|
|
|
|
|
|
|
|
|
|
|
|
NoatunXMLParser parser;
|
|
|
|
NoatunXMLParser parser;
|
|
|
|