Mercurial > trustbridge
comparison ui/sslconnection.h @ 978:d92b1594e974
Merged.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Fri, 29 Aug 2014 13:10:11 +0200 |
parents | 879a634d0a40 |
children | 2949f1842955 |
comparison
equal
deleted
inserted
replaced
977:9ad1f18799fb | 978:d92b1594e974 |
---|---|
84 * | 84 * |
85 * @returns True if the download was successful. | 85 * @returns True if the download was successful. |
86 */ | 86 */ |
87 virtual bool downloadFile(const QString &resource, const QString &filename, | 87 virtual bool downloadFile(const QString &resource, const QString &filename, |
88 size_t maxSize) = 0; | 88 size_t maxSize) = 0; |
89 | |
90 /** @brief Set a proxy server to use. | |
91 * | |
92 * @param [in] proxyUrl theo URL of the proxy to use. | |
93 */ | |
94 virtual void setProxy(const QUrl &proxyUrl) { | |
95 qWarning() << "Set proxy not supported"; | |
96 } | |
97 | |
89 protected: | 98 protected: |
90 QUrl mUrl; | 99 QUrl mUrl; |
91 QByteArray mPinnedCert; | 100 QByteArray mPinnedCert; |
92 bool mInitialized; | 101 bool mInitialized; |
93 bool mConnected; /* A connection was established */ | 102 bool mConnected; /* A connection was established */ |