Forward declare classes where possible in 'TransferListWidget'.

This commit is contained in:
sledgehammer999 2014-09-13 16:12:07 +03:00
parent baf9d21072
commit f9aee5e3ab
2 changed files with 6 additions and 4 deletions

View file

@ -28,6 +28,7 @@
* Contact : chris@qbittorrent.org
*/
#include <QShortcut>
#include <QStandardItemModel>
#include <QSortFilterProxyModel>
#include <QDesktopServices>
@ -61,6 +62,7 @@
#include "fs_utils.h"
#include "autoexpandabledialog.h"
#include "statussortfilterproxymodel.h"
#include "transferlistsortmodel.h"
using namespace libtorrent;

View file

@ -31,19 +31,19 @@
#ifndef TRANSFERLISTWIDGET_H
#define TRANSFERLISTWIDGET_H
#include <QShortcut>
#include <QTreeView>
#include <libtorrent/version.hpp>
#include "qtorrenthandle.h"
#include "transferlistsortmodel.h"
class QBtSession;
class TransferListDelegate;
class QTorrentHandle;
class MainWindow;
class TransferListDelegate;
class TransferListSortModel;
class TorrentModel;
class StatusSortFilterProxyModel;
QT_BEGIN_NAMESPACE
class QShortcut;
class QSortFilterProxyModel;
class QStandardItemModel;
QT_END_NAMESPACE