Browse Source

Don't add core to INCLUDEPATH.

adaptive-webui-19844
Vladimir Golovnev (Glassez) 10 years ago
parent
commit
d32bb52390
  1. 6
      src/app/application.cpp
  2. 6
      src/app/main.cpp
  3. 2
      src/core/core.pri
  4. 2
      src/core/net/dnsupdater.cpp
  5. 2
      src/core/net/dnsupdater.h
  6. 4
      src/core/net/smtp.cpp
  7. 2
      src/core/qtlibtorrent/bandwidthscheduler.h
  8. 18
      src/core/qtlibtorrent/qbtsession.cpp
  9. 2
      src/core/qtlibtorrent/qbtsession.h
  10. 8
      src/core/qtlibtorrent/qtorrenthandle.cpp
  11. 2
      src/core/qtlibtorrent/torrentspeedmonitor.cpp
  12. 6
      src/core/qtlibtorrent/torrentstatistics.cpp
  13. 6
      src/gui/addnewtorrentdialog.cpp
  14. 2
      src/gui/advancedsettings.h
  15. 4
      src/gui/deletionconfirmationdlg.h
  16. 2
      src/gui/executionlog.cpp
  17. 2
      src/gui/geoip/geoipmanager.cpp
  18. 2
      src/gui/iconprovider.cpp
  19. 10
      src/gui/mainwindow.cpp
  20. 6
      src/gui/options_imp.cpp
  21. 2
      src/gui/previewlistdelegate.h
  22. 6
      src/gui/previewselect.cpp
  23. 4
      src/gui/programupdater.cpp
  24. 2
      src/gui/properties/peerlistdelegate.h
  25. 4
      src/gui/properties/peerlistwidget.cpp
  26. 6
      src/gui/properties/propertieswidget.cpp
  27. 2
      src/gui/properties/proplistdelegate.h
  28. 4
      src/gui/properties/trackerlist.cpp
  29. 6
      src/gui/properties/trackersadditiondlg.h
  30. 4
      src/gui/rss/automatedrssdownloader.cpp
  31. 2
      src/gui/rss/htmlbrowser.cpp
  32. 2
      src/gui/rss/rss_imp.cpp
  33. 4
      src/gui/rss/rssdownloadrule.cpp
  34. 4
      src/gui/rss/rssdownloadrulelist.cpp
  35. 12
      src/gui/rss/rssfeed.cpp
  36. 4
      src/gui/rss/rssmanager.cpp
  37. 4
      src/gui/rss/rssparser.cpp
  38. 2
      src/gui/rss/rsssettingsdlg.cpp
  39. 2
      src/gui/shutdownconfirm.h
  40. 2
      src/gui/speedlimitdlg.h
  41. 2
      src/gui/statsdialog.cpp
  42. 6
      src/gui/statusbar.cpp
  43. 4
      src/gui/torrentcontentmodel.cpp
  44. 4
      src/gui/torrentcontentmodelfile.cpp
  45. 4
      src/gui/torrentcontentmodelitem.cpp
  46. 8
      src/gui/torrentcreator/torrentcreatordlg.cpp
  47. 4
      src/gui/torrentcreator/torrentcreatorthread.cpp
  48. 6
      src/gui/torrentimportdlg.cpp
  49. 4
      src/gui/torrentmodel.cpp
  50. 2
      src/gui/transferlistdelegate.cpp
  51. 10
      src/gui/transferlistfilterswidget.cpp
  52. 2
      src/gui/transferlistsortmodel.cpp
  53. 6
      src/gui/transferlistwidget.cpp
  54. 2
      src/gui/updownratiodlg.cpp
  55. 6
      src/searchengine/engineselectdlg.cpp
  56. 6
      src/searchengine/searchengine.cpp
  57. 2
      src/searchengine/searchlistdelegate.h
  58. 2
      src/searchengine/searchsortmodel.h
  59. 4
      src/searchengine/searchtab.cpp
  60. 4
      src/searchengine/supportedengines.h
  61. 2
      src/webui/abstractwebapplication.cpp
  62. 6
      src/webui/abstractwebapplication.h
  63. 4
      src/webui/btjson.cpp
  64. 6
      src/webui/prefjson.cpp
  65. 2
      src/webui/qtorrentfilter.cpp
  66. 6
      src/webui/webapplication.cpp
  67. 6
      src/webui/webui.cpp

6
src/app/application.cpp

@ -55,10 +55,10 @@
#endif #endif
#include "application.h" #include "application.h"
#include "logger.h" #include "core/logger.h"
#include "preferences.h" #include "core/preferences.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
static const char PARAMS_SEPARATOR[] = "|"; static const char PARAMS_SEPARATOR[] = "|";

6
src/app/main.cpp

@ -66,9 +66,9 @@ Q_IMPORT_PLUGIN(qico)
#include <cstdlib> #include <cstdlib>
#include <iostream> #include <iostream>
#include "application.h" #include "application.h"
#include "misc.h" #include "core/misc.h"
#include "preferences.h" #include "core/preferences.h"
#include "logger.h" #include "core/logger.h"
// Signal handlers // Signal handlers
#if defined(Q_OS_UNIX) || defined(STACKTRACE_WIN) #if defined(Q_OS_UNIX) || defined(STACKTRACE_WIN)

