MauiKit File Browsing

WebDAVReply.hpp
1#pragma once
2
3#include <QList>
4#include <QNetworkReply>
5#include <QObject>
6#include <QSslError>
7
8#include "filebrowsing_export.h"
9#include "../dto/WebDAVItem.hpp"
10
11/**
12 * @brief Wraps the available actions for a remote item
13 */
14class FILEBROWSING_EXPORT WebDAVReply : public QObject
15{
16 Q_OBJECT
17
18public:
19 void sendListDirResponseSignal(QNetworkReply* listDirReply,
20 QList<WebDAVItem> items);
21 void sendDownloadResponseSignal(QNetworkReply* downloadReply);
22 void sendDownloadProgressResponseSignal(qint64 bytesReceived,
23 qint64 bytesTotal);
24 void sendUploadFinishedResponseSignal(QNetworkReply* uploadReply);
25 void sendDirCreatedResponseSignal(QNetworkReply* createDirReply);
26 void sendCopyResponseSignal(QNetworkReply* copyReply);
27 void sendMoveResponseSignal(QNetworkReply* moveReply);
28 void sendRemoveResponseSignal(QNetworkReply* removeReply);
29 void sendError(QNetworkReply::NetworkError err);
30
32 void listDirResponse(QNetworkReply* listDirReply, QList<WebDAVItem> items);
33 void downloadResponse(QNetworkReply* downloadReply);
34 void downloadProgressResponse(qint64 bytesReceived, qint64 bytesTotal);
35 void uploadFinished(QNetworkReply* uploadReply);
36 void createDirFinished(QNetworkReply* createDirReply);
37 void copyFinished(QNetworkReply* copyReply);
38 void moveFinished(QNetworkReply* moveReply);
39 void removeFinished(QNetworkReply* removeReply);
40 void error(QNetworkReply::NetworkError err);
41};
Wraps the available actions for a remote item.
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:32:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.