Redesign main core classes.

This commit is contained in:
Vladimir Golovnev (Glassez) 2015-04-19 18:17:47 +03:00
parent 60c0939e05
commit d16d1fdb3a
152 changed files with 11366 additions and 8967 deletions

View file

@ -34,7 +34,7 @@
#include <QDialog>
#include <QList>
#include "ui_preview.h"
#include "qtorrenthandle.h"
#include "core/bittorrent/torrenthandle.h"
class PreviewListDelegate;
@ -49,7 +49,7 @@ public:
enum PreviewColumn { NAME, SIZE, PROGRESS, FILE_INDEX, NB_COLUMNS };
public:
PreviewSelect(QWidget* parent, QTorrentHandle h);
PreviewSelect(QWidget* parent, BitTorrent::TorrentHandle *const torrent);
~PreviewSelect();
signals:
@ -62,8 +62,7 @@ protected slots:
private:
QStandardItemModel *previewListModel;
PreviewListDelegate *listDelegate;
QTorrentHandle h;
BitTorrent::TorrentHandle *const m_torrent;
};
#endif