2
src/core/core.pri

@ -1,5 +1,3 @@
INCLUDEPATH += $$PWD
include(qtlibtorrent/qtlibtorrent.pri) include(qtlibtorrent/qtlibtorrent.pri)
HEADERS += \ HEADERS += \

2
src/core/net/dnsupdater.cpp

@ -36,7 +36,7 @@
#include <QUrlQuery> #include <QUrlQuery>
#endif #endif
#include "dnsupdater.h" #include "dnsupdater.h"
#include "logger.h" #include "core/logger.h"
using namespace Net; using namespace Net;

2
src/core/net/dnsupdater.h

@ -36,7 +36,7 @@
#include <QNetworkReply> #include <QNetworkReply>
#include <QDateTime> #include <QDateTime>
#include <QTimer> #include <QTimer>
#include "preferences.h" #include "core/preferences.h"
namespace Net namespace Net
{ {

4
src/core/net/smtp.cpp

@ -33,8 +33,8 @@
*/ */
#include "smtp.h" #include "smtp.h"
#include "preferences.h" #include "core/preferences.h"
#include "logger.h" #include "core/logger.h"
#include <QTextStream> #include <QTextStream>
#ifndef QT_NO_OPENSSL #ifndef QT_NO_OPENSSL

2
src/core/qtlibtorrent/bandwidthscheduler.h

@ -4,7 +4,7 @@
#include <QTimer> #include <QTimer>
#include <QTime> #include <QTime>
#include <QDateTime> #include <QDateTime>
#include "preferences.h" #include "core/preferences.h"
#include <iostream> #include <iostream>

18
src/core/qtlibtorrent/qbtsession.cpp

@ -39,24 +39,24 @@
#include <QCoreApplication> #include <QCoreApplication>
#include "core/net/smtp.h" #include "core/net/smtp.h"
#include "filesystemwatcher.h" #include "core/filesystemwatcher.h"
#include "torrentspeedmonitor.h" #include "torrentspeedmonitor.h"
#include "torrentstatistics.h" #include "torrentstatistics.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "alertdispatcher.h" #include "alertdispatcher.h"
#include "misc.h" #include "core/misc.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "downloadthread.h" #include "core/downloadthread.h"
#include "filterparserthread.h" #include "filterparserthread.h"
#include "preferences.h" #include "core/preferences.h"
#include "scannedfoldersmodel.h" #include "core/scannedfoldersmodel.h"
#include "qtracker.h" #include "core/qtracker.h"
#include "logger.h" #include "core/logger.h"
#ifndef DISABLE_GUI #ifndef DISABLE_GUI
#include "shutdownconfirm.h" #include "shutdownconfirm.h"
#include "geoipmanager.h" #include "geoipmanager.h"
#endif #endif
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
#include "bandwidthscheduler.h" #include "bandwidthscheduler.h"
#include <libtorrent/version.hpp> #include <libtorrent/version.hpp>
#include <libtorrent/extensions/ut_metadata.hpp> #include <libtorrent/extensions/ut_metadata.hpp>

2
src/core/qtlibtorrent/qbtsession.h

@ -42,7 +42,7 @@
#include "qtorrenthandle.h" #include "qtorrenthandle.h"
#include "trackerinfos.h" #include "trackerinfos.h"
#include "misc.h" #include "core/misc.h"
#ifndef DISABLE_GUI #ifndef DISABLE_GUI
#include "rssdownloadrule.h" #include "rssdownloadrule.h"

8
src/core/qtlibtorrent/qtorrenthandle.cpp

@ -35,11 +35,11 @@
#include <QDir> #include <QDir>
#include <QByteArray> #include <QByteArray>
#include <math.h> #include <math.h>
#include "fs_utils.h" #include "core/fs_utils.h"
#include "misc.h" #include "core/misc.h"
#include "preferences.h" #include "core/preferences.h"
#include "qtorrenthandle.h" #include "qtorrenthandle.h"
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
#include "qbtsession.h" #include "qbtsession.h"
#include <libtorrent/version.hpp> #include <libtorrent/version.hpp>
#include <libtorrent/magnet_uri.hpp> #include <libtorrent/magnet_uri.hpp>

2
src/core/qtlibtorrent/torrentspeedmonitor.cpp

@ -31,7 +31,7 @@
#include <QList> #include <QList>
#include "qbtsession.h" #include "qbtsession.h"
#include "misc.h" #include "core/misc.h"
#include "torrentspeedmonitor.h" #include "torrentspeedmonitor.h"
using namespace libtorrent; using namespace libtorrent;

6
src/core/qtlibtorrent/torrentstatistics.cpp

@ -5,8 +5,8 @@
#include <libtorrent/session.hpp> #include <libtorrent/session.hpp>
#include "qbtsession.h" #include "qbtsession.h"
#include "qinisettings.h" #include "core/qinisettings.h"
#include "preferences.h" #include "core/preferences.h"
TorrentStatistics::TorrentStatistics(QBtSession* session, QObject* parent) TorrentStatistics::TorrentStatistics(QBtSession* session, QObject* parent)
: QObject(parent) : QObject(parent)
@ -69,7 +69,7 @@ void TorrentStatistics::loadStats() {
// Don't forget to remove: // Don't forget to remove:
// 1. Preferences::getStats() // 1. Preferences::getStats()
// 2. Preferences::removeStats() // 2. Preferences::removeStats()
// 3. #include "preferences.h" // 3. #include "core/preferences.h"
Preferences* const pref = Preferences::instance(); Preferences* const pref = Preferences::instance();
QIniSettings s("qBittorrent", "qBittorrent-data"); QIniSettings s("qBittorrent", "qBittorrent-data");
QVariantHash v = pref->getStats(); QVariantHash v = pref->getStats();

6
src/gui/addnewtorrentdialog.cpp

@ -33,11 +33,11 @@
#include "proplistdelegate.h" #include "proplistdelegate.h"
#include "torrentcontentmodel.h" #include "torrentcontentmodel.h"
#include "torrentcontentfiltermodel.h" #include "torrentcontentfiltermodel.h"
#include "preferences.h" #include "core/preferences.h"
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "autoexpandabledialog.h" #include "autoexpandabledialog.h"
#include "messageboxraised.h" #include "messageboxraised.h"

2
src/gui/advancedsettings.h

@ -10,7 +10,7 @@
#include <QComboBox> #include <QComboBox>
#include <QNetworkInterface> #include <QNetworkInterface>
#include <libtorrent/version.hpp> #include <libtorrent/version.hpp>
#include "preferences.h" #include "core/preferences.h"
enum AdvSettingsCols {PROPERTY, VALUE}; enum AdvSettingsCols {PROPERTY, VALUE};
enum AdvSettingsRows {DISK_CACHE, DISK_CACHE_TTL, OS_CACHE, SAVE_RESUME_DATA_INTERVAL, OUTGOING_PORT_MIN, OUTGOING_PORT_MAX, IGNORE_LIMIT_LAN, RECHECK_COMPLETED, LIST_REFRESH, RESOLVE_COUNTRIES, RESOLVE_HOSTS, MAX_HALF_OPEN, SUPER_SEEDING, NETWORK_IFACE, NETWORK_LISTEN_IPV6, NETWORK_ADDRESS, PROGRAM_NOTIFICATIONS, TRACKER_STATUS, TRACKER_PORT, enum AdvSettingsRows {DISK_CACHE, DISK_CACHE_TTL, OS_CACHE, SAVE_RESUME_DATA_INTERVAL, OUTGOING_PORT_MIN, OUTGOING_PORT_MAX, IGNORE_LIMIT_LAN, RECHECK_COMPLETED, LIST_REFRESH, RESOLVE_COUNTRIES, RESOLVE_HOSTS, MAX_HALF_OPEN, SUPER_SEEDING, NETWORK_IFACE, NETWORK_LISTEN_IPV6, NETWORK_ADDRESS, PROGRAM_NOTIFICATIONS, TRACKER_STATUS, TRACKER_PORT,

4
src/gui/deletionconfirmationdlg.h

@ -34,9 +34,9 @@
#include <QDialog> #include <QDialog>
#include <QPushButton> #include <QPushButton>
#include "ui_confirmdeletiondlg.h" #include "ui_confirmdeletiondlg.h"
#include "preferences.h" #include "core/preferences.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "misc.h" #include "core/misc.h"
class DeletionConfirmationDlg : public QDialog, private Ui::confirmDeletionDlg { class DeletionConfirmationDlg : public QDialog, private Ui::confirmDeletionDlg {
Q_OBJECT Q_OBJECT

2
src/gui/executionlog.cpp

@ -35,7 +35,7 @@
#include <QPalette> #include <QPalette>
#include "executionlog.h" #include "executionlog.h"
#include "ui_executionlog.h" #include "ui_executionlog.h"
#include "logger.h" #include "core/logger.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "loglistwidget.h" #include "loglistwidget.h"

2
src/gui/geoip/geoipmanager.cpp

@ -64,7 +64,7 @@
#include <QFile> #include <QFile>
#include <QChar> #include <QChar>
#include "fs_utils.h" #include "core/fs_utils.h"
#include <libtorrent/session.hpp> #include <libtorrent/session.hpp>
using namespace libtorrent; using namespace libtorrent;

2
src/gui/iconprovider.cpp

@ -29,7 +29,7 @@
*/ */
#include "iconprovider.h" #include "iconprovider.h"
#include "preferences.h" #include "core/preferences.h"
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC)) #if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC))
#include <QDir> #include <QDir>

10
src/gui/mainwindow.cpp

@ -49,7 +49,7 @@
#include "mainwindow.h" #include "mainwindow.h"
#include "transferlistwidget.h" #include "transferlistwidget.h"
#include "misc.h" #include "core/misc.h"
#include "torrentcreatordlg.h" #include "torrentcreatordlg.h"
#include "downloadfromurldlg.h" #include "downloadfromurldlg.h"
#include "addnewtorrentdialog.h" #include "addnewtorrentdialog.h"
@ -60,10 +60,10 @@
#include "trackerlogin.h" #include "trackerlogin.h"
#include "options_imp.h" #include "options_imp.h"
#include "speedlimitdlg.h" #include "speedlimitdlg.h"
#include "preferences.h" #include "core/preferences.h"
#include "trackerlist.h" #include "trackerlist.h"
#include "peerlistwidget.h" #include "peerlistwidget.h"
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
#include "transferlistfilterswidget.h" #include "transferlistfilterswidget.h"
#include "propertieswidget.h" #include "propertieswidget.h"
#include "statusbar.h" #include "statusbar.h"
@ -72,7 +72,7 @@
#include "torrentmodel.h" #include "torrentmodel.h"
#include "executionlog.h" #include "executionlog.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "logger.h" #include "core/logger.h"
#ifndef DISABLE_GUI #ifndef DISABLE_GUI
#include "autoexpandabledialog.h" #include "autoexpandabledialog.h"
#endif #endif
@ -86,7 +86,7 @@ void qt_mac_set_dock_menu(QMenu *menu);
#endif #endif
#include "powermanagement.h" #include "powermanagement.h"
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include "downloadthread.h" #include "core/downloadthread.h"
#endif #endif
#include <libtorrent/session.hpp> #include <libtorrent/session.hpp>

6
src/gui/options_imp.cpp

@ -42,10 +42,10 @@
#include <libtorrent/version.hpp> #include <libtorrent/version.hpp>
#include "options_imp.h" #include "options_imp.h"
#include "preferences.h" #include "core/preferences.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "advancedsettings.h" #include "advancedsettings.h"
#include "scannedfoldersmodel.h" #include "core/scannedfoldersmodel.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "core/net/dnsupdater.h" #include "core/net/dnsupdater.h"

2
src/gui/previewlistdelegate.h

@ -37,7 +37,7 @@
#include <QModelIndex> #include <QModelIndex>
#include <QPainter> #include <QPainter>
#include <QApplication> #include <QApplication>
#include "misc.h" #include "core/misc.h"
#include "previewselect.h" #include "previewselect.h"
#ifdef Q_OS_WIN #ifdef Q_OS_WIN

6
src/gui/previewselect.cpp

@ -36,11 +36,11 @@
#include <libtorrent/version.hpp> #include <libtorrent/version.hpp>
#include <libtorrent/session.hpp> #include <libtorrent/session.hpp>
#include "misc.h" #include "core/misc.h"
#include "previewlistdelegate.h" #include "previewlistdelegate.h"
#include "previewselect.h" #include "previewselect.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "preferences.h" #include "core/preferences.h"
PreviewSelect::PreviewSelect(QWidget* parent, QTorrentHandle h): QDialog(parent), h(h) { PreviewSelect::PreviewSelect(QWidget* parent, QTorrentHandle h): QDialog(parent), h(h) {
setupUi(this); setupUi(this);

4
src/gui/programupdater.cpp

@ -39,8 +39,8 @@
#include <QStringList> #include <QStringList>
#include "programupdater.h" #include "programupdater.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "preferences.h" #include "core/preferences.h"
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
const QUrl RSS_URL("http://sourceforge.net/projects/qbittorrent/rss?path=/qbittorrent-mac"); const QUrl RSS_URL("http://sourceforge.net/projects/qbittorrent/rss?path=/qbittorrent-mac");

2
src/gui/properties/peerlistdelegate.h

@ -33,7 +33,7 @@
#include <QItemDelegate> #include <QItemDelegate>
#include <QPainter> #include <QPainter>
#include "misc.h" #include "core/misc.h"
class PeerListDelegate: public QItemDelegate { class PeerListDelegate: public QItemDelegate {
Q_OBJECT Q_OBJECT

4
src/gui/properties/peerlistwidget.cpp

@ -32,14 +32,14 @@
#include "peerlistdelegate.h" #include "peerlistdelegate.h"
#include "peerlistsortmodel.h" #include "peerlistsortmodel.h"
#include "core/net/reverseresolution.h" #include "core/net/reverseresolution.h"
#include "preferences.h" #include "core/preferences.h"
#include "propertieswidget.h" #include "propertieswidget.h"
#include "geoipmanager.h" #include "geoipmanager.h"
#include "peeraddition.h" #include "peeraddition.h"
#include "speedlimitdlg.h" #include "speedlimitdlg.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "qtorrenthandle.h" #include "qtorrenthandle.h"
#include "logger.h" #include "core/logger.h"
#include <QStandardItemModel> #include <QStandardItemModel>
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
#include <QSet> #include <QSet>

6
src/gui/properties/propertieswidget.cpp

@ -43,7 +43,7 @@
#include <libtorrent/version.hpp> #include <libtorrent/version.hpp>
#include "propertieswidget.h" #include "propertieswidget.h"
#include "transferlistwidget.h" #include "transferlistwidget.h"
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "proplistdelegate.h" #include "proplistdelegate.h"
#include "torrentcontentfiltermodel.h" #include "torrentcontentfiltermodel.h"
@ -53,11 +53,11 @@
#include "mainwindow.h" #include "mainwindow.h"
#include "downloadedpiecesbar.h" #include "downloadedpiecesbar.h"
#include "pieceavailabilitybar.h" #include "pieceavailabilitybar.h"
#include "preferences.h" #include "core/preferences.h"
#include "proptabbar.h" #include "proptabbar.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "lineedit.h" #include "lineedit.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "autoexpandabledialog.h" #include "autoexpandabledialog.h"
using namespace libtorrent; using namespace libtorrent;

2
src/gui/properties/proplistdelegate.h

@ -40,7 +40,7 @@
#include <QPainter> #include <QPainter>
#include <QProgressBar> #include <QProgressBar>
#include <QApplication> #include <QApplication>
#include "misc.h" #include "core/misc.h"
#include "propertieswidget.h" #include "propertieswidget.h"
#ifdef Q_OS_WIN #ifdef Q_OS_WIN

4
src/gui/properties/trackerlist.cpp

@ -43,8 +43,8 @@
#include "trackersadditiondlg.h" #include "trackersadditiondlg.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "preferences.h" #include "core/preferences.h"
#include "misc.h" #include "core/misc.h"
#include "autoexpandabledialog.h" #include "autoexpandabledialog.h"
using namespace libtorrent; using namespace libtorrent;

6
src/gui/properties/trackersadditiondlg.h

@ -37,11 +37,11 @@
#include <QFile> #include <QFile>
#include <QUrl> #include <QUrl>
#include "iconprovider.h" #include "iconprovider.h"
#include "misc.h" #include "core/misc.h"
#include "ui_trackersadditiondlg.h" #include "ui_trackersadditiondlg.h"
#include "downloadthread.h" #include "core/downloadthread.h"
#include "qtorrenthandle.h" #include "qtorrenthandle.h"
#include "fs_utils.h" #include "core/fs_utils.h"
class TrackersAdditionDlg : public QDialog, private Ui::TrackersAdditionDlg{ class TrackersAdditionDlg : public QDialog, private Ui::TrackersAdditionDlg{
Q_OBJECT Q_OBJECT

4
src/gui/rss/automatedrssdownloader.cpp

@ -37,12 +37,12 @@
#include "automatedrssdownloader.h" #include "automatedrssdownloader.h"
#include "ui_automatedrssdownloader.h" #include "ui_automatedrssdownloader.h"
#include "rssdownloadrulelist.h" #include "rssdownloadrulelist.h"
#include "preferences.h" #include "core/preferences.h"
#include "rssmanager.h" #include "rssmanager.h"
#include "rssfeed.h" #include "rssfeed.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "autoexpandabledialog.h" #include "autoexpandabledialog.h"
#include "fs_utils.h" #include "core/fs_utils.h"
AutomatedRssDownloader::AutomatedRssDownloader(const QWeakPointer<RssManager>& manager, QWidget *parent) : AutomatedRssDownloader::AutomatedRssDownloader(const QWeakPointer<RssManager>& manager, QWidget *parent) :
QDialog(parent), QDialog(parent),

2
src/gui/rss/htmlbrowser.cpp

@ -10,7 +10,7 @@
#include <QDateTime> #include <QDateTime>
#include <QScrollBar> #include <QScrollBar>
#include "fs_utils.h" #include "core/fs_utils.h"
HtmlBrowser::HtmlBrowser(QWidget* parent) HtmlBrowser::HtmlBrowser(QWidget* parent)
: QTextBrowser(parent) : QTextBrowser(parent)

2
src/gui/rss/rss_imp.cpp

@ -41,7 +41,7 @@
#include "feedlistwidget.h" #include "feedlistwidget.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "cookiesdlg.h" #include "cookiesdlg.h"
#include "preferences.h" #include "core/preferences.h"
#include "rsssettingsdlg.h" #include "rsssettingsdlg.h"
#include "rssmanager.h" #include "rssmanager.h"
#include "rssfolder.h" #include "rssfolder.h"

4
src/gui/rss/rssdownloadrule.cpp

@ -33,10 +33,10 @@
#include <QDir> #include <QDir>
#include "rssdownloadrule.h" #include "rssdownloadrule.h"
#include "preferences.h" #include "core/preferences.h"
#include "rssfeed.h" #include "rssfeed.h"
#include "rssarticle.h" #include "rssarticle.h"
#include "fs_utils.h" #include "core/fs_utils.h"
RssDownloadRule::RssDownloadRule(): m_enabled(false), m_useRegex(false), m_apstate(USE_GLOBAL) RssDownloadRule::RssDownloadRule(): m_enabled(false), m_useRegex(false), m_apstate(USE_GLOBAL)
{ {

4
src/gui/rss/rssdownloadrulelist.cpp

@ -33,8 +33,8 @@
#include <QDebug> #include <QDebug>
#include "rssdownloadrulelist.h" #include "rssdownloadrulelist.h"
#include "preferences.h" #include "core/preferences.h"
#include "qinisettings.h" #include "core/qinisettings.h"
RssDownloadRuleList::RssDownloadRuleList() RssDownloadRuleList::RssDownloadRuleList()
{ {

12
src/gui/rss/rssfeed.cpp

@ -33,15 +33,15 @@
#include "rssmanager.h" #include "rssmanager.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "rssfolder.h" #include "rssfolder.h"
#include "preferences.h" #include "core/preferences.h"
#include "qinisettings.h" #include "core/qinisettings.h"
#include "rssarticle.h" #include "rssarticle.h"
#include "rssparser.h" #include "rssparser.h"
#include "misc.h" #include "core/misc.h"
#include "rssdownloadrulelist.h" #include "rssdownloadrulelist.h"
#include "downloadthread.h" #include "core/downloadthread.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "logger.h" #include "core/logger.h"
bool rssArticleDateRecentThan(const RssArticlePtr& left, const RssArticlePtr& right) bool rssArticleDateRecentThan(const RssArticlePtr& left, const RssArticlePtr& right)
{ {

4
src/gui/rss/rssmanager.cpp

@ -30,13 +30,13 @@
#include <QDebug> #include <QDebug>
#include "rssmanager.h" #include "rssmanager.h"
#include "preferences.h" #include "core/preferences.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "rssfeed.h" #include "rssfeed.h"
#include "rssarticle.h" #include "rssarticle.h"
#include "rssdownloadrulelist.h" #include "rssdownloadrulelist.h"
#include "rssparser.h" #include "rssparser.h"
#include "downloadthread.h" #include "core/downloadthread.h"
static const int MSECS_PER_MIN = 60000; static const int MSECS_PER_MIN = 60000;

4
src/gui/rss/rssparser.cpp

@ -29,8 +29,8 @@
*/ */
#include "rssparser.h" #include "rssparser.h"
#include "downloadthread.h" #include "core/downloadthread.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include <QDebug> #include <QDebug>
#include <QFile> #include <QFile>
#include <QRegExp> #include <QRegExp>

2
src/gui/rss/rsssettingsdlg.cpp

@ -30,7 +30,7 @@
#include "rsssettingsdlg.h" #include "rsssettingsdlg.h"
#include "ui_rsssettingsdlg.h" #include "ui_rsssettingsdlg.h"
#include "preferences.h" #include "core/preferences.h"
RssSettingsDlg::RssSettingsDlg(QWidget *parent) : RssSettingsDlg::RssSettingsDlg(QWidget *parent) :
QDialog(parent), QDialog(parent),

2
src/gui/shutdownconfirm.h

@ -33,7 +33,7 @@
#include <QMessageBox> #include <QMessageBox>
#include <QTimer> #include <QTimer>
#include "misc.h" #include "core/misc.h"
class ShutdownConfirmDlg : public QMessageBox class ShutdownConfirmDlg : public QMessageBox
{ {

2
src/gui/speedlimitdlg.h

@ -34,7 +34,7 @@
#include <QDialog> #include <QDialog>
#include <QList> #include <QList>
#include "ui_bandwidth_limit.h" #include "ui_bandwidth_limit.h"
#include "misc.h" #include "core/misc.h"
#include "qbtsession.h" #include "qbtsession.h"
class SpeedLimitDialog : public QDialog, private Ui_bandwidth_dlg { class SpeedLimitDialog : public QDialog, private Ui_bandwidth_dlg {

2
src/gui/statsdialog.cpp

@ -31,7 +31,7 @@
#include "statsdialog.h" #include "statsdialog.h"
#include "ui_statsdialog.h" #include "ui_statsdialog.h"
#include "misc.h" #include "core/misc.h"
#include <libtorrent/session.hpp> #include <libtorrent/session.hpp>
#include <libtorrent/disk_io_thread.hpp> #include <libtorrent/disk_io_thread.hpp>

6
src/gui/statusbar.cpp

@ -36,9 +36,9 @@
#include "qbtsession.h" #include "qbtsession.h"
#include "speedlimitdlg.h" #include "speedlimitdlg.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "preferences.h" #include "core/preferences.h"
#include "misc.h" #include "core/misc.h"
#include "logger.h" #include "core/logger.h"
#include <libtorrent/session.hpp> #include <libtorrent/session.hpp>
#include <libtorrent/session_status.hpp> #include <libtorrent/session_status.hpp>

4
src/gui/torrentcontentmodel.cpp

@ -29,8 +29,8 @@
*/ */
#include "iconprovider.h" #include "iconprovider.h"
#include "misc.h" #include "core/misc.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "torrentcontentmodel.h" #include "torrentcontentmodel.h"
#include "torrentcontentmodelitem.h" #include "torrentcontentmodelitem.h"
#include "torrentcontentmodelfolder.h" #include "torrentcontentmodelfolder.h"

4
src/gui/torrentcontentmodelfile.cpp

@ -30,8 +30,8 @@
#include "torrentcontentmodelfile.h" #include "torrentcontentmodelfile.h"
#include "torrentcontentmodelfolder.h" #include "torrentcontentmodelfolder.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "misc.h" #include "core/misc.h"
TorrentContentModelFile::TorrentContentModelFile(const libtorrent::file_entry& f, TorrentContentModelFile::TorrentContentModelFile(const libtorrent::file_entry& f,
TorrentContentModelFolder* parent, TorrentContentModelFolder* parent,

4
src/gui/torrentcontentmodelitem.cpp

@ -28,8 +28,8 @@
* Contact : chris@qbittorrent.org * Contact : chris@qbittorrent.org
*/ */
#include "misc.h" #include "core/misc.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "torrentcontentmodelitem.h" #include "torrentcontentmodelitem.h"
#include "torrentcontentmodelfolder.h" #include "torrentcontentmodelfolder.h"
#include <QDebug> #include <QDebug>

8
src/gui/torrentcreator/torrentcreatordlg.cpp

@ -32,11 +32,11 @@
#include <QFileDialog> #include <QFileDialog>
#include <QMessageBox> #include <QMessageBox>
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
#include "torrentcreatordlg.h" #include "torrentcreatordlg.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "misc.h" #include "core/misc.h"
#include "preferences.h" #include "core/preferences.h"
#include "torrentcreatorthread.h" #include "torrentcreatorthread.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "qbtsession.h" #include "qbtsession.h"

4
src/gui/torrentcreator/torrentcreatorthread.cpp

@ -41,8 +41,8 @@
#include <QDir> #include <QDir>
#include "torrentcreatorthread.h" #include "torrentcreatorthread.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "misc.h" #include "core/misc.h"
#include <boost/bind.hpp> #include <boost/bind.hpp>
#include <iostream> #include <iostream>

6
src/gui/torrentimportdlg.cpp

@ -34,11 +34,11 @@
#include "torrentimportdlg.h" #include "torrentimportdlg.h"
#include "ui_torrentimportdlg.h" #include "ui_torrentimportdlg.h"
#include "preferences.h" #include "core/preferences.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "fs_utils.h" #include "core/fs_utils.h"
using namespace libtorrent; using namespace libtorrent;

4
src/gui/torrentmodel.cpp

@ -33,9 +33,9 @@
#include <QPalette> #include <QPalette>
#include "torrentmodel.h" #include "torrentmodel.h"
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include <libtorrent/session.hpp> #include <libtorrent/session.hpp>

2
src/gui/transferlistdelegate.cpp

@ -34,7 +34,7 @@
#include <QStyleOptionViewItemV2> #include <QStyleOptionViewItemV2>
#include <QApplication> #include <QApplication>
#include <QPainter> #include <QPainter>
#include "misc.h" #include "core/misc.h"
#include "torrentmodel.h" #include "torrentmodel.h"
#include "qbtsession.h" #include "qbtsession.h"

10
src/gui/transferlistfilterswidget.cpp

@ -41,15 +41,15 @@
#include "transferlistdelegate.h" #include "transferlistdelegate.h"
#include "transferlistwidget.h" #include "transferlistwidget.h"
#include "preferences.h" #include "core/preferences.h"
#include "torrentmodel.h" #include "torrentmodel.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "autoexpandabledialog.h" #include "autoexpandabledialog.h"
#include "torrentfilterenum.h" #include "torrentfilterenum.h"
#include "misc.h" #include "core/misc.h"
#include "downloadthread.h" #include "core/downloadthread.h"
#include "logger.h" #include "core/logger.h"
FiltersBase::FiltersBase(QWidget *parent, TransferListWidget *transferList) FiltersBase::FiltersBase(QWidget *parent, TransferListWidget *transferList)
: QListWidget(parent) : QListWidget(parent)

2
src/gui/transferlistsortmodel.cpp

@ -31,7 +31,7 @@
#include "transferlistsortmodel.h" #include "transferlistsortmodel.h"
#include "torrentmodel.h" #include "torrentmodel.h"
#include "misc.h" #include "core/misc.h"
TransferListSortModel::TransferListSortModel(QObject *parent) TransferListSortModel::TransferListSortModel(QObject *parent)
: QSortFilterProxyModel(parent) : QSortFilterProxyModel(parent)

6
src/gui/transferlistwidget.cpp

@ -49,19 +49,19 @@
#include "transferlistwidget.h" #include "transferlistwidget.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
#include "transferlistdelegate.h" #include "transferlistdelegate.h"
#include "previewselect.h" #include "previewselect.h"
#include "speedlimitdlg.h" #include "speedlimitdlg.h"
#include "updownratiodlg.h" #include "updownratiodlg.h"
#include "options_imp.h" #include "options_imp.h"
#include "mainwindow.h" #include "mainwindow.h"
#include "preferences.h" #include "core/preferences.h"
#include "torrentmodel.h" #include "torrentmodel.h"
#include "deletionconfirmationdlg.h" #include "deletionconfirmationdlg.h"
#include "propertieswidget.h" #include "propertieswidget.h"
#include "iconprovider.h" #include "iconprovider.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "autoexpandabledialog.h" #include "autoexpandabledialog.h"
#include "transferlistsortmodel.h" #include "transferlistsortmodel.h"

2
src/gui/updownratiodlg.cpp

@ -31,7 +31,7 @@
#include "updownratiodlg.h" #include "updownratiodlg.h"
#include "ui_updownratiodlg.h" #include "ui_updownratiodlg.h"
#include "preferences.h" #include "core/preferences.h"
UpDownRatioDlg::UpDownRatioDlg(bool useDefault, qreal initialValue, UpDownRatioDlg::UpDownRatioDlg(bool useDefault, qreal initialValue,
qreal maxValue, QWidget *parent) qreal maxValue, QWidget *parent)

6
src/searchengine/engineselectdlg.cpp

@ -29,9 +29,9 @@
*/ */
#include "engineselectdlg.h" #include "engineselectdlg.h"
#include "downloadthread.h" #include "core/downloadthread.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "misc.h" #include "core/misc.h"
#include "ico.h" #include "ico.h"
#include "searchengine.h" #include "searchengine.h"
#include "pluginsource.h" #include "pluginsource.h"

6
src/searchengine/searchengine.cpp

@ -49,9 +49,9 @@
#include "searchengine.h" #include "searchengine.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "misc.h" #include "core/misc.h"
#include "preferences.h" #include "core/preferences.h"
#include "searchlistdelegate.h" #include "searchlistdelegate.h"
#include "mainwindow.h" #include "mainwindow.h"
#include "iconprovider.h" #include "iconprovider.h"

2
src/searchengine/searchlistdelegate.h

@ -36,7 +36,7 @@
#include <QModelIndex> #include <QModelIndex>
#include <QPainter> #include <QPainter>
#include <QProgressBar> #include <QProgressBar>
#include "misc.h" #include "core/misc.h"
#include "searchengine.h" #include "searchengine.h"
class SearchListDelegate: public QItemDelegate { class SearchListDelegate: public QItemDelegate {

2
src/searchengine/searchsortmodel.h

@ -2,7 +2,7 @@
#define SEARCHSORTMODEL_H #define SEARCHSORTMODEL_H
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
#include "misc.h" #include "core/misc.h"
class SearchSortModel : public QSortFilterProxyModel { class SearchSortModel : public QSortFilterProxyModel {
Q_OBJECT Q_OBJECT

4
src/searchengine/searchtab.cpp

@ -36,9 +36,9 @@
#include "searchtab.h" #include "searchtab.h"
#include "searchlistdelegate.h" #include "searchlistdelegate.h"
#include "misc.h" #include "core/misc.h"
#include "searchengine.h" #include "searchengine.h"
#include "preferences.h" #include "core/preferences.h"
SearchTab::SearchTab(SearchEngine *parent) : QWidget(), parent(parent) SearchTab::SearchTab(SearchEngine *parent) : QWidget(), parent(parent)
{ {

4
src/searchengine/supportedengines.h

@ -41,8 +41,8 @@
#include <QApplication> #include <QApplication>
#include <QDebug> #include <QDebug>
#include "fs_utils.h" #include "core/fs_utils.h"
#include "preferences.h" #include "core/preferences.h"
class SearchCategories: public QObject, public QHash<QString, QString> { class SearchCategories: public QObject, public QHash<QString, QString> {
Q_OBJECT Q_OBJECT

2
src/webui/abstractwebapplication.cpp

@ -35,7 +35,7 @@
#include <QTemporaryFile> #include <QTemporaryFile>
#include <QTimer> #include <QTimer>
#include "preferences.h" #include "core/preferences.h"
#include "websessiondata.h" #include "websessiondata.h"
#include "abstractwebapplication.h" #include "abstractwebapplication.h"

6
src/webui/abstractwebapplication.h

@ -32,9 +32,9 @@
#include <QObject> #include <QObject>
#include <QMap> #include <QMap>
#include <QHash> #include <QHash>
#include "http/types.h" #include "core/http/types.h"
#include "http/responsebuilder.h" #include "core/http/responsebuilder.h"
#include "http/irequesthandler.h" #include "core/http/irequesthandler.h"
struct WebSession; struct WebSession;
struct WebSessionData; struct WebSessionData;

4
src/webui/btjson.cpp

@ -29,9 +29,9 @@
*/ */
#include "btjson.h" #include "btjson.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
#include "qtorrentfilter.h" #include "qtorrentfilter.h"
#include "jsonutils.h" #include "jsonutils.h"

6
src/webui/prefjson.cpp

@ -29,10 +29,10 @@
*/ */
#include "prefjson.h" #include "prefjson.h"
#include "preferences.h" #include "core/preferences.h"
#include "qbtsession.h" #include "qbtsession.h"
#include "scannedfoldersmodel.h" #include "core/scannedfoldersmodel.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include <libtorrent/version.hpp> #include <libtorrent/version.hpp>
#ifndef QT_NO_OPENSSL #ifndef QT_NO_OPENSSL

2
src/webui/qtorrentfilter.cpp

@ -26,7 +26,7 @@
* exception statement from your version. * exception statement from your version.
*/ */
#include "torrentpersistentdata.h" #include "core/torrentpersistentdata.h"
#include "qtorrentfilter.h" #include "qtorrentfilter.h"
QTorrentFilter::QTorrentFilter(QString filter, QString label) QTorrentFilter::QTorrentFilter(QString filter, QString label)

6
src/webui/webapplication.cpp

@ -37,9 +37,9 @@
// TODO: Drop GUI dependency! // TODO: Drop GUI dependency!
#include "iconprovider.h" #include "iconprovider.h"
#endif #endif
#include "misc.h" #include "core/misc.h"
#include "fs_utils.h" #include "core/fs_utils.h"
#include "preferences.h" #include "core/preferences.h"
#include "btjson.h" #include "btjson.h"
#include "prefjson.h" #include "prefjson.h"
#include "qbtsession.h" #include "qbtsession.h"

6
src/webui/webui.cpp

@ -27,11 +27,11 @@
*/ */
#include "webui.h" #include "webui.h"
#include "http/server.h" #include "core/http/server.h"
#include "webapplication.h" #include "webapplication.h"
#include "core/net/dnsupdater.h" #include "core/net/dnsupdater.h"
#include "preferences.h" #include "core/preferences.h"
#include "logger.h" #include "core/logger.h"
WebUI::WebUI(QObject *parent) : QObject(parent) WebUI::WebUI(QObject *parent) : QObject(parent)
{ {

Loading…
Cancel
Save