// if we already have the access token then carry on as if we have already logged on and have the access token
emitaccessTokenReceived(m_strAccessToken);// if we already have the access token then carry on as if we have already logged on and have the access token
// sound_box is the group of objects in the Online resources window on the RHS with the preview and import buttons and the details about the currently selected item.
* The meta data is info on the sounds length, samplerate, filesize and number of channels. This is called when gotMetaInfo(Qstring) signal fires. That signal
* is passing html in the parameter
* This function is updating the html (m_meta) in the ResourceWidget and then calls updateLayout()
* This function is updating the html (m_meta) in the ResourceWidget and then calls updateLayout()
KMessageBox::information(this,i18n("Resource saved to %1",m_saveLocation),i18n("Data Imported"));
emitaddClip(QUrl::fromLocalFile(m_saveLocation),QString());// MainWindow::slotDownloadResources() links this signal to MainWindow::slotAddProjectClip
if(cb_licenseTitle->isChecked()){
constQStringlicenseText("This video uses \""+m_currentInfo.itemName+"\" ("+m_currentInfo.infoUrl+") by \""+m_currentInfo.author+"\" licensed under "+ResourceWidget::licenseNameFromUrl(m_currentInfo.license,true)+". To view a copy of this license, visit "+m_currentInfo.license);
emitaddLicenseInfo(licenseText);// MainWindow::slotDownloadResources() links this signal to MainWindow::slotAddProjectClip
m_desc.append(QStringLiteral("<br><b>")+i18n("Try importing again to obtain a new freesound connection")+QStringLiteral("</b>"));
updateLayout();
KMessageBox::sorry(this,i18n("Try importing again to obtain a new freesound connection\nError code: %1",reply->error()),i18n("Error Downloading File"));