mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 12:00:16 -07:00
Reduce number of DownloadManager signals
This commit is contained in:
parent
0f1fc7be9d
commit
6cb15706f5
26 changed files with 317 additions and 337 deletions
|
@ -38,6 +38,8 @@
|
|||
|
||||
namespace Net
|
||||
{
|
||||
struct DownloadResult;
|
||||
|
||||
// Based on http://www.dyndns.com/developers/specs/
|
||||
class DNSUpdater : public QObject
|
||||
{
|
||||
|
@ -54,11 +56,9 @@ namespace Net
|
|||
|
||||
private slots:
|
||||
void checkPublicIP();
|
||||
void ipRequestFinished(const QString &url, const QByteArray &data);
|
||||
void ipRequestFailed(const QString &url, const QString &error);
|
||||
void ipRequestFinished(const DownloadResult &result);
|
||||
void updateDNSService();
|
||||
void ipUpdateFinished(const QString &url, const QByteArray &data);
|
||||
void ipUpdateFailed(const QString &url, const QString &error);
|
||||
void ipUpdateFinished(const DownloadResult &result);
|
||||
|
||||
private:
|
||||
enum State
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue