Follow project coding style. Issue #2192.

This commit is contained in:
Eugene Shalygin
2016-03-22 16:16:03 +01:00
parent a997b7d078
commit 114c9a8421
7 changed files with 253 additions and 219 deletions

View File

@@ -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