Browse Source

Forward declare classes where possible in 'TransferListWidget'.

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
f9aee5e3ab
  1. 2
      src/transferlistwidget.cpp
  2. 8
      src/transferlistwidget.h

2
src/transferlistwidget.cpp

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

8
src/transferlistwidget.h

@ -31,19 +31,19 @@ @@ -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

Loading…
Cancel
Save