21 for(
const QString &line :
qAsConst(data))
23 const QStringList &songInfo = line.split(
",");
24 if(songInfo.count() > 2)
47 for(
int i = 0; i < items.count(); ++i)
52 data << song.name() +
"," + song.duration() +
"," + song.path();
virtual bool writeBuffer(const MusicSongItemList &items) overridefinal
TTK_MODULE_EXPORT QStringList split(const QString &value, const QString &key=TTK_DEFAULT_STR)
The class of the read write interface.
The class of the music song item.
The class of the music song info.
virtual bool readBuffer(MusicSongItemList &items) overridefinal
The class of the ttk file interface.