29 if(str.startsWith(
"#EXTM3U") || str.isEmpty())
34 if(regx.
match(str) > -1)
40 if(str.startsWith(
"#"))
68 data << QString(
"#EXTM3U");
70 for(
int i = 0; i < items.count(); ++i)
76 data.append(song.path());
QString captured(int index) const
TTK_MODULE_EXPORT QStringList split(const QString &value, const QString &key=TTK_DEFAULT_STR)
virtual bool writeBuffer(const MusicSongItemList &items) overridefinal
The class of the read write interface.
The class of the music song item.
The class of the regular expression.
The class of the music song info.
int match(const QString &str, int pos=0)
virtual bool readBuffer(MusicSongItemList &items) overridefinal
The class of the ttk file interface.
static qint64 formatDuration(const QString &time) noexcept