4#include <QNetworkReply>
8#include <MauiKit4/Core/fmh.h>
10#include "filebrowsing_export.h"
23 enum SIGNAL_TYPE : uint_fast8_t { OPEN, DOWNLOAD, COPY, SAVE, CUT, DELETE, RENAME, MOVE, UPLOAD };
42 void listContent(
const QUrl &path,
const QStringList &filters,
const int &depth = 1);
56 void download(
const QUrl &path);
63 void upload(
const QUrl &path,
const QUrl &filePath);
70 void createDir(
const QUrl &path,
const QString &name);
77 void resolveFile(
const FMH::MODEL &item,
const Syncing::SIGNAL_TYPE &signalType);
83 void setCopyTo(
const QUrl &path);
89 QUrl getCopyTo()
const;
111 WebDAVClient *client;
112 QString host = QStringLiteral(
"https://cloud.opendesktop.cc/remote.php/webdav/");
113 QString user = QStringLiteral(
"mauitest");
114 QString password = QStringLiteral(
"mauitest");
119 QUrl getCacheFile(
const QUrl &path);
126 SIGNAL_TYPE signalType;
QStringList uploadQueue
uploadQueue
void uploadReady(FMH::MODEL item, QUrl url)
uploadReady
void progress(int percent)
progress
void error(QString message)
error
void listReady(FMH::MODEL_LIST data, QUrl url)
listReady
void itemReady(FMH::MODEL item, QUrl url, Syncing::SIGNAL_TYPE &signalType)
itemReady
void dirCreated(FMH::MODEL item, QUrl url)
dirCreated
Wraps the available actions for a remote item.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:48 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.