mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
Disable move constructor where it is sensible
This commit is contained in:
@@ -39,7 +39,7 @@ class DownloadedPiecesBar final : public PiecesBar
|
||||
{
|
||||
using base = PiecesBar;
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(DownloadedPiecesBar)
|
||||
Q_DISABLE_COPY_MOVE(DownloadedPiecesBar)
|
||||
|
||||
public:
|
||||
DownloadedPiecesBar(QWidget *parent);
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
class PeerListSortModel final : public QSortFilterProxyModel
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(PeerListSortModel)
|
||||
Q_DISABLE_COPY_MOVE(PeerListSortModel)
|
||||
|
||||
public:
|
||||
enum
|
||||
|
||||
@@ -34,7 +34,7 @@ class PieceAvailabilityBar final : public PiecesBar
|
||||
{
|
||||
using base = PiecesBar;
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(PieceAvailabilityBar)
|
||||
Q_DISABLE_COPY_MOVE(PieceAvailabilityBar)
|
||||
|
||||
public:
|
||||
PieceAvailabilityBar(QWidget *parent);
|
||||
|
||||
@@ -44,7 +44,7 @@ class PiecesBar : public QWidget
|
||||
{
|
||||
using base = QWidget;
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(PiecesBar)
|
||||
Q_DISABLE_COPY_MOVE(PiecesBar)
|
||||
|
||||
public:
|
||||
explicit PiecesBar(QWidget *parent = nullptr);
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace Ui
|
||||
class PropertiesWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(PropertiesWidget)
|
||||
Q_DISABLE_COPY_MOVE(PropertiesWidget)
|
||||
|
||||
public:
|
||||
enum SlideState
|
||||
|
||||
@@ -52,7 +52,7 @@ enum PropColumn
|
||||
class PropListDelegate final : public QStyledItemDelegate
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(PropListDelegate)
|
||||
Q_DISABLE_COPY_MOVE(PropListDelegate)
|
||||
|
||||
public:
|
||||
explicit PropListDelegate(PropertiesWidget *properties);
|
||||
|
||||
@@ -35,7 +35,7 @@ class QButtonGroup;
|
||||
class PropTabBar : public QHBoxLayout
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(PropTabBar)
|
||||
Q_DISABLE_COPY_MOVE(PropTabBar)
|
||||
|
||||
public:
|
||||
enum PropertyTab
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace BitTorrent
|
||||
class TrackerListWidget : public QTreeWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(TrackerListWidget)
|
||||
Q_DISABLE_COPY_MOVE(TrackerListWidget)
|
||||
|
||||
public:
|
||||
enum TrackerListColumn
|
||||
|
||||
Reference in New Issue
Block a user