MauiKit File Browsing

WebDAVReply.cpp
1#include <QByteArray>
2#include <QList>
3#include <QNetworkReply>
4#include <QSslError>
5
6#include "WebDAVReply.hpp"
7
8void WebDAVReply::sendListDirResponseSignal(QNetworkReply *listDirReply, QList<WebDAVItem> items)
9{
10 Q_EMIT listDirResponse(listDirReply, items);
11}
12
13void WebDAVReply::sendDownloadResponseSignal(QNetworkReply *downloadReply)
14{
15 Q_EMIT downloadResponse(downloadReply);
16}
17
18void WebDAVReply::sendDownloadProgressResponseSignal(qint64 bytesReceived, qint64 bytesTotal)
19{
20 Q_EMIT downloadProgressResponse(bytesReceived, bytesTotal);
21}
22
23void WebDAVReply::sendUploadFinishedResponseSignal(QNetworkReply *uploadReply)
24{
25 Q_EMIT uploadFinished(uploadReply);
26}
27
28void WebDAVReply::sendDirCreatedResponseSignal(QNetworkReply *createDirReply)
29{
30 Q_EMIT createDirFinished(createDirReply);
31}
32
33void WebDAVReply::sendCopyResponseSignal(QNetworkReply *copyReply)
34{
35 Q_EMIT copyFinished(copyReply);
36}
37
38void WebDAVReply::sendMoveResponseSignal(QNetworkReply *moveReply)
39{
40 Q_EMIT moveFinished(moveReply);
41}
42
43void WebDAVReply::sendRemoveResponseSignal(QNetworkReply *removeReply)
44{
45 Q_EMIT removeFinished(removeReply);
46}
47
48void WebDAVReply::sendError(QNetworkReply::NetworkError err)
49{
50 Q_EMIT error(err);
51}
Q_EMITQ_EMIT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:02 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.