void MusicVideoTableWidget::downloadLocalMovie(int row)
{
    MusicDownloadWidget download;
    download.setSongName(item(row, 2)->text() + " - " + item(row, 1)->text(),
                         MusicDownLoadQueryThreadAbstract::MovieQuery);
    download.exec();
}
void MusicDownloadResetWidget::restartToDownload()
{
    MusicDownloadWidget *download = new MusicDownloadWidget(m_parentClass);
    download->setSongName(m_currentName, MusicDownLoadQueryThreadAbstract::MusicQuery);
    download->show();

    close();
}
void MusicDownloadMgmtWidget::setSongName(const QString &name, MusicDownLoadQueryThreadAbstract::QueryType type)
{
    if(type == MusicDownLoadQueryThreadAbstract::MusicQuery)
    {
        bool exist = M_SETTING_PTR->value(MusicSettingManager::DownloadMusicExistChoiced).toBool();
        if(exist)
        {
            MusicDownloadResetWidget *resetWidget = new MusicDownloadResetWidget(m_parentClass);
            resetWidget->setSongName(name);
            resetWidget->show();
            return;
        }
    }
    MusicDownloadWidget *download = new MusicDownloadWidget(m_parentClass);
    if(parent()->metaObject()->indexOfMethod("musicDownloadSongFinished()") != -1)
    {
        connect(download, SIGNAL(dataDownloadChanged()), parent(),
                          SLOT(musicDownloadSongFinished()));
    }
    download->setSongName(name, type);
    download->show();
}
void MusicSongSearchOnlineTableWidget::musicDownloadLocal(int row)
{
    MusicDownloadWidget download;
    download.setSongName(item(row, 2)->toolTip() + " - " + item(row, 1)->toolTip(), MusicDownLoadQueryThreadAbstract::MusicQuery);
    download.exec();
}