bool FArtistsAdd::get(Artist &value) { this->ui->eName->setText(value.Name()); if (this->exec() == QDialog::Accepted) { value.setName(this->ui->eName->text()); return true; } return false; }
ArtistData::ArtistData(const Artist &artist, const string &nation) : m_playcount(artist.Playcount()), m_nation(nation), m_name(artist.Name()), m_url(artist.Url()) { }