Browse Source

Merge pull request #3860 from glassez/base

Rename Core to Base (Closes #3733).
adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
2aa8c07d0e
  1. 22
      src/app/application.cpp
  2. 2
      src/app/application.h
  3. 4
      src/app/main.cpp
  4. 10
      src/app/upgrade.h
  5. 0
      src/base/base.pri
  6. 0
      src/base/bittorrent/cachestatus.cpp
  7. 0
      src/base/bittorrent/cachestatus.h
  8. 0
      src/base/bittorrent/infohash.cpp
  9. 0
      src/base/bittorrent/infohash.h
  10. 2
      src/base/bittorrent/magneturi.cpp
  11. 0
      src/base/bittorrent/magneturi.h
  12. 6
      src/base/bittorrent/peerinfo.cpp
  13. 0
      src/base/bittorrent/peerinfo.h
  14. 2
      src/base/bittorrent/private/bandwidthscheduler.cpp
  15. 0
      src/base/bittorrent/private/bandwidthscheduler.h
  16. 2
      src/base/bittorrent/private/filterparserthread.cpp
  17. 0
      src/base/bittorrent/private/filterparserthread.h
  18. 0
      src/base/bittorrent/private/speedmonitor.cpp
  19. 0
      src/base/bittorrent/private/speedmonitor.h
  20. 10
      src/base/bittorrent/private/statistics.cpp
  21. 0
      src/base/bittorrent/private/statistics.h
  22. 24
      src/base/bittorrent/session.cpp
  23. 4
      src/base/bittorrent/session.h
  24. 0
      src/base/bittorrent/sessionstatus.cpp
  25. 0
      src/base/bittorrent/sessionstatus.h
  26. 6
      src/base/bittorrent/torrentcreatorthread.cpp
  27. 0
      src/base/bittorrent/torrentcreatorthread.h
  28. 10
      src/base/bittorrent/torrenthandle.cpp
  29. 2
      src/base/bittorrent/torrenthandle.h
  30. 6
      src/base/bittorrent/torrentinfo.cpp
  31. 0
      src/base/bittorrent/torrentinfo.h
  32. 6
      src/base/bittorrent/tracker.cpp
  33. 6
      src/base/bittorrent/tracker.h
  34. 4
      src/base/bittorrent/trackerentry.cpp
  35. 0
      src/base/bittorrent/trackerentry.h
  36. 6
      src/base/filesystemwatcher.cpp
  37. 0
      src/base/filesystemwatcher.h
  38. 0
      src/base/http/connection.cpp
  39. 0
      src/base/http/connection.h
  40. 0
      src/base/http/irequesthandler.h
  41. 0
      src/base/http/requestparser.cpp
  42. 0
      src/base/http/requestparser.h
  43. 0
      src/base/http/responsebuilder.cpp
  44. 0
      src/base/http/responsebuilder.h
  45. 2
      src/base/http/responsegenerator.cpp
  46. 0
      src/base/http/responsegenerator.h
  47. 0
      src/base/http/server.cpp
  48. 0
      src/base/http/server.h
  49. 0
      src/base/http/types.h
  50. 0
      src/base/iconprovider.cpp
  51. 0
      src/base/iconprovider.h
  52. 0
      src/base/logger.cpp
  53. 0
      src/base/logger.h
  54. 2
      src/base/net/dnsupdater.cpp
  55. 2
      src/base/net/dnsupdater.h
  56. 6
      src/base/net/downloadhandler.cpp
  57. 0
      src/base/net/downloadhandler.h
  58. 2
      src/base/net/downloadmanager.cpp
  59. 0
      src/base/net/downloadmanager.h
  60. 8
      src/base/net/geoipmanager.cpp
  61. 0
      src/base/net/geoipmanager.h
  62. 4
      src/base/net/portforwarder.cpp
  63. 0
      src/base/net/portforwarder.h
  64. 2
      src/base/net/private/geoipdatabase.cpp
  65. 0
      src/base/net/private/geoipdatabase.h
  66. 0
      src/base/net/reverseresolution.cpp
  67. 0
      src/base/net/reverseresolution.h
  68. 4
      src/base/net/smtp.cpp
  69. 0
      src/base/net/smtp.h
  70. 4
      src/base/preferences.cpp
  71. 2
      src/base/preferences.h
  72. 0
      src/base/qinisettings.h
  73. 0
      src/base/scanfoldersmodel.cpp
  74. 0
      src/base/scanfoldersmodel.h
  75. 0
      src/base/torrentfilter.cpp
  76. 0
      src/base/torrentfilter.h
  77. 0
      src/base/tristatebool.cpp
  78. 0
      src/base/tristatebool.h
  79. 0
      src/base/types.h
  80. 0
      src/base/unicodestrings.h
  81. 0
      src/base/utils/fs.cpp
  82. 0
      src/base/utils/fs.h
  83. 0
      src/base/utils/gzip.cpp
  84. 0
      src/base/utils/gzip.h
  85. 6
      src/base/utils/misc.cpp
  86. 2
      src/base/utils/misc.h
  87. 0
      src/base/utils/string.cpp
  88. 0
      src/base/utils/string.h
  89. 2
      src/gui/about_imp.h
  90. 20
      src/gui/addnewtorrentdialog.cpp
  91. 4
      src/gui/addnewtorrentdialog.h
  92. 2
      src/gui/advancedsettings.h
  93. 4
      src/gui/deletionconfirmationdlg.h
  94. 2
      src/gui/executionlog.cpp
  95. 2
      src/gui/guiiconprovider.cpp
  96. 2
      src/gui/guiiconprovider.h
  97. 16
      src/gui/mainwindow.cpp
  98. 12
      src/gui/options_imp.cpp
  99. 4
      src/gui/previewlistdelegate.h
  100. 6
      src/gui/previewselect.cpp
  101. Some files were not shown because too many files have changed in this diff Show More

22
src/app/application.cpp

@ -58,17 +58,17 @@
#endif #endif
#include "application.h" #include "application.h"
#include "core/logger.h" #include "base/logger.h"
#include "core/preferences.h" #include "base/preferences.h"
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "core/iconprovider.h" #include "base/iconprovider.h"
#include "core/scanfoldersmodel.h" #include "base/scanfoldersmodel.h"
#include "core/net/smtp.h" #include "base/net/smtp.h"
#include "core/net/downloadmanager.h" #include "base/net/downloadmanager.h"
#include "core/net/geoipmanager.h" #include "base/net/geoipmanager.h"
#include "core/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "core/bittorrent/torrenthandle.h" #include "base/bittorrent/torrenthandle.h"
static const char PARAMS_SEPARATOR[] = "|"; static const char PARAMS_SEPARATOR[] = "|";

2
src/app/application.h

@ -50,7 +50,7 @@ QT_END_NAMESPACE
typedef QtSingleCoreApplication BaseApplication; typedef QtSingleCoreApplication BaseApplication;
#endif #endif
#include "core/utils/misc.h" #include "base/utils/misc.h"
#ifndef DISABLE_WEBUI #ifndef DISABLE_WEBUI
class WebUI; class WebUI;

4
src/app/main.cpp

@ -72,8 +72,8 @@ Q_IMPORT_PLUGIN(qico)
#include <cstdlib> #include <cstdlib>
#include <iostream> #include <iostream>
#include "application.h" #include "application.h"
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "core/preferences.h" #include "base/preferences.h"
#include "upgrade.h" #include "upgrade.h"

10
src/app/upgrade.h

@ -40,11 +40,11 @@
#include <QMessageBox> #include <QMessageBox>
#endif #endif
#include "core/logger.h" #include "base/logger.h"
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "core/utils/string.h" #include "base/utils/string.h"
#include "core/qinisettings.h" #include "base/qinisettings.h"
bool userAcceptsUpgrade() bool userAcceptsUpgrade()
{ {

0
src/core/core.pri → src/base/base.pri

0
src/core/bittorrent/cachestatus.cpp → src/base/bittorrent/cachestatus.cpp

0
src/core/bittorrent/cachestatus.h → src/base/bittorrent/cachestatus.h

0
src/core/bittorrent/infohash.cpp → src/base/bittorrent/infohash.cpp

0
src/core/bittorrent/infohash.h → src/base/bittorrent/infohash.h

2
src/core/bittorrent/magneturi.cpp → src/base/bittorrent/magneturi.cpp

@ -30,7 +30,7 @@
#include <libtorrent/error_code.hpp> #include <libtorrent/error_code.hpp>
#include <libtorrent/magnet_uri.hpp> #include <libtorrent/magnet_uri.hpp>
#include "core/utils/string.h" #include "base/utils/string.h"
#include "magneturi.h" #include "magneturi.h"
namespace libt = libtorrent; namespace libt = libtorrent;

0
src/core/bittorrent/magneturi.h → src/base/bittorrent/magneturi.h

6
src/core/bittorrent/peerinfo.cpp → src/base/bittorrent/peerinfo.cpp

@ -26,9 +26,9 @@
* exception statement from your version. * exception statement from your version.
*/ */
#include "core/net/geoipmanager.h" #include "base/net/geoipmanager.h"
#include "core/utils/string.h" #include "base/utils/string.h"
#include "core/unicodestrings.h" #include "base/unicodestrings.h"
#include "peerinfo.h" #include "peerinfo.h"
namespace libt = libtorrent; namespace libt = libtorrent;

0
src/core/bittorrent/peerinfo.h → src/base/bittorrent/peerinfo.h

2
src/core/bittorrent/private/bandwidthscheduler.cpp → src/base/bittorrent/private/bandwidthscheduler.cpp

@ -31,7 +31,7 @@
#include <QTime> #include <QTime>
#include <QDateTime> #include <QDateTime>
#include "core/preferences.h" #include "base/preferences.h"
#include "bandwidthscheduler.h" #include "bandwidthscheduler.h"
BandwidthScheduler::BandwidthScheduler(QObject *parent) BandwidthScheduler::BandwidthScheduler(QObject *parent)

0
src/core/bittorrent/private/bandwidthscheduler.h → src/base/bittorrent/private/bandwidthscheduler.h

2
src/core/bittorrent/private/filterparserthread.cpp → src/base/bittorrent/private/filterparserthread.cpp

@ -36,7 +36,7 @@
#include <libtorrent/session.hpp> #include <libtorrent/session.hpp>
#include <libtorrent/ip_filter.hpp> #include <libtorrent/ip_filter.hpp>
#include "core/logger.h" #include "base/logger.h"
#include "filterparserthread.h" #include "filterparserthread.h"
namespace libt = libtorrent; namespace libt = libtorrent;

0
src/core/bittorrent/private/filterparserthread.h → src/base/bittorrent/private/filterparserthread.h

0
src/core/bittorrent/private/speedmonitor.cpp → src/base/bittorrent/private/speedmonitor.cpp

0
src/core/bittorrent/private/speedmonitor.h → src/base/bittorrent/private/speedmonitor.h

10
src/core/bittorrent/private/statistics.cpp → src/base/bittorrent/private/statistics.cpp

@ -2,10 +2,10 @@
#include <libtorrent/session.hpp> #include <libtorrent/session.hpp>
#include "core/qinisettings.h" #include "base/qinisettings.h"
#include "core/preferences.h" #include "base/preferences.h"
#include "core/bittorrent/sessionstatus.h" #include "base/bittorrent/sessionstatus.h"
#include "core/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "statistics.h" #include "statistics.h"
static const qint64 SAVE_INTERVAL = 15 * 60 * 1000; static const qint64 SAVE_INTERVAL = 15 * 60 * 1000;
@ -83,7 +83,7 @@ void Statistics::load()
// Don't forget to remove: // Don't forget to remove:
// 1. Preferences::getStats() // 1. Preferences::getStats()
// 2. Preferences::removeStats() // 2. Preferences::removeStats()
// 3. #include "core/preferences.h" // 3. #include "base/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();

0
src/core/bittorrent/private/statistics.h → src/base/bittorrent/private/statistics.h

24
src/core/bittorrent/session.cpp → src/base/bittorrent/session.cpp

@ -63,20 +63,20 @@ using namespace BitTorrent;
//#include <libtorrent/extensions/metadata_transfer.hpp> //#include <libtorrent/extensions/metadata_transfer.hpp>
#ifndef DISABLE_COUNTRIES_RESOLUTION #ifndef DISABLE_COUNTRIES_RESOLUTION
#include "core/net/geoipmanager.h" #include "base/net/geoipmanager.h"
#endif #endif
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "core/utils/string.h" #include "base/utils/string.h"
#include "core/unicodestrings.h" #include "base/unicodestrings.h"
#include "core/logger.h" #include "base/logger.h"
#include "core/preferences.h" #include "base/preferences.h"
#include "core/torrentfilter.h" #include "base/torrentfilter.h"
#include "core/net/downloadmanager.h" #include "base/net/downloadmanager.h"
#include "core/net/downloadhandler.h" #include "base/net/downloadhandler.h"
#include "core/net/portforwarder.h" #include "base/net/portforwarder.h"
#include "core/utils/string.h" #include "base/utils/string.h"
#include "private/filterparserthread.h" #include "private/filterparserthread.h"
#include "private/statistics.h" #include "private/statistics.h"
#include "private/bandwidthscheduler.h" #include "private/bandwidthscheduler.h"

4
src/core/bittorrent/session.h → src/base/bittorrent/session.h

@ -38,8 +38,8 @@
#include <QWaitCondition> #include <QWaitCondition>
#include <QNetworkConfigurationManager> #include <QNetworkConfigurationManager>
#include "core/tristatebool.h" #include "base/tristatebool.h"
#include "core/types.h" #include "base/types.h"
#include "torrentinfo.h" #include "torrentinfo.h"
namespace libtorrent namespace libtorrent

0
src/core/bittorrent/sessionstatus.cpp → src/base/bittorrent/sessionstatus.cpp

0
src/core/bittorrent/sessionstatus.h → src/base/bittorrent/sessionstatus.h

6
src/core/bittorrent/torrentcreatorthread.cpp → src/base/bittorrent/torrentcreatorthread.cpp

@ -43,9 +43,9 @@
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "core/utils/string.h" #include "base/utils/string.h"
#include "torrentcreatorthread.h" #include "torrentcreatorthread.h"
namespace libt = libtorrent; namespace libt = libtorrent;

0
src/core/bittorrent/torrentcreatorthread.h → src/base/bittorrent/torrentcreatorthread.h

10
src/core/bittorrent/torrenthandle.cpp → src/base/bittorrent/torrenthandle.cpp

@ -46,11 +46,11 @@
#include <Windows.h> #include <Windows.h>
#endif #endif
#include "core/logger.h" #include "base/logger.h"
#include "core/preferences.h" #include "base/preferences.h"
#include "core/utils/string.h" #include "base/utils/string.h"
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "session.h" #include "session.h"
#include "peerinfo.h" #include "peerinfo.h"
#include "trackerentry.h" #include "trackerentry.h"

2
src/core/bittorrent/torrenthandle.h → src/base/bittorrent/torrenthandle.h

@ -40,7 +40,7 @@
#include <libtorrent/torrent_handle.hpp> #include <libtorrent/torrent_handle.hpp>
#include <boost/function.hpp> #include <boost/function.hpp>
#include "core/tristatebool.h" #include "base/tristatebool.h"
#include "private/speedmonitor.h" #include "private/speedmonitor.h"
#include "infohash.h" #include "infohash.h"
#include "torrentinfo.h" #include "torrentinfo.h"

6
src/core/bittorrent/torrentinfo.cpp → src/base/bittorrent/torrentinfo.cpp

@ -33,9 +33,9 @@
#include <libtorrent/error_code.hpp> #include <libtorrent/error_code.hpp>
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "core/utils/string.h" #include "base/utils/string.h"
#include "infohash.h" #include "infohash.h"
#include "trackerentry.h" #include "trackerentry.h"
#include "torrentinfo.h" #include "torrentinfo.h"

0
src/core/bittorrent/torrentinfo.h → src/base/bittorrent/torrentinfo.h

6
src/core/bittorrent/tracker.cpp → src/base/bittorrent/tracker.cpp

@ -33,9 +33,9 @@
#include <libtorrent/bencode.hpp> #include <libtorrent/bencode.hpp>
#include <libtorrent/entry.hpp> #include <libtorrent/entry.hpp>
#include "core/preferences.h" #include "base/preferences.h"
#include "core/http/server.h" #include "base/http/server.h"
#include "core/utils/string.h" #include "base/utils/string.h"
#include "tracker.h" #include "tracker.h"
// static limits // static limits

6
src/core/bittorrent/tracker.h → src/base/bittorrent/tracker.h

@ -33,9 +33,9 @@
#define BITTORRENT_TRACKER_H #define BITTORRENT_TRACKER_H
#include <QHash> #include <QHash>
#include "core/http/types.h" #include "base/http/types.h"
#include "core/http/responsebuilder.h" #include "base/http/responsebuilder.h"
#include "core/http/irequesthandler.h" #include "base/http/irequesthandler.h"
namespace libtorrent namespace libtorrent
{ {

4
src/core/bittorrent/trackerentry.cpp → src/base/bittorrent/trackerentry.cpp

@ -28,8 +28,8 @@
#include <QString> #include <QString>
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "core/utils/string.h" #include "base/utils/string.h"
#include "trackerentry.h" #include "trackerentry.h"
using namespace BitTorrent; using namespace BitTorrent;

0
src/core/bittorrent/trackerentry.h → src/base/bittorrent/trackerentry.h

6
src/core/filesystemwatcher.cpp → src/base/filesystemwatcher.cpp

@ -12,9 +12,9 @@
#endif #endif
#endif #endif
#include "core/preferences.h" #include "base/preferences.h"
#include "core/bittorrent/torrentinfo.h" #include "base/bittorrent/torrentinfo.h"
#include "core/bittorrent/magneturi.h" #include "base/bittorrent/magneturi.h"
#include "filesystemwatcher.h" #include "filesystemwatcher.h"
#ifndef CIFS_MAGIC_NUMBER #ifndef CIFS_MAGIC_NUMBER

0
src/core/filesystemwatcher.h → src/base/filesystemwatcher.h

0
src/core/http/connection.cpp → src/base/http/connection.cpp

0
src/core/http/connection.h → src/base/http/connection.h

0
src/core/http/irequesthandler.h → src/base/http/irequesthandler.h

0
src/core/http/requestparser.cpp → src/base/http/requestparser.cpp

0
src/core/http/requestparser.h → src/base/http/requestparser.h

0
src/core/http/responsebuilder.cpp → src/base/http/responsebuilder.cpp

0
src/core/http/responsebuilder.h → src/base/http/responsebuilder.h

2
src/core/http/responsegenerator.cpp → src/base/http/responsegenerator.cpp

@ -29,7 +29,7 @@
* Contact : chris@qbittorrent.org * Contact : chris@qbittorrent.org
*/ */
#include "core/utils/gzip.h" #include "base/utils/gzip.h"
#include "responsegenerator.h" #include "responsegenerator.h"
using namespace Http; using namespace Http;

0
src/core/http/responsegenerator.h → src/base/http/responsegenerator.h

0
src/core/http/server.cpp → src/base/http/server.cpp

0
src/core/http/server.h → src/base/http/server.h

0
src/core/http/types.h → src/base/http/types.h

0
src/core/iconprovider.cpp → src/base/iconprovider.cpp

0
src/core/iconprovider.h → src/base/iconprovider.h

0
src/core/logger.cpp → src/base/logger.cpp

0
src/core/logger.h → src/base/logger.h

2
src/core/net/dnsupdater.cpp → src/base/net/dnsupdater.cpp

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

2
src/core/net/dnsupdater.h → src/base/net/dnsupdater.h

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

6
src/core/net/downloadhandler.cpp → src/base/net/downloadhandler.cpp

@ -36,9 +36,9 @@
#include <QUrl> #include <QUrl>
#include <QDebug> #include <QDebug>
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "core/utils/gzip.h" #include "base/utils/gzip.h"
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "downloadmanager.h" #include "downloadmanager.h"
#include "downloadhandler.h" #include "downloadhandler.h"

0
src/core/net/downloadhandler.h → src/base/net/downloadhandler.h

2
src/core/net/downloadmanager.cpp → src/base/net/downloadmanager.cpp

@ -36,7 +36,7 @@
#include <QUrl> #include <QUrl>
#include <QDebug> #include <QDebug>
#include "core/preferences.h" #include "base/preferences.h"
#include "downloadhandler.h" #include "downloadhandler.h"
#include "downloadmanager.h" #include "downloadmanager.h"

0
src/core/net/downloadmanager.h → src/base/net/downloadmanager.h

8
src/core/net/geoipmanager.cpp → src/base/net/geoipmanager.cpp

@ -33,10 +33,10 @@
#include <QHostAddress> #include <QHostAddress>
#include <QDateTime> #include <QDateTime>
#include "core/logger.h" #include "base/logger.h"
#include "core/preferences.h" #include "base/preferences.h"
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "core/utils/gzip.h" #include "base/utils/gzip.h"
#include "downloadmanager.h" #include "downloadmanager.h"
#include "downloadhandler.h" #include "downloadhandler.h"
#include "private/geoipdatabase.h" #include "private/geoipdatabase.h"

0
src/core/net/geoipmanager.h → src/base/net/geoipmanager.h

4
src/core/net/portforwarder.cpp → src/base/net/portforwarder.cpp

@ -30,8 +30,8 @@
#include <libtorrent/session.hpp> #include <libtorrent/session.hpp>
#include "core/logger.h" #include "base/logger.h"
#include "core/preferences.h" #include "base/preferences.h"
#include "portforwarder.h" #include "portforwarder.h"
namespace libt = libtorrent; namespace libt = libtorrent;

0
src/core/net/portforwarder.h → src/base/net/portforwarder.h

2
src/core/net/private/geoipdatabase.cpp → src/base/net/private/geoipdatabase.cpp

@ -33,7 +33,7 @@
#include <QDateTime> #include <QDateTime>
#include <QFile> #include <QFile>
#include "core/types.h" #include "base/types.h"
#include "geoipdatabase.h" #include "geoipdatabase.h"
namespace namespace

0
src/core/net/private/geoipdatabase.h → src/base/net/private/geoipdatabase.h

0
src/core/net/reverseresolution.cpp → src/base/net/reverseresolution.cpp

0
src/core/net/reverseresolution.h → src/base/net/reverseresolution.h

4
src/core/net/smtp.cpp → src/base/net/smtp.cpp

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

0
src/core/net/smtp.h → src/base/net/smtp.h

4
src/core/preferences.cpp → src/base/preferences.cpp

@ -52,8 +52,8 @@
#endif #endif
#include <cstdlib> #include <cstdlib>
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "core/utils/misc.h" #include "base/utils/misc.h"
Preferences* Preferences::m_instance = 0; Preferences* Preferences::m_instance = 0;

2
src/core/preferences.h → src/base/preferences.h

@ -41,7 +41,7 @@
#include <QNetworkCookie> #include <QNetworkCookie>
#include <QVariant> #include <QVariant>
#include "core/types.h" #include "base/types.h"
enum scheduler_days enum scheduler_days
{ {

0
src/core/qinisettings.h → src/base/qinisettings.h

0
src/core/scanfoldersmodel.cpp → src/base/scanfoldersmodel.cpp

0
src/core/scanfoldersmodel.h → src/base/scanfoldersmodel.h

0
src/core/torrentfilter.cpp → src/base/torrentfilter.cpp

0
src/core/torrentfilter.h → src/base/torrentfilter.h

0
src/core/tristatebool.cpp → src/base/tristatebool.cpp

0
src/core/tristatebool.h → src/base/tristatebool.h

0
src/core/types.h → src/base/types.h

0
src/core/unicodestrings.h → src/base/unicodestrings.h

0
src/core/utils/fs.cpp → src/base/utils/fs.cpp

0
src/core/utils/fs.h → src/base/utils/fs.h

0
src/core/utils/gzip.cpp → src/base/utils/gzip.cpp

0
src/core/utils/gzip.h → src/base/utils/gzip.h

6
src/core/utils/misc.cpp → src/base/utils/misc.cpp

@ -72,9 +72,9 @@ const int UNLEN = 256;
#include <QProcess> #include <QProcess>
#endif #endif
#include "core/utils/string.h" #include "base/utils/string.h"
#include "core/unicodestrings.h" #include "base/unicodestrings.h"
#include "core/logger.h" #include "base/logger.h"
#include "misc.h" #include "misc.h"
#include "fs.h" #include "fs.h"

2
src/core/utils/misc.h → src/base/utils/misc.h

@ -39,7 +39,7 @@
#include <QFile> #include <QFile>
#include <QDir> #include <QDir>
#include <QUrl> #include <QUrl>
#include "core/types.h" #include "base/types.h"
/* Miscellaneous functions that can be useful */ /* Miscellaneous functions that can be useful */

0
src/core/utils/string.cpp → src/base/utils/string.cpp

0
src/core/utils/string.h → src/base/utils/string.h

2
src/gui/about_imp.h

@ -36,7 +36,7 @@
#include <QtGlobal> #include <QtGlobal>
#include <libtorrent/version.hpp> #include <libtorrent/version.hpp>
#include <boost/version.hpp> #include <boost/version.hpp>
#include "core/unicodestrings.h" #include "base/unicodestrings.h"
class about : public QDialog, private Ui::AboutDlg{ class about : public QDialog, private Ui::AboutDlg{
Q_OBJECT Q_OBJECT

20
src/gui/addnewtorrentdialog.cpp

@ -35,16 +35,16 @@
#include <QMenu> #include <QMenu>
#include <QFileDialog> #include <QFileDialog>
#include "core/preferences.h" #include "base/preferences.h"
#include "core/net/downloadmanager.h" #include "base/net/downloadmanager.h"
#include "core/net/downloadhandler.h" #include "base/net/downloadhandler.h"
#include "core/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "core/bittorrent/magneturi.h" #include "base/bittorrent/magneturi.h"
#include "core/bittorrent/torrentinfo.h" #include "base/bittorrent/torrentinfo.h"
#include "core/bittorrent/torrenthandle.h" #include "base/bittorrent/torrenthandle.h"
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "core/unicodestrings.h" #include "base/unicodestrings.h"
#include "guiiconprovider.h" #include "guiiconprovider.h"
#include "autoexpandabledialog.h" #include "autoexpandabledialog.h"
#include "messageboxraised.h" #include "messageboxraised.h"

4
src/gui/addnewtorrentdialog.h

@ -35,8 +35,8 @@
#include <QDialog> #include <QDialog>
#include <QUrl> #include <QUrl>
#include "core/bittorrent/infohash.h" #include "base/bittorrent/infohash.h"
#include "core/bittorrent/torrentinfo.h" #include "base/bittorrent/torrentinfo.h"
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
namespace Ui { namespace Ui {

2
src/gui/advancedsettings.h

@ -10,7 +10,7 @@
#include <QComboBox> #include <QComboBox>
#include <QNetworkInterface> #include <QNetworkInterface>
#include "core/preferences.h" #include "base/preferences.h"
enum AdvSettingsCols enum AdvSettingsCols
{ {

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 "core/preferences.h" #include "base/preferences.h"
#include "guiiconprovider.h" #include "guiiconprovider.h"
#include "core/utils/misc.h" #include "base/utils/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 "core/logger.h" #include "base/logger.h"
#include "guiiconprovider.h" #include "guiiconprovider.h"
#include "loglistwidget.h" #include "loglistwidget.h"

2
src/gui/guiiconprovider.cpp

@ -28,7 +28,7 @@
*/ */
#include "guiiconprovider.h" #include "guiiconprovider.h"
#include "core/preferences.h" #include "base/preferences.h"
#include <QIcon> #include <QIcon>
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC)) #if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC))

2
src/gui/guiiconprovider.h

@ -30,7 +30,7 @@
#ifndef GUIICONPROVIDER_H #ifndef GUIICONPROVIDER_H
#define GUIICONPROVIDER_H #define GUIICONPROVIDER_H
#include "core/iconprovider.h" #include "base/iconprovider.h"
class QIcon; class QIcon;

16
src/gui/mainwindow.cpp

@ -49,20 +49,20 @@
#include "mainwindow.h" #include "mainwindow.h"
#include "transferlistwidget.h" #include "transferlistwidget.h"
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "torrentcreatordlg.h" #include "torrentcreatordlg.h"
#include "downloadfromurldlg.h" #include "downloadfromurldlg.h"
#include "addnewtorrentdialog.h" #include "addnewtorrentdialog.h"
#include "searchengine.h" #include "searchengine.h"
#include "rss_imp.h" #include "rss_imp.h"
#include "core/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "core/bittorrent/sessionstatus.h" #include "base/bittorrent/sessionstatus.h"
#include "core/bittorrent/torrenthandle.h" #include "base/bittorrent/torrenthandle.h"
#include "about_imp.h" #include "about_imp.h"
#include "trackerlogin.h" #include "trackerlogin.h"
#include "options_imp.h" #include "options_imp.h"
#include "speedlimitdlg.h" #include "speedlimitdlg.h"
#include "core/preferences.h" #include "base/preferences.h"
#include "trackerlist.h" #include "trackerlist.h"
#include "peerlistwidget.h" #include "peerlistwidget.h"
#include "transferlistfilterswidget.h" #include "transferlistfilterswidget.h"
@ -73,7 +73,7 @@
#include "torrentmodel.h" #include "torrentmodel.h"
#include "executionlog.h" #include "executionlog.h"
#include "guiiconprovider.h" #include "guiiconprovider.h"
#include "core/logger.h" #include "base/logger.h"
#include "autoexpandabledialog.h" #include "autoexpandabledialog.h"
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
void qt_mac_set_dock_menu(QMenu *menu); void qt_mac_set_dock_menu(QMenu *menu);
@ -85,8 +85,8 @@ 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 "core/net/downloadmanager.h" #include "base/net/downloadmanager.h"
#include "core/net/downloadhandler.h" #include "base/net/downloadhandler.h"
#endif #endif
#define TIME_TRAY_BALLOON 5000 #define TIME_TRAY_BALLOON 5000

12
src/gui/options_imp.cpp

@ -42,14 +42,14 @@
#include <cstdlib> #include <cstdlib>
#include "options_imp.h" #include "options_imp.h"
#include "core/preferences.h" #include "base/preferences.h"
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "advancedsettings.h" #include "advancedsettings.h"
#include "core/scanfoldersmodel.h" #include "base/scanfoldersmodel.h"
#include "core/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "guiiconprovider.h" #include "guiiconprovider.h"
#include "core/net/dnsupdater.h" #include "base/net/dnsupdater.h"
#include "core/unicodestrings.h" #include "base/unicodestrings.h"
#ifndef QT_NO_OPENSSL #ifndef QT_NO_OPENSSL
#include <QSslKey> #include <QSslKey>

4
src/gui/previewlistdelegate.h

@ -37,8 +37,8 @@
#include <QModelIndex> #include <QModelIndex>
#include <QPainter> #include <QPainter>
#include <QApplication> #include <QApplication>
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "core/utils/string.h" #include "base/utils/string.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 <QTableView> #include <QTableView>
#endif #endif
#include "core/utils/misc.h" #include "base/utils/misc.h"
#include "previewlistdelegate.h" #include "previewlistdelegate.h"
#include "previewselect.h" #include "previewselect.h"
#include "core/utils/fs.h" #include "base/utils/fs.h"
#include "core/preferences.h" #include "base/preferences.h"
PreviewSelect::PreviewSelect(QWidget* parent, BitTorrent::TorrentHandle *const torrent) PreviewSelect::PreviewSelect(QWidget* parent, BitTorrent::TorrentHandle *const torrent)
: QDialog(parent) : QDialog(parent)

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save