diff --git a/src/base/profile.h b/src/base/profile.h index 290248105..ce52193de 100644 --- a/src/base/profile.h +++ b/src/base/profile.h @@ -35,6 +35,7 @@ #include class QString; + class Application; namespace Private diff --git a/src/base/rss/rss_autodownloader.h b/src/base/rss/rss_autodownloader.h index 91dfe424c..16f6ef48e 100644 --- a/src/base/rss/rss_autodownloader.h +++ b/src/base/rss/rss_autodownloader.h @@ -40,6 +40,7 @@ class QThread; class QTimer; + class Application; class AsyncFileStorage; struct ProcessingJob; diff --git a/src/base/rss/rss_autodownloadrule.h b/src/base/rss/rss_autodownloadrule.h index 15e22b735..f4078fc49 100644 --- a/src/base/rss/rss_autodownloadrule.h +++ b/src/base/rss/rss_autodownloadrule.h @@ -35,6 +35,7 @@ class QDateTime; class QJsonObject; class QRegularExpression; + class TriStateBool; namespace RSS diff --git a/src/base/rss/rss_session.h b/src/base/rss/rss_session.h index de7fdd44f..e4d8b945d 100644 --- a/src/base/rss/rss_session.h +++ b/src/base/rss/rss_session.h @@ -68,6 +68,7 @@ #include class QThread; + class Application; class AsyncFileStorage; diff --git a/src/base/scanfoldersmodel.h b/src/base/scanfoldersmodel.h index a2c3e2151..212899d9c 100644 --- a/src/base/scanfoldersmodel.h +++ b/src/base/scanfoldersmodel.h @@ -33,6 +33,7 @@ #include class QStringList; + class FileSystemWatcher; class ScanFoldersModel : public QAbstractListModel diff --git a/src/base/search/searchdownloadhandler.h b/src/base/search/searchdownloadhandler.h index 229768100..6220b47b0 100644 --- a/src/base/search/searchdownloadhandler.h +++ b/src/base/search/searchdownloadhandler.h @@ -31,6 +31,7 @@ #include class QProcess; + class SearchPluginManager; class SearchDownloadHandler : public QObject diff --git a/src/base/utils/misc.h b/src/base/utils/misc.h index 7c9a0e371..539df3048 100644 --- a/src/base/utils/misc.h +++ b/src/base/utils/misc.h @@ -37,6 +37,7 @@ #endif class QString; + enum class ShutdownDialogAction; /* Miscellaneous functions that can be useful */ diff --git a/src/base/utils/string.h b/src/base/utils/string.h index 5ad1bfbad..a04ac6fc3 100644 --- a/src/base/utils/string.h +++ b/src/base/utils/string.h @@ -33,6 +33,7 @@ #include class QString; + class TriStateBool; namespace Utils diff --git a/src/gui/categoryfiltermodel.h b/src/gui/categoryfiltermodel.h index f4f550e7a..aaad75f79 100644 --- a/src/gui/categoryfiltermodel.h +++ b/src/gui/categoryfiltermodel.h @@ -32,6 +32,7 @@ #include class QModelIndex; + class CategoryModelItem; namespace BitTorrent diff --git a/src/gui/optionsdialog.h b/src/gui/optionsdialog.h index 1565fdd19..f66cabcba 100644 --- a/src/gui/optionsdialog.h +++ b/src/gui/optionsdialog.h @@ -34,6 +34,7 @@ class QAbstractButton; class QCloseEvent; class QListWidgetItem; + class AdvancedSettings; // actions on double-click on torrents diff --git a/src/gui/properties/peerlistwidget.h b/src/gui/properties/peerlistwidget.h index 2dc7de4cb..f49c5ecf4 100644 --- a/src/gui/properties/peerlistwidget.h +++ b/src/gui/properties/peerlistwidget.h @@ -35,18 +35,18 @@ #include #include -namespace Net -{ - class ReverseResolution; -} +class QSortFilterProxyModel; +class QStandardItem; +class QStandardItemModel; class PeerListDelegate; class PeerListSortModel; class PropertiesWidget; -class QSortFilterProxyModel; -class QStandardItem; -class QStandardItemModel; +namespace Net +{ + class ReverseResolution; +} namespace BitTorrent { diff --git a/src/gui/properties/proplistdelegate.h b/src/gui/properties/proplistdelegate.h index dd5e54105..016fbac98 100644 --- a/src/gui/properties/proplistdelegate.h +++ b/src/gui/properties/proplistdelegate.h @@ -35,6 +35,7 @@ class QAbstractItemModel; class QModelIndex; class QPainter; class QStyleOptionViewItem; + class PropertiesWidget; // Defines for properties list columns diff --git a/src/gui/properties/speedwidget.h b/src/gui/properties/speedwidget.h index 79979b2a0..d8a9870ed 100644 --- a/src/gui/properties/speedwidget.h +++ b/src/gui/properties/speedwidget.h @@ -38,6 +38,7 @@ class QHBoxLayout; class QLabel; class QMenu; class QVBoxLayout; + class PropertiesWidget; class ComboBoxMenuButton : public QComboBox diff --git a/src/gui/rss/rsswidget.h b/src/gui/rss/rsswidget.h index 3174782d6..d0246ad3e 100644 --- a/src/gui/rss/rsswidget.h +++ b/src/gui/rss/rsswidget.h @@ -33,11 +33,12 @@ #include +class QListWidgetItem; class QShortcut; +class QTreeWidgetItem; + class ArticleListWidget; class FeedListWidget; -class QListWidgetItem; -class QTreeWidgetItem; namespace Ui { diff --git a/src/gui/scanfoldersdelegate.h b/src/gui/scanfoldersdelegate.h index 4d08a2fd2..086a00a67 100644 --- a/src/gui/scanfoldersdelegate.h +++ b/src/gui/scanfoldersdelegate.h @@ -36,6 +36,7 @@ class QModelIndex; class QPainter; class QStyleOptionViewItem; class QTreeView; + class PropertiesWidget; class ScanFoldersDelegate : public QItemDelegate diff --git a/src/gui/tagfiltermodel.h b/src/gui/tagfiltermodel.h index 1dd8fd38b..1fe5a9004 100644 --- a/src/gui/tagfiltermodel.h +++ b/src/gui/tagfiltermodel.h @@ -34,6 +34,7 @@ #include class QModelIndex; + class TagModelItem; namespace BitTorrent diff --git a/src/gui/torrentcontentmodel.h b/src/gui/torrentcontentmodel.h index 7d02189d4..60d2e30ab 100644 --- a/src/gui/torrentcontentmodel.h +++ b/src/gui/torrentcontentmodel.h @@ -37,6 +37,7 @@ class QFileIconProvider; class QModelIndex; class QVariant; + class TorrentContentModelFile; namespace BitTorrent diff --git a/src/gui/torrentcontentmodelitem.h b/src/gui/torrentcontentmodelitem.h index 49d0516a0..e246d4a1b 100644 --- a/src/gui/torrentcontentmodelitem.h +++ b/src/gui/torrentcontentmodelitem.h @@ -34,6 +34,7 @@ #include "base/bittorrent/downloadpriority.h" class QVariant; + class TorrentContentModelFolder; class TorrentContentModelItem diff --git a/src/gui/transferlistfilterswidget.h b/src/gui/transferlistfilterswidget.h index ce054b531..dcdf99300 100644 --- a/src/gui/transferlistfilterswidget.h +++ b/src/gui/transferlistfilterswidget.h @@ -34,6 +34,7 @@ class QCheckBox; class QResizeEvent; + class TransferListWidget; namespace BitTorrent diff --git a/src/webui/api/searchcontroller.h b/src/webui/api/searchcontroller.h index c2accaefc..bfbc34dcd 100644 --- a/src/webui/api/searchcontroller.h +++ b/src/webui/api/searchcontroller.h @@ -37,6 +37,7 @@ class QJsonArray; class QJsonObject; class QStringList; + struct ISession; struct SearchResult;