mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Forward declare some classes
This commit is contained in:
parent
599bfc0735
commit
cc663746eb
@ -31,13 +31,13 @@
|
|||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
class CookiesModel;
|
||||||
|
|
||||||
namespace Ui
|
namespace Ui
|
||||||
{
|
{
|
||||||
class CookiesDialog;
|
class CookiesDialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
class CookiesModel;
|
|
||||||
|
|
||||||
class CookiesDialog : public QDialog
|
class CookiesDialog : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -32,11 +32,12 @@
|
|||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include "base/logger.h"
|
#include "base/logger.h"
|
||||||
|
|
||||||
|
class LogListWidget;
|
||||||
|
|
||||||
namespace Ui
|
namespace Ui
|
||||||
{
|
{
|
||||||
class ExecutionLogWidget;
|
class ExecutionLogWidget;
|
||||||
}
|
}
|
||||||
class LogListWidget;
|
|
||||||
|
|
||||||
class ExecutionLogWidget : public QWidget
|
class ExecutionLogWidget : public QWidget
|
||||||
{
|
{
|
||||||
|
@ -42,11 +42,6 @@ class PeerListDelegate;
|
|||||||
class PeerListSortModel;
|
class PeerListSortModel;
|
||||||
class PropertiesWidget;
|
class PropertiesWidget;
|
||||||
|
|
||||||
namespace Net
|
|
||||||
{
|
|
||||||
class ReverseResolution;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace BitTorrent
|
namespace BitTorrent
|
||||||
{
|
{
|
||||||
class TorrentHandle;
|
class TorrentHandle;
|
||||||
@ -54,6 +49,11 @@ namespace BitTorrent
|
|||||||
struct PeerAddress;
|
struct PeerAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace Net
|
||||||
|
{
|
||||||
|
class ReverseResolution;
|
||||||
|
}
|
||||||
|
|
||||||
class PeerListWidget : public QTreeView
|
class PeerListWidget : public QTreeView
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
|
|
||||||
#include "base/bittorrent/downloadpriority.h"
|
#include "base/bittorrent/downloadpriority.h"
|
||||||
#include "base/bittorrent/session.h"
|
#include "base/bittorrent/session.h"
|
||||||
|
#include "base/bittorrent/torrenthandle.h"
|
||||||
#include "base/preferences.h"
|
#include "base/preferences.h"
|
||||||
#include "base/unicodestrings.h"
|
#include "base/unicodestrings.h"
|
||||||
#include "base/utils/fs.h"
|
#include "base/utils/fs.h"
|
||||||
|
@ -32,8 +32,6 @@
|
|||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "base/bittorrent/torrenthandle.h"
|
|
||||||
|
|
||||||
class QPushButton;
|
class QPushButton;
|
||||||
class QTreeView;
|
class QTreeView;
|
||||||
|
|
||||||
@ -46,6 +44,11 @@ class PropTabBar;
|
|||||||
class TorrentContentFilterModel;
|
class TorrentContentFilterModel;
|
||||||
class TrackerListWidget;
|
class TrackerListWidget;
|
||||||
|
|
||||||
|
namespace BitTorrent
|
||||||
|
{
|
||||||
|
class TorrentHandle;
|
||||||
|
}
|
||||||
|
|
||||||
namespace Ui
|
namespace Ui
|
||||||
{
|
{
|
||||||
class PropertiesWidget;
|
class PropertiesWidget;
|
||||||
|
@ -41,6 +41,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "base/bittorrent/downloadpriority.h"
|
#include "base/bittorrent/downloadpriority.h"
|
||||||
|
#include "base/bittorrent/torrenthandle.h"
|
||||||
#include "base/unicodestrings.h"
|
#include "base/unicodestrings.h"
|
||||||
#include "base/utils/misc.h"
|
#include "base/utils/misc.h"
|
||||||
#include "base/utils/string.h"
|
#include "base/utils/string.h"
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
#include "base/bittorrent/sessionstatus.h"
|
#include "base/bittorrent/sessionstatus.h"
|
||||||
#include "base/preferences.h"
|
#include "base/preferences.h"
|
||||||
#include "propertieswidget.h"
|
#include "propertieswidget.h"
|
||||||
|
#include "speedplotview.h"
|
||||||
|
|
||||||
ComboBoxMenuButton::ComboBoxMenuButton(QWidget *parent, QMenu *menu)
|
ComboBoxMenuButton::ComboBoxMenuButton(QWidget *parent, QMenu *menu)
|
||||||
: QComboBox(parent)
|
: QComboBox(parent)
|
||||||
|
@ -32,14 +32,13 @@
|
|||||||
#include <QComboBox>
|
#include <QComboBox>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "speedplotview.h"
|
|
||||||
|
|
||||||
class QHBoxLayout;
|
class QHBoxLayout;
|
||||||
class QLabel;
|
class QLabel;
|
||||||
class QMenu;
|
class QMenu;
|
||||||
class QVBoxLayout;
|
class QVBoxLayout;
|
||||||
|
|
||||||
class PropertiesWidget;
|
class PropertiesWidget;
|
||||||
|
class SpeedPlotView;
|
||||||
|
|
||||||
class ComboBoxMenuButton : public QComboBox
|
class ComboBoxMenuButton : public QComboBox
|
||||||
{
|
{
|
||||||
|
@ -38,14 +38,14 @@ class QHeaderView;
|
|||||||
class QModelIndex;
|
class QModelIndex;
|
||||||
class QStandardItemModel;
|
class QStandardItemModel;
|
||||||
|
|
||||||
template <typename T> class CachedSettingValue;
|
|
||||||
|
|
||||||
class LineEdit;
|
class LineEdit;
|
||||||
class SearchHandler;
|
class SearchHandler;
|
||||||
class SearchListDelegate;
|
class SearchListDelegate;
|
||||||
class SearchSortModel;
|
class SearchSortModel;
|
||||||
struct SearchResult;
|
struct SearchResult;
|
||||||
|
|
||||||
|
template <typename T> class CachedSettingValue;
|
||||||
|
|
||||||
namespace Ui
|
namespace Ui
|
||||||
{
|
{
|
||||||
class SearchJobWidget;
|
class SearchJobWidget;
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
|
|
||||||
#include "torrentcontentmodelfolder.h"
|
#include "torrentcontentmodelfolder.h"
|
||||||
|
|
||||||
|
#include <QVariant>
|
||||||
|
|
||||||
#include "base/bittorrent/torrenthandle.h"
|
#include "base/bittorrent/torrenthandle.h"
|
||||||
#include "base/global.h"
|
#include "base/global.h"
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
|
|
||||||
#include "torrentcontentmodelitem.h"
|
#include "torrentcontentmodelitem.h"
|
||||||
|
|
||||||
|
#include <QVariant>
|
||||||
|
|
||||||
#include "torrentcontentmodelfolder.h"
|
#include "torrentcontentmodelfolder.h"
|
||||||
|
|
||||||
TorrentContentModelItem::TorrentContentModelItem(TorrentContentModelFolder *parent)
|
TorrentContentModelItem::TorrentContentModelItem(TorrentContentModelFolder *parent)
|
||||||
|
@ -34,16 +34,16 @@
|
|||||||
|
|
||||||
#include "base/settingvalue.h"
|
#include "base/settingvalue.h"
|
||||||
|
|
||||||
namespace Ui
|
|
||||||
{
|
|
||||||
class TorrentCreatorDialog;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace BitTorrent
|
namespace BitTorrent
|
||||||
{
|
{
|
||||||
class TorrentCreatorThread;
|
class TorrentCreatorThread;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace Ui
|
||||||
|
{
|
||||||
|
class TorrentCreatorDialog;
|
||||||
|
}
|
||||||
|
|
||||||
class TorrentCreatorDialog : public QDialog
|
class TorrentCreatorDialog : public QDialog
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -39,7 +39,6 @@ namespace BitTorrent
|
|||||||
{
|
{
|
||||||
enum class TorrentState;
|
enum class TorrentState;
|
||||||
}
|
}
|
||||||
// Defines for download list list columns
|
|
||||||
|
|
||||||
class TransferListDelegate : public QItemDelegate
|
class TransferListDelegate : public QItemDelegate
|
||||||
{
|
{
|
||||||
|
@ -33,16 +33,16 @@
|
|||||||
#include <QTreeView>
|
#include <QTreeView>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
namespace BitTorrent
|
|
||||||
{
|
|
||||||
class TorrentHandle;
|
|
||||||
}
|
|
||||||
|
|
||||||
class MainWindow;
|
class MainWindow;
|
||||||
class TransferListDelegate;
|
class TransferListDelegate;
|
||||||
class TransferListModel;
|
class TransferListModel;
|
||||||
class TransferListSortModel;
|
class TransferListSortModel;
|
||||||
|
|
||||||
|
namespace BitTorrent
|
||||||
|
{
|
||||||
|
class TorrentHandle;
|
||||||
|
}
|
||||||
|
|
||||||
class TransferListWidget : public QTreeView
|
class TransferListWidget : public QTreeView
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Loading…
Reference in New Issue
Block a user