| 1364 | } |
| 1365 | |
| 1366 | DownloadManager::DownloadState DownloadManager::getState(int index) const |
| 1367 | { |
| 1368 | if ((index < 0) || (index >= m_ActiveDownloads.size())) { |
| 1369 | throw MyException(tr("state: invalid download index %1").arg(index)); |
| 1370 | } |
| 1371 | |
| 1372 | return m_ActiveDownloads.at(index)->m_State; |
| 1373 | } |
| 1374 | |
| 1375 | bool DownloadManager::isInfoIncomplete(int index) const |
| 1376 | { |
no test coverage detected