mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
kget: adjust to KHTTP changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b0d3473621
commit
e204b92b01
2 changed files with 8 additions and 2 deletions
|
@ -81,8 +81,11 @@ void HttpServer::settingsChanged()
|
|||
}
|
||||
}
|
||||
|
||||
void HttpServer::respond(const QByteArray &url, QByteArray *outdata, ushort *outhttpstatus, KHTTPHeaders *outheaders)
|
||||
void HttpServer::respond(const QByteArray &url, QByteArray *outdata,
|
||||
ushort *outhttpstatus, KHTTPHeaders *outheaders,
|
||||
QString *outfilePath)
|
||||
{
|
||||
Q_UNUSED(outfilePath);
|
||||
*outhttpstatus = 200;
|
||||
|
||||
QByteArray data;
|
||||
|
|
|
@ -26,7 +26,10 @@ public:
|
|||
void settingsChanged();
|
||||
|
||||
protected:
|
||||
void respond(const QByteArray &url, QByteArray *outdata, ushort *httpstatus, KHTTPHeaders *outheaders) final;
|
||||
void respond(
|
||||
const QByteArray &url,
|
||||
QByteArray *outdata, ushort *httpstatus, KHTTPHeaders *outheaders, QString *outfilePath
|
||||
) final;
|
||||
|
||||
private:
|
||||
KPasswdStore *m_passwdstore;
|
||||
|
|
Loading…
Add table
Reference in a new issue