mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-05 15:12:32 -06:00
Follow project coding style. Issue #2192.
This commit is contained in:
@@ -33,19 +33,19 @@
|
||||
|
||||
#include "torrentcontentmodelitem.h"
|
||||
|
||||
class TorrentContentModelFile : public TorrentContentModelItem
|
||||
class TorrentContentModelFile: public TorrentContentModelItem
|
||||
{
|
||||
public:
|
||||
TorrentContentModelFile(const QString &fileName, qulonglong fileSize,
|
||||
TorrentContentModelFolder* parent, int file_index);
|
||||
TorrentContentModelFile(const QString &fileName, qulonglong fileSize,
|
||||
TorrentContentModelFolder *parent, int fileIndex);
|
||||
|
||||
int fileIndex() const;
|
||||
void setPriority(int new_prio, bool update_parent = true);
|
||||
void setProgress(qreal progress);
|
||||
ItemType itemType() const { return FileType; }
|
||||
int fileIndex() const;
|
||||
void setPriority(int newPriority, bool updateParent = true) override;
|
||||
void setProgress(qreal progress);
|
||||
ItemType itemType() const override;
|
||||
|
||||
private:
|
||||
int m_fileIndex;
|
||||
int m_fileIndex;
|
||||
};
|
||||
|
||||
#endif // TORRENTCONTENTMODELFILE_H
|
||||
|
||||
Reference in New Issue
Block a user