mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Disable move constructor where it is sensible
This commit is contained in:
parent
fd9941e2d8
commit
70d1cb86fd
@ -71,7 +71,7 @@ namespace RSS
|
|||||||
class Application final : public BaseApplication
|
class Application final : public BaseApplication
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Application)
|
Q_DISABLE_COPY_MOVE(Application)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Application(int &argc, char **argv);
|
Application(int &argc, char **argv);
|
||||||
|
@ -35,7 +35,7 @@ class QtLocalPeer;
|
|||||||
class ApplicationInstanceManager : public QObject
|
class ApplicationInstanceManager : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(ApplicationInstanceManager)
|
Q_DISABLE_COPY_MOVE(ApplicationInstanceManager)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit ApplicationInstanceManager(const QString &appId, QObject *parent = nullptr);
|
explicit ApplicationInstanceManager(const QString &appId, QObject *parent = nullptr);
|
||||||
|
@ -40,7 +40,7 @@ namespace Log
|
|||||||
class FileLogger : public QObject
|
class FileLogger : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(FileLogger)
|
Q_DISABLE_COPY_MOVE(FileLogger)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum FileLogAgeType
|
enum FileLogAgeType
|
||||||
|
@ -39,7 +39,7 @@ namespace Ui
|
|||||||
class StacktraceDialog : public QDialog
|
class StacktraceDialog : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(StacktraceDialog)
|
Q_DISABLE_COPY_MOVE(StacktraceDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit StacktraceDialog(QWidget *parent = nullptr);
|
explicit StacktraceDialog(QWidget *parent = nullptr);
|
||||||
|
@ -43,7 +43,7 @@ public:
|
|||||||
class AsyncFileStorage : public QObject
|
class AsyncFileStorage : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(AsyncFileStorage)
|
Q_DISABLE_COPY_MOVE(AsyncFileStorage)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit AsyncFileStorage(const QString &storageFolderPath, QObject *parent = nullptr);
|
explicit AsyncFileStorage(const QString &storageFolderPath, QObject *parent = nullptr);
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
class BandwidthScheduler : public QObject
|
class BandwidthScheduler : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(BandwidthScheduler)
|
Q_DISABLE_COPY_MOVE(BandwidthScheduler)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit BandwidthScheduler(QObject *parent = nullptr);
|
explicit BandwidthScheduler(QObject *parent = nullptr);
|
||||||
|
@ -57,7 +57,7 @@ namespace BitTorrent
|
|||||||
{
|
{
|
||||||
class BencodeResumeDataStorage::Worker final : public QObject
|
class BencodeResumeDataStorage::Worker final : public QObject
|
||||||
{
|
{
|
||||||
Q_DISABLE_COPY(Worker)
|
Q_DISABLE_COPY_MOVE(Worker)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Worker(const QDir &resumeDataDir);
|
explicit Worker(const QDir &resumeDataDir);
|
||||||
|
@ -43,7 +43,7 @@ namespace BitTorrent
|
|||||||
class BencodeResumeDataStorage final : public ResumeDataStorage
|
class BencodeResumeDataStorage final : public ResumeDataStorage
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(BencodeResumeDataStorage)
|
Q_DISABLE_COPY_MOVE(BencodeResumeDataStorage)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit BencodeResumeDataStorage(const QString &path, QObject *parent = nullptr);
|
explicit BencodeResumeDataStorage(const QString &path, QObject *parent = nullptr);
|
||||||
|
@ -158,7 +158,7 @@ namespace BitTorrent
|
|||||||
{
|
{
|
||||||
class DBResumeDataStorage::Worker final : public QObject
|
class DBResumeDataStorage::Worker final : public QObject
|
||||||
{
|
{
|
||||||
Q_DISABLE_COPY(Worker)
|
Q_DISABLE_COPY_MOVE(Worker)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Worker(const QString &dbPath, const QString &dbConnectionName);
|
Worker(const QString &dbPath, const QString &dbConnectionName);
|
||||||
|
@ -37,7 +37,7 @@ namespace BitTorrent
|
|||||||
class DBResumeDataStorage final : public ResumeDataStorage
|
class DBResumeDataStorage final : public ResumeDataStorage
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(DBResumeDataStorage)
|
Q_DISABLE_COPY_MOVE(DBResumeDataStorage)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit DBResumeDataStorage(const QString &dbPath, QObject *parent = nullptr);
|
explicit DBResumeDataStorage(const QString &dbPath, QObject *parent = nullptr);
|
||||||
|
@ -38,7 +38,7 @@ namespace BitTorrent
|
|||||||
class FileSearcher final : public QObject
|
class FileSearcher final : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(FileSearcher)
|
Q_DISABLE_COPY_MOVE(FileSearcher)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FileSearcher() = default;
|
FileSearcher() = default;
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
class PortForwarderImpl final : public Net::PortForwarder
|
class PortForwarderImpl final : public Net::PortForwarder
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(PortForwarderImpl)
|
Q_DISABLE_COPY_MOVE(PortForwarderImpl)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit PortForwarderImpl(lt::session *provider, QObject *parent = nullptr);
|
explicit PortForwarderImpl(lt::session *provider, QObject *parent = nullptr);
|
||||||
|
@ -41,7 +41,7 @@ namespace BitTorrent
|
|||||||
class ResumeDataStorage : public QObject
|
class ResumeDataStorage : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(ResumeDataStorage)
|
Q_DISABLE_COPY_MOVE(ResumeDataStorage)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using QObject::QObject;
|
using QObject::QObject;
|
||||||
|
@ -211,7 +211,7 @@ namespace BitTorrent
|
|||||||
class Session : public QObject
|
class Session : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Session)
|
Q_DISABLE_COPY_MOVE(Session)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static void initInstance();
|
static void initInstance();
|
||||||
|
@ -39,7 +39,7 @@ namespace BitTorrent
|
|||||||
class Statistics : public QObject
|
class Statistics : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Statistics)
|
Q_DISABLE_COPY_MOVE(Statistics)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Statistics(BitTorrent::Session *session);
|
explicit Statistics(BitTorrent::Session *session);
|
||||||
|
@ -86,7 +86,7 @@ namespace BitTorrent
|
|||||||
|
|
||||||
class TorrentImpl final : public QObject, public Torrent
|
class TorrentImpl final : public QObject, public Torrent
|
||||||
{
|
{
|
||||||
Q_DISABLE_COPY(TorrentImpl)
|
Q_DISABLE_COPY_MOVE(TorrentImpl)
|
||||||
Q_DECLARE_TR_FUNCTIONS(BitTorrent::TorrentImpl)
|
Q_DECLARE_TR_FUNCTIONS(BitTorrent::TorrentImpl)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -72,7 +72,7 @@ namespace BitTorrent
|
|||||||
class Tracker final : public QObject, public Http::IRequestHandler, private Http::ResponseBuilder
|
class Tracker final : public QObject, public Http::IRequestHandler, private Http::ResponseBuilder
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Tracker)
|
Q_DISABLE_COPY_MOVE(Tracker)
|
||||||
|
|
||||||
struct TrackerAnnounceRequest;
|
struct TrackerAnnounceRequest;
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ namespace Http
|
|||||||
class Connection : public QObject
|
class Connection : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Connection)
|
Q_DISABLE_COPY_MOVE(Connection)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Connection(QTcpSocket *socket, IRequestHandler *requestHandler, QObject *parent = nullptr);
|
Connection(QTcpSocket *socket, IRequestHandler *requestHandler, QObject *parent = nullptr);
|
||||||
|
@ -43,7 +43,7 @@ namespace Http
|
|||||||
class Server final : public QTcpServer
|
class Server final : public QTcpServer
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Server)
|
Q_DISABLE_COPY_MOVE(Server)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Server(IRequestHandler *requestHandler, QObject *parent = nullptr);
|
explicit Server(IRequestHandler *requestHandler, QObject *parent = nullptr);
|
||||||
|
@ -35,7 +35,7 @@ class QString;
|
|||||||
|
|
||||||
class IconProvider : public QObject
|
class IconProvider : public QObject
|
||||||
{
|
{
|
||||||
Q_DISABLE_COPY(IconProvider)
|
Q_DISABLE_COPY_MOVE(IconProvider)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static void initInstance();
|
static void initInstance();
|
||||||
|
@ -72,7 +72,7 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(Log::MsgTypes)
|
|||||||
class Logger : public QObject
|
class Logger : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Logger)
|
Q_DISABLE_COPY_MOVE(Logger)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static void initInstance();
|
static void initInstance();
|
||||||
|
@ -39,7 +39,7 @@ class QUrl;
|
|||||||
class DownloadHandlerImpl final : public Net::DownloadHandler
|
class DownloadHandlerImpl final : public Net::DownloadHandler
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(DownloadHandlerImpl)
|
Q_DISABLE_COPY_MOVE(DownloadHandlerImpl)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DownloadHandlerImpl(Net::DownloadManager *manager, const Net::DownloadRequest &downloadRequest);
|
DownloadHandlerImpl(Net::DownloadManager *manager, const Net::DownloadRequest &downloadRequest);
|
||||||
|
@ -98,7 +98,7 @@ namespace Net
|
|||||||
class DownloadHandler : public QObject
|
class DownloadHandler : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(DownloadHandler)
|
Q_DISABLE_COPY_MOVE(DownloadHandler)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using QObject::QObject;
|
using QObject::QObject;
|
||||||
@ -112,7 +112,7 @@ namespace Net
|
|||||||
class DownloadManager : public QObject
|
class DownloadManager : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(DownloadManager)
|
Q_DISABLE_COPY_MOVE(DownloadManager)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static void initInstance();
|
static void initInstance();
|
||||||
|
@ -43,7 +43,7 @@ namespace Net
|
|||||||
class GeoIPManager : public QObject
|
class GeoIPManager : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(GeoIPManager)
|
Q_DISABLE_COPY_MOVE(GeoIPManager)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static void initInstance();
|
static void initInstance();
|
||||||
|
@ -34,7 +34,7 @@ namespace Net
|
|||||||
{
|
{
|
||||||
class PortForwarder : public QObject
|
class PortForwarder : public QObject
|
||||||
{
|
{
|
||||||
Q_DISABLE_COPY(PortForwarder)
|
Q_DISABLE_COPY_MOVE(PortForwarder)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit PortForwarder(QObject *parent = nullptr);
|
explicit PortForwarder(QObject *parent = nullptr);
|
||||||
|
@ -56,7 +56,7 @@ namespace Net
|
|||||||
class ProxyConfigurationManager : public QObject
|
class ProxyConfigurationManager : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(ProxyConfigurationManager)
|
Q_DISABLE_COPY_MOVE(ProxyConfigurationManager)
|
||||||
|
|
||||||
explicit ProxyConfigurationManager(QObject *parent = nullptr);
|
explicit ProxyConfigurationManager(QObject *parent = nullptr);
|
||||||
~ProxyConfigurationManager() = default;
|
~ProxyConfigurationManager() = default;
|
||||||
|
@ -40,7 +40,7 @@ namespace Net
|
|||||||
class ReverseResolution : public QObject
|
class ReverseResolution : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(ReverseResolution)
|
Q_DISABLE_COPY_MOVE(ReverseResolution)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit ReverseResolution(QObject *parent = nullptr);
|
explicit ReverseResolution(QObject *parent = nullptr);
|
||||||
|
@ -76,7 +76,7 @@ namespace DNS
|
|||||||
class Preferences : public QObject
|
class Preferences : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Preferences)
|
Q_DISABLE_COPY_MOVE(Preferences)
|
||||||
|
|
||||||
Preferences();
|
Preferences();
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ namespace RSS
|
|||||||
class Article : public QObject
|
class Article : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Article)
|
Q_DISABLE_COPY_MOVE(Article)
|
||||||
|
|
||||||
friend class Feed;
|
friend class Feed;
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ namespace RSS
|
|||||||
class AutoDownloader final : public QObject
|
class AutoDownloader final : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(AutoDownloader)
|
Q_DISABLE_COPY_MOVE(AutoDownloader)
|
||||||
|
|
||||||
friend class ::Application;
|
friend class ::Application;
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ namespace RSS
|
|||||||
class Feed final : public Item
|
class Feed final : public Item
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Feed)
|
Q_DISABLE_COPY_MOVE(Feed)
|
||||||
|
|
||||||
friend class Session;
|
friend class Session;
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ namespace RSS
|
|||||||
class Folder final : public Item
|
class Folder final : public Item
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Folder)
|
Q_DISABLE_COPY_MOVE(Folder)
|
||||||
|
|
||||||
friend class Session;
|
friend class Session;
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ namespace RSS
|
|||||||
class Item : public QObject
|
class Item : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Item)
|
Q_DISABLE_COPY_MOVE(Item)
|
||||||
|
|
||||||
friend class Folder;
|
friend class Folder;
|
||||||
friend class Session;
|
friend class Session;
|
||||||
|
@ -87,7 +87,7 @@ namespace RSS
|
|||||||
class Session : public QObject
|
class Session : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Session)
|
Q_DISABLE_COPY_MOVE(Session)
|
||||||
|
|
||||||
friend class ::Application;
|
friend class ::Application;
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ class SearchPluginManager;
|
|||||||
class SearchDownloadHandler : public QObject
|
class SearchDownloadHandler : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(SearchDownloadHandler)
|
Q_DISABLE_COPY_MOVE(SearchDownloadHandler)
|
||||||
|
|
||||||
friend class SearchPluginManager;
|
friend class SearchPluginManager;
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ class SearchPluginManager;
|
|||||||
class SearchHandler : public QObject
|
class SearchHandler : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(SearchHandler)
|
Q_DISABLE_COPY_MOVE(SearchHandler)
|
||||||
|
|
||||||
friend class SearchPluginManager;
|
friend class SearchPluginManager;
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ class SearchHandler;
|
|||||||
class SearchPluginManager : public QObject
|
class SearchPluginManager : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(SearchPluginManager)
|
Q_DISABLE_COPY_MOVE(SearchPluginManager)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SearchPluginManager();
|
SearchPluginManager();
|
||||||
|
@ -192,7 +192,7 @@ namespace
|
|||||||
class TorrentFilesWatcher::Worker final : public QObject
|
class TorrentFilesWatcher::Worker final : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Worker)
|
Q_DISABLE_COPY_MOVE(Worker)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Worker();
|
Worker();
|
||||||
|
@ -48,7 +48,7 @@ namespace BitTorrent
|
|||||||
class TorrentFilesWatcher final : public QObject
|
class TorrentFilesWatcher final : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TorrentFilesWatcher)
|
Q_DISABLE_COPY_MOVE(TorrentFilesWatcher)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
struct WatchedFolderOptions
|
struct WatchedFolderOptions
|
||||||
|
@ -40,7 +40,7 @@ namespace Ui
|
|||||||
class AboutDialog final : public QDialog
|
class AboutDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(AboutDialog)
|
Q_DISABLE_COPY_MOVE(AboutDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit AboutDialog(QWidget *parent);
|
explicit AboutDialog(QWidget *parent);
|
||||||
|
@ -59,7 +59,7 @@ class TorrentFileGuard;
|
|||||||
class AddNewTorrentDialog final : public QDialog
|
class AddNewTorrentDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(AddNewTorrentDialog)
|
Q_DISABLE_COPY_MOVE(AddNewTorrentDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static const int minPathHistoryLength = 0;
|
static const int minPathHistoryLength = 0;
|
||||||
|
@ -43,7 +43,7 @@ namespace Ui
|
|||||||
class BanListOptionsDialog final : public QDialog
|
class BanListOptionsDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(BanListOptionsDialog)
|
Q_DISABLE_COPY_MOVE(BanListOptionsDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit BanListOptionsDialog(QWidget *parent = nullptr);
|
explicit BanListOptionsDialog(QWidget *parent = nullptr);
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
class CategoryFilterWidget final : public QTreeView
|
class CategoryFilterWidget final : public QTreeView
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(CategoryFilterWidget)
|
Q_DISABLE_COPY_MOVE(CategoryFilterWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit CategoryFilterWidget(QWidget *parent = nullptr);
|
explicit CategoryFilterWidget(QWidget *parent = nullptr);
|
||||||
|
@ -40,7 +40,7 @@ namespace Ui
|
|||||||
class DownloadFromURLDialog final : public QDialog
|
class DownloadFromURLDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(DownloadFromURLDialog)
|
Q_DISABLE_COPY_MOVE(DownloadFromURLDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit DownloadFromURLDialog(QWidget *parent);
|
explicit DownloadFromURLDialog(QWidget *parent);
|
||||||
|
@ -68,7 +68,7 @@ namespace
|
|||||||
class FileSystemPathEdit::FileSystemPathEditPrivate
|
class FileSystemPathEdit::FileSystemPathEditPrivate
|
||||||
{
|
{
|
||||||
Q_DECLARE_PUBLIC(FileSystemPathEdit)
|
Q_DECLARE_PUBLIC(FileSystemPathEdit)
|
||||||
Q_DISABLE_COPY(FileSystemPathEditPrivate)
|
Q_DISABLE_COPY_MOVE(FileSystemPathEditPrivate)
|
||||||
|
|
||||||
FileSystemPathEditPrivate(FileSystemPathEdit *q, Private::FileEditorWithCompletion *editor);
|
FileSystemPathEditPrivate(FileSystemPathEdit *q, Private::FileEditorWithCompletion *editor);
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ private:
|
|||||||
virtual void setEditWidgetText(const QString &text) = 0;
|
virtual void setEditWidgetText(const QString &text) = 0;
|
||||||
|
|
||||||
QWidget *editWidgetImpl() const;
|
QWidget *editWidgetImpl() const;
|
||||||
Q_DISABLE_COPY(FileSystemPathEdit)
|
Q_DISABLE_COPY_MOVE(FileSystemPathEdit)
|
||||||
class FileSystemPathEditPrivate;
|
class FileSystemPathEditPrivate;
|
||||||
Q_DECLARE_PRIVATE(FileSystemPathEdit)
|
Q_DECLARE_PRIVATE(FileSystemPathEdit)
|
||||||
FileSystemPathEditPrivate *d_ptr;
|
FileSystemPathEditPrivate *d_ptr;
|
||||||
|
@ -112,7 +112,7 @@ namespace Private
|
|||||||
class FileLineEdit final : public QLineEdit, public FileEditorWithCompletion
|
class FileLineEdit final : public QLineEdit, public FileEditorWithCompletion
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(FileLineEdit)
|
Q_DISABLE_COPY_MOVE(FileLineEdit)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FileLineEdit(QWidget *parent = nullptr);
|
FileLineEdit(QWidget *parent = nullptr);
|
||||||
|
@ -43,7 +43,7 @@ namespace Ui
|
|||||||
class IPSubnetWhitelistOptionsDialog final : public QDialog
|
class IPSubnetWhitelistOptionsDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(IPSubnetWhitelistOptionsDialog)
|
Q_DISABLE_COPY_MOVE(IPSubnetWhitelistOptionsDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit IPSubnetWhitelistOptionsDialog(QWidget *parent = nullptr);
|
explicit IPSubnetWhitelistOptionsDialog(QWidget *parent = nullptr);
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
class LogFilterModel final : public QSortFilterProxyModel
|
class LogFilterModel final : public QSortFilterProxyModel
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(LogFilterModel)
|
Q_DISABLE_COPY_MOVE(LogFilterModel)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit LogFilterModel(Log::MsgTypes types = Log::ALL, QObject *parent = nullptr);
|
explicit LogFilterModel(Log::MsgTypes types = Log::ALL, QObject *parent = nullptr);
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
class LogListView final : public QListView
|
class LogListView final : public QListView
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(LogListView)
|
Q_DISABLE_COPY_MOVE(LogListView)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit LogListView(QWidget *parent = nullptr);
|
explicit LogListView(QWidget *parent = nullptr);
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
class BaseLogModel : public QAbstractListModel
|
class BaseLogModel : public QAbstractListModel
|
||||||
{
|
{
|
||||||
Q_DISABLE_COPY(BaseLogModel)
|
Q_DISABLE_COPY_MOVE(BaseLogModel)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum MessageTypeRole
|
enum MessageTypeRole
|
||||||
@ -86,7 +86,7 @@ private:
|
|||||||
class LogMessageModel : public BaseLogModel
|
class LogMessageModel : public BaseLogModel
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(LogMessageModel)
|
Q_DISABLE_COPY_MOVE(LogMessageModel)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit LogMessageModel(QObject *parent = nullptr);
|
explicit LogMessageModel(QObject *parent = nullptr);
|
||||||
@ -101,7 +101,7 @@ private:
|
|||||||
class LogPeerModel : public BaseLogModel
|
class LogPeerModel : public BaseLogModel
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(LogPeerModel)
|
Q_DISABLE_COPY_MOVE(LogPeerModel)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit LogPeerModel(QObject *parent = nullptr);
|
explicit LogPeerModel(QObject *parent = nullptr);
|
||||||
|
@ -59,7 +59,7 @@ namespace Ui
|
|||||||
class OptionsDialog final : public QDialog
|
class OptionsDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(OptionsDialog)
|
Q_DISABLE_COPY_MOVE(OptionsDialog)
|
||||||
|
|
||||||
using ThisType = OptionsDialog;
|
using ThisType = OptionsDialog;
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
class PreviewListDelegate final : public QItemDelegate
|
class PreviewListDelegate final : public QItemDelegate
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(PreviewListDelegate)
|
Q_DISABLE_COPY_MOVE(PreviewListDelegate)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit PreviewListDelegate(QObject *parent = nullptr);
|
explicit PreviewListDelegate(QObject *parent = nullptr);
|
||||||
|
@ -47,7 +47,7 @@ class PreviewListDelegate;
|
|||||||
class PreviewSelectDialog final : public QDialog
|
class PreviewSelectDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(PreviewSelectDialog)
|
Q_DISABLE_COPY_MOVE(PreviewSelectDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum PreviewColumn
|
enum PreviewColumn
|
||||||
|
@ -41,7 +41,7 @@ namespace Net
|
|||||||
class ProgramUpdater final : public QObject
|
class ProgramUpdater final : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(ProgramUpdater)
|
Q_DISABLE_COPY_MOVE(ProgramUpdater)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using QObject::QObject;
|
using QObject::QObject;
|
||||||
|
@ -39,7 +39,7 @@ class DownloadedPiecesBar final : public PiecesBar
|
|||||||
{
|
{
|
||||||
using base = PiecesBar;
|
using base = PiecesBar;
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(DownloadedPiecesBar)
|
Q_DISABLE_COPY_MOVE(DownloadedPiecesBar)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DownloadedPiecesBar(QWidget *parent);
|
DownloadedPiecesBar(QWidget *parent);
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
class PeerListSortModel final : public QSortFilterProxyModel
|
class PeerListSortModel final : public QSortFilterProxyModel
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(PeerListSortModel)
|
Q_DISABLE_COPY_MOVE(PeerListSortModel)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum
|
enum
|
||||||
|
@ -34,7 +34,7 @@ class PieceAvailabilityBar final : public PiecesBar
|
|||||||
{
|
{
|
||||||
using base = PiecesBar;
|
using base = PiecesBar;
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(PieceAvailabilityBar)
|
Q_DISABLE_COPY_MOVE(PieceAvailabilityBar)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
PieceAvailabilityBar(QWidget *parent);
|
PieceAvailabilityBar(QWidget *parent);
|
||||||
|
@ -44,7 +44,7 @@ class PiecesBar : public QWidget
|
|||||||
{
|
{
|
||||||
using base = QWidget;
|
using base = QWidget;
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(PiecesBar)
|
Q_DISABLE_COPY_MOVE(PiecesBar)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit PiecesBar(QWidget *parent = nullptr);
|
explicit PiecesBar(QWidget *parent = nullptr);
|
||||||
|
@ -56,7 +56,7 @@ namespace Ui
|
|||||||
class PropertiesWidget : public QWidget
|
class PropertiesWidget : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(PropertiesWidget)
|
Q_DISABLE_COPY_MOVE(PropertiesWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum SlideState
|
enum SlideState
|
||||||
|
@ -52,7 +52,7 @@ enum PropColumn
|
|||||||
class PropListDelegate final : public QStyledItemDelegate
|
class PropListDelegate final : public QStyledItemDelegate
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(PropListDelegate)
|
Q_DISABLE_COPY_MOVE(PropListDelegate)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit PropListDelegate(PropertiesWidget *properties);
|
explicit PropListDelegate(PropertiesWidget *properties);
|
||||||
|
@ -35,7 +35,7 @@ class QButtonGroup;
|
|||||||
class PropTabBar : public QHBoxLayout
|
class PropTabBar : public QHBoxLayout
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(PropTabBar)
|
Q_DISABLE_COPY_MOVE(PropTabBar)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum PropertyTab
|
enum PropertyTab
|
||||||
|
@ -41,7 +41,7 @@ namespace BitTorrent
|
|||||||
class TrackerListWidget : public QTreeWidget
|
class TrackerListWidget : public QTreeWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TrackerListWidget)
|
Q_DISABLE_COPY_MOVE(TrackerListWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum TrackerListColumn
|
enum TrackerListColumn
|
||||||
|
@ -52,7 +52,7 @@ namespace Ui
|
|||||||
class AutomatedRssDownloader : public QDialog
|
class AutomatedRssDownloader : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(AutomatedRssDownloader)
|
Q_DISABLE_COPY_MOVE(AutomatedRssDownloader)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit AutomatedRssDownloader(QWidget *parent = nullptr);
|
explicit AutomatedRssDownloader(QWidget *parent = nullptr);
|
||||||
|
@ -51,7 +51,7 @@ namespace Ui
|
|||||||
class PluginSelectDialog final : public QDialog
|
class PluginSelectDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(PluginSelectDialog)
|
Q_DISABLE_COPY_MOVE(PluginSelectDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit PluginSelectDialog(SearchPluginManager *pluginManager, QWidget *parent = nullptr);
|
explicit PluginSelectDialog(SearchPluginManager *pluginManager, QWidget *parent = nullptr);
|
||||||
|
@ -40,7 +40,7 @@ namespace Ui
|
|||||||
class PluginSourceDialog final : public QDialog
|
class PluginSourceDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(PluginSourceDialog)
|
Q_DISABLE_COPY_MOVE(PluginSourceDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit PluginSourceDialog(QWidget *parent = nullptr);
|
explicit PluginSourceDialog(QWidget *parent = nullptr);
|
||||||
|
@ -53,7 +53,7 @@ namespace Ui
|
|||||||
class SearchJobWidget final : public QWidget
|
class SearchJobWidget final : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(SearchJobWidget)
|
Q_DISABLE_COPY_MOVE(SearchJobWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum class NameFilteringMode
|
enum class NameFilteringMode
|
||||||
|
@ -49,7 +49,7 @@ namespace Ui
|
|||||||
class SearchWidget : public QWidget
|
class SearchWidget : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(SearchWidget)
|
Q_DISABLE_COPY_MOVE(SearchWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit SearchWidget(MainWindow *mainWindow);
|
explicit SearchWidget(MainWindow *mainWindow);
|
||||||
|
@ -40,7 +40,7 @@ namespace Ui
|
|||||||
class SpeedLimitDialog final : public QDialog
|
class SpeedLimitDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(SpeedLimitDialog)
|
Q_DISABLE_COPY_MOVE(SpeedLimitDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit SpeedLimitDialog(QWidget *parent);
|
explicit SpeedLimitDialog(QWidget *parent);
|
||||||
|
@ -40,7 +40,7 @@ namespace Ui
|
|||||||
class StatsDialog final : public QDialog
|
class StatsDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(StatsDialog)
|
Q_DISABLE_COPY_MOVE(StatsDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit StatsDialog(QWidget *parent);
|
explicit StatsDialog(QWidget *parent);
|
||||||
|
@ -41,7 +41,7 @@ namespace BitTorrent
|
|||||||
class StatusBar : public QStatusBar
|
class StatusBar : public QStatusBar
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(StatusBar)
|
Q_DISABLE_COPY_MOVE(StatusBar)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
StatusBar(QWidget *parent = nullptr);
|
StatusBar(QWidget *parent = nullptr);
|
||||||
|
@ -38,7 +38,7 @@ namespace Ui
|
|||||||
class TorrentCategoryDialog : public QDialog
|
class TorrentCategoryDialog : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TorrentCategoryDialog)
|
Q_DISABLE_COPY_MOVE(TorrentCategoryDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static QString createCategory(QWidget *parent, const QString &parentCategoryName = {});
|
static QString createCategory(QWidget *parent, const QString &parentCategoryName = {});
|
||||||
|
@ -47,7 +47,7 @@ namespace BitTorrent
|
|||||||
class TorrentContentModel final : public QAbstractItemModel
|
class TorrentContentModel final : public QAbstractItemModel
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TorrentContentModel)
|
Q_DISABLE_COPY_MOVE(TorrentContentModel)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum Roles
|
enum Roles
|
||||||
|
@ -40,7 +40,7 @@ namespace BitTorrent
|
|||||||
class TorrentContentTreeView final : public QTreeView
|
class TorrentContentTreeView final : public QTreeView
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TorrentContentTreeView)
|
Q_DISABLE_COPY_MOVE(TorrentContentTreeView)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit TorrentContentTreeView(QWidget *parent = nullptr);
|
explicit TorrentContentTreeView(QWidget *parent = nullptr);
|
||||||
|
@ -48,7 +48,7 @@ namespace Ui
|
|||||||
class TorrentOptionsDialog final : public QDialog
|
class TorrentOptionsDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TorrentOptionsDialog)
|
Q_DISABLE_COPY_MOVE(TorrentOptionsDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit TorrentOptionsDialog(QWidget *parent, const QVector<BitTorrent::Torrent *> &torrents);
|
explicit TorrentOptionsDialog(QWidget *parent, const QVector<BitTorrent::Torrent *> &torrents);
|
||||||
|
@ -46,7 +46,7 @@ namespace Ui
|
|||||||
class TrackerEntriesDialog : public QDialog
|
class TrackerEntriesDialog : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TrackerEntriesDialog)
|
Q_DISABLE_COPY_MOVE(TrackerEntriesDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit TrackerEntriesDialog(QWidget *parent);
|
explicit TrackerEntriesDialog(QWidget *parent);
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
class TransferListDelegate final : public QStyledItemDelegate
|
class TransferListDelegate final : public QStyledItemDelegate
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TransferListDelegate)
|
Q_DISABLE_COPY_MOVE(TransferListDelegate)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit TransferListDelegate(QObject *parent);
|
explicit TransferListDelegate(QObject *parent);
|
||||||
|
@ -52,7 +52,7 @@ namespace Net
|
|||||||
class BaseFilterWidget : public QListWidget
|
class BaseFilterWidget : public QListWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(BaseFilterWidget)
|
Q_DISABLE_COPY_MOVE(BaseFilterWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BaseFilterWidget(QWidget *parent, TransferListWidget *transferList);
|
BaseFilterWidget(QWidget *parent, TransferListWidget *transferList);
|
||||||
@ -76,7 +76,7 @@ private slots:
|
|||||||
class StatusFilterWidget final : public BaseFilterWidget
|
class StatusFilterWidget final : public BaseFilterWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(StatusFilterWidget)
|
Q_DISABLE_COPY_MOVE(StatusFilterWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
StatusFilterWidget(QWidget *parent, TransferListWidget *transferList);
|
StatusFilterWidget(QWidget *parent, TransferListWidget *transferList);
|
||||||
@ -97,7 +97,7 @@ private:
|
|||||||
class TrackerFiltersList final : public BaseFilterWidget
|
class TrackerFiltersList final : public BaseFilterWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TrackerFiltersList)
|
Q_DISABLE_COPY_MOVE(TrackerFiltersList)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TrackerFiltersList(QWidget *parent, TransferListWidget *transferList, bool downloadFavicon);
|
TrackerFiltersList(QWidget *parent, TransferListWidget *transferList, bool downloadFavicon);
|
||||||
@ -143,7 +143,7 @@ class TagFilterWidget;
|
|||||||
class TransferListFiltersWidget final : public QFrame
|
class TransferListFiltersWidget final : public QFrame
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TransferListFiltersWidget)
|
Q_DISABLE_COPY_MOVE(TransferListFiltersWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TransferListFiltersWidget(QWidget *parent, TransferListWidget *transferList, bool downloadFavicon);
|
TransferListFiltersWidget(QWidget *parent, TransferListWidget *transferList, bool downloadFavicon);
|
||||||
|
@ -44,7 +44,7 @@ namespace BitTorrent
|
|||||||
class TransferListModel final : public QAbstractListModel
|
class TransferListModel final : public QAbstractListModel
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TransferListModel)
|
Q_DISABLE_COPY_MOVE(TransferListModel)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum Column
|
enum Column
|
||||||
|
@ -42,7 +42,7 @@ namespace BitTorrent
|
|||||||
class TransferListSortModel final : public QSortFilterProxyModel
|
class TransferListSortModel final : public QSortFilterProxyModel
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TransferListSortModel)
|
Q_DISABLE_COPY_MOVE(TransferListSortModel)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit TransferListSortModel(QObject *parent = nullptr);
|
explicit TransferListSortModel(QObject *parent = nullptr);
|
||||||
|
@ -35,7 +35,7 @@ class QString;
|
|||||||
class TriStateWidget final : public QWidget
|
class TriStateWidget final : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TriStateWidget)
|
Q_DISABLE_COPY_MOVE(TriStateWidget)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TriStateWidget(const QString &text, QWidget *parent);
|
TriStateWidget(const QString &text, QWidget *parent);
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
class UIThemeManager : public QObject
|
class UIThemeManager : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(UIThemeManager)
|
Q_DISABLE_COPY_MOVE(UIThemeManager)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static void initInstance();
|
static void initInstance();
|
||||||
|
@ -41,7 +41,7 @@ namespace Ui
|
|||||||
class WatchedFolderOptionsDialog final : public QDialog
|
class WatchedFolderOptionsDialog final : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(WatchedFolderOptionsDialog)
|
Q_DISABLE_COPY_MOVE(WatchedFolderOptionsDialog)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit WatchedFolderOptionsDialog(const TorrentFilesWatcher::WatchedFolderOptions &watchedFolderOptions, QWidget *parent);
|
explicit WatchedFolderOptionsDialog(const TorrentFilesWatcher::WatchedFolderOptions &watchedFolderOptions, QWidget *parent);
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
class WatchedFoldersModel final : public QAbstractListModel
|
class WatchedFoldersModel final : public QAbstractListModel
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(WatchedFoldersModel)
|
Q_DISABLE_COPY_MOVE(WatchedFoldersModel)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit WatchedFoldersModel(TorrentFilesWatcher *fsWatcher, QObject *parent = nullptr);
|
explicit WatchedFoldersModel(TorrentFilesWatcher *fsWatcher, QObject *parent = nullptr);
|
||||||
|
@ -42,7 +42,7 @@ using StringMap = QHash<QString, QString>;
|
|||||||
class APIController : public QObject
|
class APIController : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(APIController)
|
Q_DISABLE_COPY_MOVE(APIController)
|
||||||
|
|
||||||
#ifndef Q_MOC_RUN
|
#ifndef Q_MOC_RUN
|
||||||
#define WEBAPI_PUBLIC
|
#define WEBAPI_PUBLIC
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
class AppController : public APIController
|
class AppController : public APIController
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(AppController)
|
Q_DISABLE_COPY_MOVE(AppController)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using APIController::APIController;
|
using APIController::APIController;
|
||||||
|
@ -38,7 +38,7 @@ class QString;
|
|||||||
class AuthController : public APIController
|
class AuthController : public APIController
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(AuthController)
|
Q_DISABLE_COPY_MOVE(AuthController)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using APIController::APIController;
|
using APIController::APIController;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
class FreeDiskSpaceChecker : public QObject
|
class FreeDiskSpaceChecker : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(FreeDiskSpaceChecker)
|
Q_DISABLE_COPY_MOVE(FreeDiskSpaceChecker)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FreeDiskSpaceChecker() = default;
|
FreeDiskSpaceChecker() = default;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
class LogController final : public APIController
|
class LogController final : public APIController
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(LogController)
|
Q_DISABLE_COPY_MOVE(LogController)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using APIController::APIController;
|
using APIController::APIController;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
class RSSController final : public APIController
|
class RSSController final : public APIController
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(RSSController)
|
Q_DISABLE_COPY_MOVE(RSSController)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using APIController::APIController;
|
using APIController::APIController;
|
||||||
|
@ -42,7 +42,7 @@ struct SearchResult;
|
|||||||
class SearchController : public APIController
|
class SearchController : public APIController
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(SearchController)
|
Q_DISABLE_COPY_MOVE(SearchController)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using APIController::APIController;
|
using APIController::APIController;
|
||||||
|
@ -41,7 +41,7 @@ class FreeDiskSpaceChecker;
|
|||||||
class SyncController : public APIController
|
class SyncController : public APIController
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(SyncController)
|
Q_DISABLE_COPY_MOVE(SyncController)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using APIController::APIController;
|
using APIController::APIController;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
class TorrentsController : public APIController
|
class TorrentsController : public APIController
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TorrentsController)
|
Q_DISABLE_COPY_MOVE(TorrentsController)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using APIController::APIController;
|
using APIController::APIController;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
class TransferController : public APIController
|
class TransferController : public APIController
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(TransferController)
|
Q_DISABLE_COPY_MOVE(TransferController)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
using APIController::APIController;
|
using APIController::APIController;
|
||||||
|
@ -72,7 +72,7 @@ class WebApplication final
|
|||||||
, private Http::ResponseBuilder
|
, private Http::ResponseBuilder
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(WebApplication)
|
Q_DISABLE_COPY_MOVE(WebApplication)
|
||||||
|
|
||||||
#ifndef Q_MOC_RUN
|
#ifndef Q_MOC_RUN
|
||||||
#define WEBAPI_PUBLIC
|
#define WEBAPI_PUBLIC
|
||||||
|
@ -46,7 +46,7 @@ class WebApplication;
|
|||||||
class WebUI : public QObject
|
class WebUI : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(WebUI)
|
Q_DISABLE_COPY_MOVE(WebUI)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
WebUI();
|
WebUI();
|
||||||
|
Loading…
Reference in New Issue
Block a user