Browse Source

Merge pull request #12779 from glassez/cleanup

Clean up source files layout
adaptive-webui-19844
Vladimir Golovnev 5 years ago committed by GitHub
parent
commit
18b2511238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 108
      src/base/CMakeLists.txt
  2. 52
      src/base/base.pri
  3. 0
      src/base/bittorrent/bandwidthscheduler.cpp
  4. 0
      src/base/bittorrent/bandwidthscheduler.h
  5. 0
      src/base/bittorrent/filterparserthread.cpp
  6. 0
      src/base/bittorrent/filterparserthread.h
  7. 0
      src/base/bittorrent/ltunderlyingtype.h
  8. 0
      src/base/bittorrent/nativesessionextension.cpp
  9. 0
      src/base/bittorrent/nativesessionextension.h
  10. 0
      src/base/bittorrent/nativetorrentextension.cpp
  11. 0
      src/base/bittorrent/nativetorrentextension.h
  12. 0
      src/base/bittorrent/portforwarderimpl.cpp
  13. 0
      src/base/bittorrent/portforwarderimpl.h
  14. 0
      src/base/bittorrent/resumedatasavingmanager.cpp
  15. 0
      src/base/bittorrent/resumedatasavingmanager.h
  16. 14
      src/base/bittorrent/session.cpp
  17. 0
      src/base/bittorrent/speedmonitor.cpp
  18. 0
      src/base/bittorrent/speedmonitor.h
  19. 0
      src/base/bittorrent/statistics.cpp
  20. 0
      src/base/bittorrent/statistics.h
  21. 2
      src/base/bittorrent/torrentcreatorthread.cpp
  22. 2
      src/base/bittorrent/torrenthandleimpl.cpp
  23. 2
      src/base/bittorrent/torrenthandleimpl.h
  24. 0
      src/base/net/downloadhandlerimpl.cpp
  25. 0
      src/base/net/downloadhandlerimpl.h
  26. 2
      src/base/net/downloadmanager.cpp
  27. 0
      src/base/net/geoipdatabase.cpp
  28. 0
      src/base/net/geoipdatabase.h
  29. 2
      src/base/net/geoipmanager.cpp
  30. 2
      src/base/profile.cpp
  31. 0
      src/base/profile_p.cpp
  32. 0
      src/base/profile_p.h
  33. 14
      src/base/rss/rss_feed.cpp
  34. 2
      src/base/rss/rss_parser.cpp
  35. 0
      src/base/rss/rss_parser.h
  36. 10
      src/gui/CMakeLists.txt
  37. 2
      src/gui/fspathedit.cpp
  38. 0
      src/gui/fspathedit_p.cpp
  39. 0
      src/gui/fspathedit_p.h
  40. 8
      src/gui/gui.pri
  41. 2
      src/gui/tristateaction.cpp
  42. 0
      src/gui/tristatewidget.cpp
  43. 0
      src/gui/tristatewidget.h

108
src/base/CMakeLists.txt

