mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 00:52:30 -06:00
committed by
GitHub
parent
d2fceaa228
commit
5ef2a1df07
@@ -42,7 +42,7 @@ public:
|
||||
TorrentContentModelFolder(const QString &name, TorrentContentModelFolder *parent);
|
||||
|
||||
// Invisible root item constructor
|
||||
explicit TorrentContentModelFolder(const QVector<QString> &data);
|
||||
explicit TorrentContentModelFolder(const QList<QString> &data);
|
||||
|
||||
~TorrentContentModelFolder() override;
|
||||
|
||||
@@ -56,11 +56,11 @@ public:
|
||||
void setPriority(BitTorrent::DownloadPriority newPriority, bool updateParent = true) override;
|
||||
|
||||
void deleteAllChildren();
|
||||
const QVector<TorrentContentModelItem*> &children() const;
|
||||
const QList<TorrentContentModelItem*> &children() const;
|
||||
void appendChild(TorrentContentModelItem *item);
|
||||
TorrentContentModelItem *child(int row) const;
|
||||
int childCount() const;
|
||||
|
||||
private:
|
||||
QVector<TorrentContentModelItem *> m_childItems;
|
||||
QList<TorrentContentModelItem *> m_childItems;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user