mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
Disable move constructor where it is sensible
This commit is contained in:
@@ -39,7 +39,7 @@ class QUrl;
|
||||
class DownloadHandlerImpl final : public Net::DownloadHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(DownloadHandlerImpl)
|
||||
Q_DISABLE_COPY_MOVE(DownloadHandlerImpl)
|
||||
|
||||
public:
|
||||
DownloadHandlerImpl(Net::DownloadManager *manager, const Net::DownloadRequest &downloadRequest);
|
||||
|
||||
@@ -98,7 +98,7 @@ namespace Net
|
||||
class DownloadHandler : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(DownloadHandler)
|
||||
Q_DISABLE_COPY_MOVE(DownloadHandler)
|
||||
|
||||
public:
|
||||
using QObject::QObject;
|
||||
@@ -112,7 +112,7 @@ namespace Net
|
||||
class DownloadManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(DownloadManager)
|
||||
Q_DISABLE_COPY_MOVE(DownloadManager)
|
||||
|
||||
public:
|
||||
static void initInstance();
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Net
|
||||
class GeoIPManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(GeoIPManager)
|
||||
Q_DISABLE_COPY_MOVE(GeoIPManager)
|
||||
|
||||
public:
|
||||
static void initInstance();
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace Net
|
||||
{
|
||||
class PortForwarder : public QObject
|
||||
{
|
||||
Q_DISABLE_COPY(PortForwarder)
|
||||
Q_DISABLE_COPY_MOVE(PortForwarder)
|
||||
|
||||
public:
|
||||
explicit PortForwarder(QObject *parent = nullptr);
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace Net
|
||||
class ProxyConfigurationManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(ProxyConfigurationManager)
|
||||
Q_DISABLE_COPY_MOVE(ProxyConfigurationManager)
|
||||
|
||||
explicit ProxyConfigurationManager(QObject *parent = nullptr);
|
||||
~ProxyConfigurationManager() = default;
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace Net
|
||||
class ReverseResolution : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(ReverseResolution)
|
||||
Q_DISABLE_COPY_MOVE(ReverseResolution)
|
||||
|
||||
public:
|
||||
explicit ReverseResolution(QObject *parent = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user