Some work on network.
This commit is contained in:
parent
b3e1b5bbe9
commit
bdb156e28b
@ -35,18 +35,13 @@ class NetworkFactory {
|
||||
|
||||
// Performs SYNCHRONOUS download if favicon for the site,
|
||||
// given URL belongs to.
|
||||
static QNetworkReply::NetworkError downloadIcon(const QString &url,
|
||||
int timeout,
|
||||
QIcon &output);
|
||||
static QNetworkReply::NetworkError downloadIcon(const QString &url, int timeout, QIcon &output);
|
||||
|
||||
// Performs SYNCHRONOUS download of file with given URL
|
||||
// and given timeout.
|
||||
static QNetworkReply::NetworkError downloadFile(const QString &url,
|
||||
int timeout,
|
||||
QByteArray &output,
|
||||
bool protected_contents = false,
|
||||
const QString &username = QString(),
|
||||
const QString &password = QString());
|
||||
static QNetworkReply::NetworkError downloadFile(const QString &url, int timeout, QByteArray &output,
|
||||
bool protected_contents = false, const QString &username = QString(),
|
||||
const QString &password = QString());
|
||||
};
|
||||
|
||||
#endif // NETWORKFACTORY_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user