mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Reduce number of DownloadManager signals
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user