- BUGFIX: Added proxy support in search engine, RSS, downloads from urls

- Must add SOCKS5 proxy support in search engine plugins (python -> urllib2?)
This commit is contained in:
Christophe Dumez
2007-11-21 22:33:32 +00:00
parent 19996736d6
commit 78fc5d4865
3 changed files with 23 additions and 2 deletions

View File

@@ -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();