mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-05 15:12:32 -06:00
Replace prio namespace with FilePriority enum class
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#ifndef TORRENTCONTENTMODELFILE_H
|
||||
#define TORRENTCONTENTMODELFILE_H
|
||||
|
||||
#include "base/bittorrent/filepriority.h"
|
||||
#include "torrentcontentmodelitem.h"
|
||||
|
||||
class TorrentContentModelFile : public TorrentContentModelItem
|
||||
@@ -38,7 +39,7 @@ public:
|
||||
TorrentContentModelFolder *parent, int fileIndex);
|
||||
|
||||
int fileIndex() const;
|
||||
void setPriority(int newPriority, bool updateParent = true) override;
|
||||
void setPriority(BitTorrent::FilePriority newPriority, bool updateParent = true) override;
|
||||
void setProgress(qreal progress);
|
||||
void setAvailability(qreal availability);
|
||||
ItemType itemType() const override;
|
||||
|
||||
Reference in New Issue
Block a user