mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Improved proxy support (search, rss, downloadFromUrl...)
This commit is contained in:
parent
9c05148a24
commit
a721e6d943
2 changed files with 21 additions and 0 deletions
|
@ -34,6 +34,13 @@ namespace ost {
|
|||
class URLStream;
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
QString IP;
|
||||
int port;
|
||||
QString username;
|
||||
QString password;
|
||||
} tmp_proxy;
|
||||
|
||||
class subDownloadThread : public QThread {
|
||||
Q_OBJECT
|
||||
private:
|
||||
|
@ -76,6 +83,7 @@ class downloadThread : public QThread {
|
|||
~downloadThread();
|
||||
|
||||
void downloadUrl(QString url);
|
||||
void setProxy(QString IP, int port, QString username, QString password);
|
||||
|
||||
protected:
|
||||
void run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue