mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Add DownloadRequest::destFileName
This commit is contained in:
parent
615b76f78c
commit
8b5db328ec
3 changed files with 29 additions and 1 deletions
|
@ -348,6 +348,17 @@ Net::DownloadRequest &Net::DownloadRequest::saveToFile(const bool value)
|
|||
return *this;
|
||||
}
|
||||
|
||||
QString Net::DownloadRequest::destFileName() const
|
||||
{
|
||||
return m_destFileName;
|
||||
}
|
||||
|
||||
Net::DownloadRequest &Net::DownloadRequest::destFileName(const QString &value)
|
||||
{
|
||||
m_destFileName = value;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Net::ServiceID Net::ServiceID::fromURL(const QUrl &url)
|
||||
{
|
||||
return {url.host(), url.port(80)};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue