1 #ifndef MUSICIDENTIFYSONGREQUEST_H
2 #define MUSICIDENTIFYSONGREQUEST_H
49 virtual void startToRequest(
const QString &path,
const QVariantMap &keys) = 0;
54 inline void setItems(MusicSongIdentifyDataList *item) noexcept { m_items = item; }
77 virtual void startToRequest(
const QString &path,
const QVariantMap &keys)
override final;
103 virtual void startToRequest(
const QString &path,
const QVariantMap &keys)
override final;
134 void startToRequest(
const QString &path);
139 inline const MusicSongIdentifyDataList&
items()
const noexcept {
return m_items; }
151 void downloadDataFinished(
const QString &bytes);
155 void downloadKeyFinished(
const QByteArray &bytes);
161 void findAllPlugins();
170 #endif // MUSICIDENTIFYSONGREQUEST_H
#define TTK_MODULE_EXPORT
MusicSongIdentifyDataList * m_items
virtual void startToRequest(const QString &path, const QVariantMap &keys)=0
The class of the song identify data item.
MusicSongIdentifyDataList m_items
TTK_MODULE_EXPORT void initialize(TTK::Attribute attr)
The class of the abstract network.
The class of the song identify query request.
virtual void downloadFinished()
void setItems(MusicSongIdentifyDataList *item) noexcept
The class of the abstract song identify query request.
const MusicSongIdentifyDataList & items() const noexcept
The class of the xf song identify query request.
The class of the acr song identify query request.
TTK_DECLARE_LIST(MusicSongIdentifyData)