@ -2,30 +2,35 @@ find_package(ZLIB 1.2.5.2 REQUIRED)
add_library(qbt_base STATIC add_library(qbt_base STATIC
# headers # headers
algorithm.h
asyncfilestorage.h
bittorrent/addtorrentparams.h bittorrent/addtorrentparams.h
bittorrent/bandwidthscheduler.h
bittorrent/cachestatus.h bittorrent/cachestatus.h
bittorrent/downloadpriority.h bittorrent/downloadpriority.h
bittorrent/filterparserthread.h
bittorrent/infohash.h bittorrent/infohash.h
bittorrent/ltunderlyingtype.h
bittorrent/magneturi.h bittorrent/magneturi.h
bittorrent/nativesessionextension.h
bittorrent/nativetorrentextension.h
bittorrent/peeraddress.h bittorrent/peeraddress.h
bittorrent/peerinfo.h bittorrent/peerinfo.h
bittorrent/private/bandwidthscheduler.h bittorrent/portforwarderimpl.h
bittorrent/private/filterparserthread.h bittorrent/resumedatasavingmanager.h
bittorrent/private/ltunderlyingtype.h
bittorrent/private/nativesessionextension.h
bittorrent/private/nativetorrentextension.h
bittorrent/private/portforwarderimpl.h
bittorrent/private/resumedatasavingmanager.h
bittorrent/private/speedmonitor.h
bittorrent/private/statistics.h
bittorrent/session.h bittorrent/session.h
bittorrent/sessionstatus.h bittorrent/sessionstatus.h
bittorrent/speedmonitor.h
bittorrent/statistics.h
bittorrent/torrentcreatorthread.h bittorrent/torrentcreatorthread.h
bittorrent/torrenthandle.h bittorrent/torrenthandle.h
bittorrent/torrenthandleimpl.h bittorrent/torrenthandleimpl.h
bittorrent/torrentinfo.h bittorrent/torrentinfo.h
bittorrent/tracker.h bittorrent/tracker.h
bittorrent/trackerentry.h bittorrent/trackerentry.h
exceptions.h
filesystemwatcher.h
global.h
http/connection.h http/connection.h
http/httperror.h http/httperror.h
http/irequesthandler.h http/irequesthandler.h
@ -34,27 +39,39 @@ add_library(qbt_base STATIC
http/responsegenerator.h http/responsegenerator.h
http/server.h http/server.h
http/types.h http/types.h
iconprovider.h
indexrange.h
logger.h
net/dnsupdater.h net/dnsupdater.h
net/downloadhandlerimpl.h
net/downloadmanager.h net/downloadmanager.h
net/geoipdatabase.h
net/geoipmanager.h net/geoipmanager.h
net/portforwarder.h net/portforwarder.h
net/private/downloadhandlerimpl.h
net/private/geoipdatabase.h
net/proxyconfigurationmanager.h net/proxyconfigurationmanager.h
net/reverseresolution.h net/reverseresolution.h
net/smtp.h net/smtp.h
private/profile_p.h preferences.h
rss/private/rss_parser.h profile.h
profile_p.h
rss/rss_article.h rss/rss_article.h
rss/rss_autodownloader.h rss/rss_autodownloader.h
rss/rss_autodownloadrule.h rss/rss_autodownloadrule.h
rss/rss_feed.h rss/rss_feed.h
rss/rss_folder.h rss/rss_folder.h
rss/rss_item.h rss/rss_item.h
rss/rss_parser.h
rss/rss_session.h rss/rss_session.h
scanfoldersmodel.h
search/searchdownloadhandler.h search/searchdownloadhandler.h
search/searchhandler.h search/searchhandler.h
search/searchpluginmanager.h search/searchpluginmanager.h
settingsstorage.h
torrentfileguard.h
torrentfilter.h
tristatebool.h
types.h
unicodestrings.h
utils/bytearray.h utils/bytearray.h
utils/foreignapps.h utils/foreignapps.h
utils/fs.h utils/fs.h
@ -66,72 +83,67 @@ add_library(qbt_base STATIC
utils/random.h utils/random.h
utils/string.h utils/string.h
utils/version.h utils/version.h
algorithm.h
asyncfilestorage.h
exceptions.h
filesystemwatcher.h
global.h
iconprovider.h
indexrange.h
logger.h
preferences.h
profile.h
scanfoldersmodel.h
settingsstorage.h
torrentfileguard.h
torrentfilter.h
tristatebool.h
types.h
unicodestrings.h
# sources # sources
asyncfilestorage.cpp
bittorrent/bandwidthscheduler.cpp
bittorrent/downloadpriority.cpp bittorrent/downloadpriority.cpp
bittorrent/filterparserthread.cpp
bittorrent/infohash.cpp bittorrent/infohash.cpp
bittorrent/magneturi.cpp bittorrent/magneturi.cpp
bittorrent/nativesessionextension.cpp
bittorrent/nativetorrentextension.cpp
bittorrent/peeraddress.cpp bittorrent/peeraddress.cpp
bittorrent/peerinfo.cpp bittorrent/peerinfo.cpp
bittorrent/private/bandwidthscheduler.cpp bittorrent/portforwarderimpl.cpp
bittorrent/private/filterparserthread.cpp bittorrent/resumedatasavingmanager.cpp
bittorrent/private/nativesessionextension.cpp
bittorrent/private/nativetorrentextension.cpp
bittorrent/private/portforwarderimpl.cpp
bittorrent/private/resumedatasavingmanager.cpp
bittorrent/private/speedmonitor.cpp
bittorrent/private/statistics.cpp
bittorrent/session.cpp bittorrent/session.cpp
bittorrent/speedmonitor.cpp
bittorrent/statistics.cpp
bittorrent/torrentcreatorthread.cpp bittorrent/torrentcreatorthread.cpp
bittorrent/torrenthandle.cpp bittorrent/torrenthandle.cpp
bittorrent/torrenthandleimpl.cpp bittorrent/torrenthandleimpl.cpp
bittorrent/torrentinfo.cpp bittorrent/torrentinfo.cpp
bittorrent/tracker.cpp bittorrent/tracker.cpp
bittorrent/trackerentry.cpp bittorrent/trackerentry.cpp
exceptions.cpp
filesystemwatcher.cpp
http/connection.cpp http/connection.cpp
http/httperror.cpp http/httperror.cpp
http/requestparser.cpp http/requestparser.cpp
http/responsebuilder.cpp http/responsebuilder.cpp
http/responsegenerator.cpp http/responsegenerator.cpp
http/server.cpp http/server.cpp
iconprovider.cpp
logger.cpp
net/dnsupdater.cpp net/dnsupdater.cpp
net/downloadhandlerimpl.cpp
net/downloadmanager.cpp net/downloadmanager.cpp
net/geoipdatabase.cpp
net/geoipmanager.cpp net/geoipmanager.cpp
net/portforwarder.cpp net/portforwarder.cpp
net/private/downloadhandlerimpl.cpp
net/private/geoipdatabase.cpp
net/proxyconfigurationmanager.cpp net/proxyconfigurationmanager.cpp
net/reverseresolution.cpp net/reverseresolution.cpp
net/smtp.cpp net/smtp.cpp
private/profile_p.cpp preferences.cpp
rss/private/rss_parser.cpp profile.cpp
profile_p.cpp
rss/rss_article.cpp rss/rss_article.cpp
rss/rss_autodownloader.cpp rss/rss_autodownloader.cpp
rss/rss_autodownloadrule.cpp rss/rss_autodownloadrule.cpp
rss/rss_feed.cpp rss/rss_feed.cpp
rss/rss_folder.cpp rss/rss_folder.cpp
rss/rss_item.cpp rss/rss_item.cpp
rss/rss_parser.cpp
rss/rss_session.cpp rss/rss_session.cpp
scanfoldersmodel.cpp
search/searchdownloadhandler.cpp search/searchdownloadhandler.cpp
search/searchhandler.cpp search/searchhandler.cpp
search/searchpluginmanager.cpp search/searchpluginmanager.cpp
settingsstorage.cpp
torrentfileguard.cpp
torrentfilter.cpp
tristatebool.cpp
utils/bytearray.cpp utils/bytearray.cpp
utils/foreignapps.cpp utils/foreignapps.cpp
utils/fs.cpp utils/fs.cpp
@ -142,18 +154,6 @@ add_library(qbt_base STATIC
utils/password.cpp utils/password.cpp
utils/random.cpp utils/random.cpp
utils/string.cpp utils/string.cpp
asyncfilestorage.cpp
exceptions.cpp
filesystemwatcher.cpp
iconprovider.cpp
logger.cpp
preferences.cpp
profile.cpp
scanfoldersmodel.cpp
settingsstorage.cpp
torrentfileguard.cpp
torrentfilter.cpp
tristatebool.cpp
) )
target_link_libraries(qbt_base target_link_libraries(qbt_base

52
src/base/base.pri

@ -2,23 +2,23 @@ HEADERS += \
$$PWD/algorithm.h \ $$PWD/algorithm.h \
$$PWD/asyncfilestorage.h \ $$PWD/asyncfilestorage.h \
$$PWD/bittorrent/addtorrentparams.h \ $$PWD/bittorrent/addtorrentparams.h \
$$PWD/bittorrent/bandwidthscheduler.h \
$$PWD/bittorrent/cachestatus.h \ $$PWD/bittorrent/cachestatus.h \
$$PWD/bittorrent/downloadpriority.h \ $$PWD/bittorrent/downloadpriority.h \
$$PWD/bittorrent/filterparserthread.h \
$$PWD/bittorrent/infohash.h \ $$PWD/bittorrent/infohash.h \
$$PWD/bittorrent/ltunderlyingtype.h \
$$PWD/bittorrent/magneturi.h \ $$PWD/bittorrent/magneturi.h \
$$PWD/bittorrent/nativesessionextension.h \
$$PWD/bittorrent/nativetorrentextension.h \
$$PWD/bittorrent/peeraddress.h \ $$PWD/bittorrent/peeraddress.h \
$$PWD/bittorrent/peerinfo.h \ $$PWD/bittorrent/peerinfo.h \
$$PWD/bittorrent/private/bandwidthscheduler.h \ $$PWD/bittorrent/portforwarderimpl.h \
$$PWD/bittorrent/private/filterparserthread.h \ $$PWD/bittorrent/resumedatasavingmanager.h \
$$PWD/bittorrent/private/ltunderlyingtype.h \
$$PWD/bittorrent/private/nativesessionextension.h \
$$PWD/bittorrent/private/nativetorrentextension.h \
$$PWD/bittorrent/private/portforwarderimpl.h \
$$PWD/bittorrent/private/resumedatasavingmanager.h \
$$PWD/bittorrent/private/speedmonitor.h \
$$PWD/bittorrent/private/statistics.h \
$$PWD/bittorrent/session.h \ $$PWD/bittorrent/session.h \
$$PWD/bittorrent/sessionstatus.h \ $$PWD/bittorrent/sessionstatus.h \
$$PWD/bittorrent/speedmonitor.h \
$$PWD/bittorrent/statistics.h \
$$PWD/bittorrent/torrentcreatorthread.h \ $$PWD/bittorrent/torrentcreatorthread.h \
$$PWD/bittorrent/torrenthandle.h \ $$PWD/bittorrent/torrenthandle.h \
$$PWD/bittorrent/torrenthandleimpl.h \ $$PWD/bittorrent/torrenthandleimpl.h \
@ -40,28 +40,28 @@ HEADERS += \
$$PWD/indexrange.h \ $$PWD/indexrange.h \
$$PWD/logger.h \ $$PWD/logger.h \
$$PWD/net/dnsupdater.h \ $$PWD/net/dnsupdater.h \
$$PWD/net/downloadhandlerimpl.h \
$$PWD/net/downloadmanager.h \ $$PWD/net/downloadmanager.h \
$$PWD/net/geoipdatabase.h \
$$PWD/net/geoipmanager.h \ $$PWD/net/geoipmanager.h \
$$PWD/net/portforwarder.h \ $$PWD/net/portforwarder.h \
$$PWD/net/private/downloadhandlerimpl.h \
$$PWD/net/private/geoipdatabase.h \
$$PWD/net/proxyconfigurationmanager.h \ $$PWD/net/proxyconfigurationmanager.h \
$$PWD/net/reverseresolution.h \ $$PWD/net/reverseresolution.h \
$$PWD/net/smtp.h \ $$PWD/net/smtp.h \
$$PWD/preferences.h \ $$PWD/preferences.h \
$$PWD/private/profile_p.h \
$$PWD/profile.h \ $$PWD/profile.h \
$$PWD/rss/private/rss_parser.h \ $$PWD/profile_p.h \
$$PWD/rss/rss_article.h \ $$PWD/rss/rss_article.h \
$$PWD/rss/rss_autodownloader.h \ $$PWD/rss/rss_autodownloader.h \
$$PWD/rss/rss_autodownloadrule.h \ $$PWD/rss/rss_autodownloadrule.h \
$$PWD/rss/rss_feed.h \ $$PWD/rss/rss_feed.h \
$$PWD/rss/rss_folder.h \ $$PWD/rss/rss_folder.h \
$$PWD/rss/rss_item.h \ $$PWD/rss/rss_item.h \
$$PWD/rss/rss_parser.h \
$$PWD/rss/rss_session.h \ $$PWD/rss/rss_session.h \
$$PWD/scanfoldersmodel.h \ $$PWD/scanfoldersmodel.h \
$$PWD/search/searchhandler.h \
$$PWD/search/searchdownloadhandler.h \ $$PWD/search/searchdownloadhandler.h \
$$PWD/search/searchhandler.h \
$$PWD/search/searchpluginmanager.h \ $$PWD/search/searchpluginmanager.h \
$$PWD/settingsstorage.h \ $$PWD/settingsstorage.h \
$$PWD/settingvalue.h \ $$PWD/settingvalue.h \
@ -84,20 +84,20 @@ HEADERS += \
SOURCES += \ SOURCES += \
$$PWD/asyncfilestorage.cpp \ $$PWD/asyncfilestorage.cpp \
$$PWD/bittorrent/bandwidthscheduler.cpp \
$$PWD/bittorrent/downloadpriority.cpp \ $$PWD/bittorrent/downloadpriority.cpp \
$$PWD/bittorrent/filterparserthread.cpp \
$$PWD/bittorrent/infohash.cpp \ $$PWD/bittorrent/infohash.cpp \
$$PWD/bittorrent/magneturi.cpp \ $$PWD/bittorrent/magneturi.cpp \
$$PWD/bittorrent/nativesessionextension.cpp \
$$PWD/bittorrent/nativetorrentextension.cpp \
$$PWD/bittorrent/peeraddress.cpp \ $$PWD/bittorrent/peeraddress.cpp \
$$PWD/bittorrent/peerinfo.cpp \ $$PWD/bittorrent/peerinfo.cpp \
$$PWD/bittorrent/private/bandwidthscheduler.cpp \ $$PWD/bittorrent/portforwarderimpl.cpp \
$$PWD/bittorrent/private/filterparserthread.cpp \ $$PWD/bittorrent/resumedatasavingmanager.cpp \
$$PWD/bittorrent/private/nativesessionextension.cpp \
$$PWD/bittorrent/private/nativetorrentextension.cpp \
$$PWD/bittorrent/private/portforwarderimpl.cpp \
$$PWD/bittorrent/private/resumedatasavingmanager.cpp \
$$PWD/bittorrent/private/speedmonitor.cpp \
$$PWD/bittorrent/private/statistics.cpp \
$$PWD/bittorrent/session.cpp \ $$PWD/bittorrent/session.cpp \
$$PWD/bittorrent/speedmonitor.cpp \
$$PWD/bittorrent/statistics.cpp \
$$PWD/bittorrent/torrentcreatorthread.cpp \ $$PWD/bittorrent/torrentcreatorthread.cpp \
$$PWD/bittorrent/torrenthandle.cpp \ $$PWD/bittorrent/torrenthandle.cpp \
$$PWD/bittorrent/torrenthandleimpl.cpp \ $$PWD/bittorrent/torrenthandleimpl.cpp \
@ -115,24 +115,24 @@ SOURCES += \
$$PWD/iconprovider.cpp \ $$PWD/iconprovider.cpp \
$$PWD/logger.cpp \ $$PWD/logger.cpp \
$$PWD/net/dnsupdater.cpp \ $$PWD/net/dnsupdater.cpp \
$$PWD/net/downloadhandlerimpl.cpp \
$$PWD/net/downloadmanager.cpp \ $$PWD/net/downloadmanager.cpp \
$$PWD/net/geoipdatabase.cpp \
$$PWD/net/geoipmanager.cpp \ $$PWD/net/geoipmanager.cpp \
$$PWD/net/portforwarder.cpp \ $$PWD/net/portforwarder.cpp \
$$PWD/net/private/downloadhandlerimpl.cpp \
$$PWD/net/private/geoipdatabase.cpp \
$$PWD/net/proxyconfigurationmanager.cpp \ $$PWD/net/proxyconfigurationmanager.cpp \
$$PWD/net/reverseresolution.cpp \ $$PWD/net/reverseresolution.cpp \
$$PWD/net/smtp.cpp \ $$PWD/net/smtp.cpp \
$$PWD/preferences.cpp \ $$PWD/preferences.cpp \
$$PWD/private/profile_p.cpp \
$$PWD/profile.cpp \ $$PWD/profile.cpp \
$$PWD/rss/private/rss_parser.cpp \ $$PWD/profile_p.cpp \
$$PWD/rss/rss_article.cpp \ $$PWD/rss/rss_article.cpp \
$$PWD/rss/rss_autodownloader.cpp \ $$PWD/rss/rss_autodownloader.cpp \
$$PWD/rss/rss_autodownloadrule.cpp \ $$PWD/rss/rss_autodownloadrule.cpp \
$$PWD/rss/rss_feed.cpp \ $$PWD/rss/rss_feed.cpp \
$$PWD/rss/rss_folder.cpp \ $$PWD/rss/rss_folder.cpp \
$$PWD/rss/rss_item.cpp \ $$PWD/rss/rss_item.cpp \
$$PWD/rss/rss_parser.cpp \
$$PWD/rss/rss_session.cpp \ $$PWD/rss/rss_session.cpp \
$$PWD/scanfoldersmodel.cpp \ $$PWD/scanfoldersmodel.cpp \
$$PWD/search/searchdownloadhandler.cpp \ $$PWD/search/searchdownloadhandler.cpp \

0
src/base/bittorrent/private/bandwidthscheduler.cpp → src/base/bittorrent/bandwidthscheduler.cpp

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

0
src/base/bittorrent/private/filterparserthread.cpp → src/base/bittorrent/filterparserthread.cpp

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

0
src/base/bittorrent/private/ltunderlyingtype.h → src/base/bittorrent/ltunderlyingtype.h

0
src/base/bittorrent/private/nativesessionextension.cpp → src/base/bittorrent/nativesessionextension.cpp

0
src/base/bittorrent/private/nativesessionextension.h → src/base/bittorrent/nativesessionextension.h

0
src/base/bittorrent/private/nativetorrentextension.cpp → src/base/bittorrent/nativetorrentextension.cpp

0
src/base/bittorrent/private/nativetorrentextension.h → src/base/bittorrent/nativetorrentextension.h

0
src/base/bittorrent/private/portforwarderimpl.cpp → src/base/bittorrent/portforwarderimpl.cpp

0
src/base/bittorrent/private/portforwarderimpl.h → src/base/bittorrent/portforwarderimpl.h

0
src/base/bittorrent/private/resumedatasavingmanager.cpp → src/base/bittorrent/resumedatasavingmanager.cpp

0
src/base/bittorrent/private/resumedatasavingmanager.h → src/base/bittorrent/resumedatasavingmanager.h

14
src/base/bittorrent/session.cpp

@ -93,14 +93,14 @@
#include "base/utils/misc.h" #include "base/utils/misc.h"
#include "base/utils/net.h" #include "base/utils/net.h"
#include "base/utils/random.h" #include "base/utils/random.h"
#include "bandwidthscheduler.h"
#include "filterparserthread.h"
#include "ltunderlyingtype.h"
#include "magneturi.h" #include "magneturi.h"
#include "private/bandwidthscheduler.h" #include "nativesessionextension.h"
#include "private/filterparserthread.h" #include "portforwarderimpl.h"
#include "private/ltunderlyingtype.h" #include "resumedatasavingmanager.h"
#include "private/nativesessionextension.h" #include "statistics.h"
#include "private/portforwarderimpl.h"
#include "private/resumedatasavingmanager.h"
#include "private/statistics.h"
#include "torrenthandleimpl.h" #include "torrenthandleimpl.h"
#include "tracker.h" #include "tracker.h"
#include "trackerentry.h" #include "trackerentry.h"

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

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

0
src/base/bittorrent/private/statistics.cpp → src/base/bittorrent/statistics.cpp

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

2
src/base/bittorrent/torrentcreatorthread.cpp

@ -46,7 +46,7 @@
#include "base/utils/fs.h" #include "base/utils/fs.h"
#include "base/utils/io.h" #include "base/utils/io.h"
#include "base/utils/string.h" #include "base/utils/string.h"
#include "private/ltunderlyingtype.h" #include "ltunderlyingtype.h"
namespace namespace
{ {

2
src/base/bittorrent/torrenthandleimpl.cpp

@ -66,9 +66,9 @@
#include "base/utils/fs.h" #include "base/utils/fs.h"
#include "base/utils/string.h" #include "base/utils/string.h"
#include "downloadpriority.h" #include "downloadpriority.h"
#include "ltunderlyingtype.h"
#include "peeraddress.h" #include "peeraddress.h"
#include "peerinfo.h" #include "peerinfo.h"
#include "private/ltunderlyingtype.h"
#include "session.h" #include "session.h"
#include "trackerentry.h" #include "trackerentry.h"

2
src/base/bittorrent/torrenthandleimpl.h

@ -43,8 +43,8 @@
#include <QString> #include <QString>
#include <QVector> #include <QVector>
#include "private/speedmonitor.h"
#include "infohash.h" #include "infohash.h"
#include "speedmonitor.h"
#include "torrenthandle.h" #include "torrenthandle.h"
#include "torrentinfo.h" #include "torrentinfo.h"

0
src/base/net/private/downloadhandlerimpl.cpp → src/base/net/downloadhandlerimpl.cpp

0
src/base/net/private/downloadhandlerimpl.h → src/base/net/downloadhandlerimpl.h

2
src/base/net/downloadmanager.cpp

@ -44,7 +44,7 @@
#include "base/global.h" #include "base/global.h"
#include "base/logger.h" #include "base/logger.h"
#include "base/preferences.h" #include "base/preferences.h"
#include "private/downloadhandlerimpl.h" #include "downloadhandlerimpl.h"
#include "proxyconfigurationmanager.h" #include "proxyconfigurationmanager.h"
namespace namespace

0
src/base/net/private/geoipdatabase.cpp → src/base/net/geoipdatabase.cpp

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

2
src/base/net/geoipmanager.cpp

@ -40,7 +40,7 @@
#include "base/utils/fs.h" #include "base/utils/fs.h"
#include "base/utils/gzip.h" #include "base/utils/gzip.h"
#include "downloadmanager.h" #include "downloadmanager.h"
#include "private/geoipdatabase.h" #include "geoipdatabase.h"
static const QString DATABASE_URL = QStringLiteral("https://download.db-ip.com/free/dbip-country-lite-%1.mmdb.gz"); static const QString DATABASE_URL = QStringLiteral("https://download.db-ip.com/free/dbip-country-lite-%1.mmdb.gz");
static const char GEODB_FOLDER[] = "GeoDB"; static const char GEODB_FOLDER[] = "GeoDB";

2
src/base/profile.cpp

@ -29,7 +29,7 @@
#include "profile.h" #include "profile.h"
#include "private/profile_p.h" #include "profile_p.h"
Profile *Profile::m_instance = nullptr; Profile *Profile::m_instance = nullptr;

0
src/base/private/profile_p.cpp → src/base/profile_p.cpp

0
src/base/private/profile_p.h → src/base/profile_p.h

14
src/base/rss/rss_feed.cpp

@ -40,14 +40,14 @@
#include <QJsonValue> #include <QJsonValue>
#include <QUrl> #include <QUrl>
#include "../asyncfilestorage.h" #include "base/asyncfilestorage.h"
#include "../global.h" #include "base/global.h"
#include "../logger.h" #include "base/logger.h"
#include "../net/downloadmanager.h" #include "base/net/downloadmanager.h"
#include "../profile.h" #include "base/profile.h"
#include "../utils/fs.h" #include "base/utils/fs.h"
#include "private/rss_parser.h"
#include "rss_article.h" #include "rss_article.h"
#include "rss_parser.h"
#include "rss_session.h" #include "rss_session.h"
const QString KEY_UID(QStringLiteral("uid")); const QString KEY_UID(QStringLiteral("uid"));

2
src/base/rss/private/rss_parser.cpp → src/base/rss/rss_parser.cpp

@ -40,7 +40,7 @@
#include <QXmlStreamEntityResolver> #include <QXmlStreamEntityResolver>
#include <QXmlStreamReader> #include <QXmlStreamReader>
#include "../rss_article.h" #include "rss_article.h"
namespace namespace
{ {

0
src/base/rss/private/rss_parser.h → src/base/rss/rss_parser.h

10
src/gui/CMakeLists.txt

@ -17,6 +17,7 @@ add_library(qbt_gui STATIC
downloadfromurldialog.h downloadfromurldialog.h
executionlogwidget.h executionlogwidget.h
fspathedit.h fspathedit.h
fspathedit_p.h
hidabletabwidget.h hidabletabwidget.h
ipsubnetwhitelistoptionsdialog.h ipsubnetwhitelistoptionsdialog.h
lineedit.h lineedit.h
@ -28,8 +29,6 @@ add_library(qbt_gui STATIC
powermanagement/powermanagement.h powermanagement/powermanagement.h
previewlistdelegate.h previewlistdelegate.h
previewselectdialog.h previewselectdialog.h
private/fspathedit_p.h
private/tristatewidget.h
properties/downloadedpiecesbar.h properties/downloadedpiecesbar.h
properties/peerlistdelegate.h properties/peerlistdelegate.h
properties/peerlistsortmodel.h properties/peerlistsortmodel.h
@ -79,10 +78,11 @@ add_library(qbt_gui STATIC
transferlistsortmodel.h transferlistsortmodel.h
transferlistwidget.h transferlistwidget.h
tristateaction.h tristateaction.h
tristatewidget.h
uithememanager.h uithememanager.h
updownratiodialog.h updownratiodialog.h
utils.h utils.h
# sources # sources
aboutdialog.cpp aboutdialog.cpp
addnewtorrentdialog.cpp addnewtorrentdialog.cpp
@ -98,6 +98,7 @@ add_library(qbt_gui STATIC
downloadfromurldialog.cpp downloadfromurldialog.cpp
executionlogwidget.cpp executionlogwidget.cpp
fspathedit.cpp fspathedit.cpp
fspathedit_p.cpp
hidabletabwidget.cpp hidabletabwidget.cpp
ipsubnetwhitelistoptionsdialog.cpp ipsubnetwhitelistoptionsdialog.cpp
lineedit.cpp lineedit.cpp
@ -109,8 +110,6 @@ add_library(qbt_gui STATIC
powermanagement/powermanagement.cpp powermanagement/powermanagement.cpp
previewlistdelegate.cpp previewlistdelegate.cpp
previewselectdialog.cpp previewselectdialog.cpp
private/fspathedit_p.cpp
private/tristatewidget.cpp
properties/downloadedpiecesbar.cpp properties/downloadedpiecesbar.cpp
properties/peerlistdelegate.cpp properties/peerlistdelegate.cpp
properties/peerlistsortmodel.cpp properties/peerlistsortmodel.cpp
@ -160,6 +159,7 @@ add_library(qbt_gui STATIC
transferlistsortmodel.cpp transferlistsortmodel.cpp
transferlistwidget.cpp transferlistwidget.cpp
tristateaction.cpp tristateaction.cpp
tristatewidget.cpp
uithememanager.cpp uithememanager.cpp
updownratiodialog.cpp updownratiodialog.cpp
utils.cpp utils.cpp

2
src/gui/fspathedit.cpp

@ -39,7 +39,7 @@
#include <QToolButton> #include <QToolButton>
#include "base/utils/fs.h" #include "base/utils/fs.h"
#include "private/fspathedit_p.h" #include "fspathedit_p.h"
namespace namespace
{ {

0
src/gui/private/fspathedit_p.cpp → src/gui/fspathedit_p.cpp

0
src/gui/private/fspathedit_p.h → src/gui/fspathedit_p.h

8
src/gui/gui.pri

@ -15,6 +15,7 @@ HEADERS += \
$$PWD/downloadfromurldialog.h \ $$PWD/downloadfromurldialog.h \
$$PWD/executionlogwidget.h \ $$PWD/executionlogwidget.h \
$$PWD/fspathedit.h \ $$PWD/fspathedit.h \
$$PWD/fspathedit_p.h \
$$PWD/hidabletabwidget.h \ $$PWD/hidabletabwidget.h \
$$PWD/ipsubnetwhitelistoptionsdialog.h \ $$PWD/ipsubnetwhitelistoptionsdialog.h \
$$PWD/lineedit.h \ $$PWD/lineedit.h \
@ -26,8 +27,6 @@ HEADERS += \
$$PWD/powermanagement/powermanagement.h \ $$PWD/powermanagement/powermanagement.h \
$$PWD/previewlistdelegate.h \ $$PWD/previewlistdelegate.h \
$$PWD/previewselectdialog.h \ $$PWD/previewselectdialog.h \
$$PWD/private/fspathedit_p.h \
$$PWD/private/tristatewidget.h \
$$PWD/properties/downloadedpiecesbar.h \ $$PWD/properties/downloadedpiecesbar.h \
$$PWD/properties/peerlistdelegate.h \ $$PWD/properties/peerlistdelegate.h \
$$PWD/properties/peerlistsortmodel.h \ $$PWD/properties/peerlistsortmodel.h \
@ -77,6 +76,7 @@ HEADERS += \
$$PWD/transferlistsortmodel.h \ $$PWD/transferlistsortmodel.h \
$$PWD/transferlistwidget.h \ $$PWD/transferlistwidget.h \
$$PWD/tristateaction.h \ $$PWD/tristateaction.h \
$$PWD/tristatewidget.h \
$$PWD/uithememanager.h \ $$PWD/uithememanager.h \
$$PWD/updownratiodialog.h \ $$PWD/updownratiodialog.h \
$$PWD/utils.h $$PWD/utils.h
@ -96,6 +96,7 @@ SOURCES += \
$$PWD/downloadfromurldialog.cpp \ $$PWD/downloadfromurldialog.cpp \
$$PWD/executionlogwidget.cpp \ $$PWD/executionlogwidget.cpp \
$$PWD/fspathedit.cpp \ $$PWD/fspathedit.cpp \
$$PWD/fspathedit_p.cpp \
$$PWD/hidabletabwidget.cpp \ $$PWD/hidabletabwidget.cpp \
$$PWD/ipsubnetwhitelistoptionsdialog.cpp \ $$PWD/ipsubnetwhitelistoptionsdialog.cpp \
$$PWD/lineedit.cpp \ $$PWD/lineedit.cpp \
@ -107,8 +108,6 @@ SOURCES += \
$$PWD/powermanagement/powermanagement.cpp \ $$PWD/powermanagement/powermanagement.cpp \
$$PWD/previewlistdelegate.cpp \ $$PWD/previewlistdelegate.cpp \
$$PWD/previewselectdialog.cpp \ $$PWD/previewselectdialog.cpp \
$$PWD/private/fspathedit_p.cpp \
$$PWD/private/tristatewidget.cpp \
$$PWD/properties/downloadedpiecesbar.cpp \ $$PWD/properties/downloadedpiecesbar.cpp \
$$PWD/properties/peerlistdelegate.cpp \ $$PWD/properties/peerlistdelegate.cpp \
$$PWD/properties/peerlistsortmodel.cpp \ $$PWD/properties/peerlistsortmodel.cpp \
@ -158,6 +157,7 @@ SOURCES += \
$$PWD/transferlistsortmodel.cpp \ $$PWD/transferlistsortmodel.cpp \
$$PWD/transferlistwidget.cpp \ $$PWD/transferlistwidget.cpp \
$$PWD/tristateaction.cpp \ $$PWD/tristateaction.cpp \
$$PWD/tristatewidget.cpp \
$$PWD/uithememanager.cpp \ $$PWD/uithememanager.cpp \
$$PWD/updownratiodialog.cpp \ $$PWD/updownratiodialog.cpp \
$$PWD/utils.cpp $$PWD/utils.cpp

2
src/gui/tristateaction.cpp

@ -31,7 +31,7 @@
#include <QString> #include <QString>
#include <QWidget> #include <QWidget>
#include "private/tristatewidget.h" #include "tristatewidget.h"
TriStateAction::TriStateAction(const QString &text, QWidget *parent) TriStateAction::TriStateAction(const QString &text, QWidget *parent)
: QWidgetAction {parent} : QWidgetAction {parent}

0
src/gui/private/tristatewidget.cpp → src/gui/tristatewidget.cpp

0
src/gui/private/tristatewidget.h → src/gui/tristatewidget.h

Loading…
Cancel
Save