mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
Forward declare classes where possible in 'TransferListWidget'.
This commit is contained in:
parent
baf9d21072
commit
f9aee5e3ab
2 changed files with 6 additions and 4 deletions
|
@ -28,6 +28,7 @@
|
||||||
* Contact : chris@qbittorrent.org
|
* Contact : chris@qbittorrent.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <QShortcut>
|
||||||
#include <QStandardItemModel>
|
#include <QStandardItemModel>
|
||||||
#include <QSortFilterProxyModel>
|
#include <QSortFilterProxyModel>
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
|
@ -61,6 +62,7 @@
|
||||||
#include "fs_utils.h"
|
#include "fs_utils.h"
|
||||||
#include "autoexpandabledialog.h"
|
#include "autoexpandabledialog.h"
|
||||||
#include "statussortfilterproxymodel.h"
|
#include "statussortfilterproxymodel.h"
|
||||||
|
#include "transferlistsortmodel.h"
|
||||||
|
|
||||||
using namespace libtorrent;
|
using namespace libtorrent;
|
||||||
|
|
||||||
|
|
|
@ -31,19 +31,19 @@
|
||||||
#ifndef TRANSFERLISTWIDGET_H
|
#ifndef TRANSFERLISTWIDGET_H
|
||||||
#define TRANSFERLISTWIDGET_H
|
#define TRANSFERLISTWIDGET_H
|
||||||
|
|
||||||
#include <QShortcut>
|
|
||||||
#include <QTreeView>
|
#include <QTreeView>
|
||||||
#include <libtorrent/version.hpp>
|
#include <libtorrent/version.hpp>
|
||||||
#include "qtorrenthandle.h"
|
|
||||||
#include "transferlistsortmodel.h"
|
|
||||||
|
|
||||||
class QBtSession;
|
class QBtSession;
|
||||||
class TransferListDelegate;
|
class QTorrentHandle;
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
|
class TransferListDelegate;
|
||||||
|
class TransferListSortModel;
|
||||||
class TorrentModel;
|
class TorrentModel;
|
||||||
class StatusSortFilterProxyModel;
|
class StatusSortFilterProxyModel;
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
class QShortcut;
|
||||||
class QSortFilterProxyModel;
|
class QSortFilterProxyModel;
|
||||||
class QStandardItemModel;
|
class QStandardItemModel;
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue