How c0re100/qbittorrent-enhanced-edition works
qBittorrent Enhanced Edition is a Qt/libtorrent BitTorrent client with desktop and WebUI interfaces. The main workflow is adding a torrent, managing its transfer through a session, and exchanging data with peers; the README also highlights enhanced peer blocking and whitelist/blacklist controls. Search, RSS automation, torrent creation, and the Web API are additional product capabilities. Several subsystem links are based on README descriptions or module references rather than inspected call sites, so uncertain runtime relationships are omitted or marked dashed.
Main entry points: sessionimpl.cpp BitTorrent session · application.cpp Application services · main.cpp Application startup · guiaddtorrentmanager.cpp Add torrents
Components 20
Application
- Application startup
src/app/main.cpp - Application services
src/app/application.cpp - Preferences
src/base/preferences.h - Profile storage
src/base/profile.h
Torrent transfers
- Add torrents
src/gui/guiaddtorrentmanager.cpp - BitTorrent session
src/base/bittorrent/sessionimpl.cpp - Torrent state
src/base/bittorrent/torrentimpl.cpp - Resume storage
src/base/bittorrent/dbresumedatastorage.cpp
Network and peers
- BitTorrent peers
- Peer filtering
src/base/bittorrent/peer_filter.hpp - Peer geolocation
src/base/net/geoipmanager.cpp
Product features
- Torrent search
src/base/search/searchpluginmanager.cpp - RSS automation
src/base/rss/rss_session.cpp - Torrent creation
src/base/bittorrent/torrentcreationmanager.cpp
User interfaces
- Desktop interface
src/gui/mainwindow.cpp - Web server
src/base/http/server.cpp - Web application
src/webui/webapplication.cpp - Web API
src/webui/api/apicontroller.cpp - Web client
src/webui/www/private/scripts/client.js
Other components
- User
Connections 21
- User → Application startup: starts
src/app/main.cpp - Application startup → Application services: creates
src/app/main.cpp - Application services → BitTorrent session: configures
src/app/application.cpp - Application services → Preferences: uses
src/app/application.cpp - Application services → Profile storage: uses
src/app/application.cpp - User → Desktop interface: operates
- Desktop interface → Add torrents: adds torrents
- Add torrents → BitTorrent session: submits torrent
src/gui/guiaddtorrentmanager.cpp - BitTorrent session → Torrent state: manages
- BitTorrent session → Resume storage: persists state
- BitTorrent session → BitTorrent peers: transfers data
- BitTorrent session → Peer filtering: filters peers
- BitTorrent session → Peer geolocation: resolves peers
- User → Torrent search: searches
- User → RSS automation: subscribes
- User → Torrent creation: creates torrent
- User → Web client: uses
- Web client → Web server: requests
- Web server → Web application: dispatches
- Web application → Web API: routes API
- Web API → BitTorrent session: controls transfers