MauiKit File Browsing
4#include <QNetworkReply>
8#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
9#include <MauiKit3/Core/fmh.h>
11#include <MauiKit4/Core/fmh.h>
14#include "filebrowsing_export.h"
27 enum SIGNAL_TYPE : uint_fast8_t { OPEN, DOWNLOAD, COPY, SAVE, CUT, DELETE, RENAME, MOVE, UPLOAD };
46 void listContent(
const QUrl &path,
const QStringList &filters,
const int &depth = 1);
60 void download(
const QUrl &path);
67 void upload(
const QUrl &path,
const QUrl &filePath);
74 void createDir(
const QUrl &path,
const QString &name);
81 void resolveFile(
const FMH::MODEL &item,
const Syncing::SIGNAL_TYPE &signalType);
87 void setCopyTo(
const QUrl &path);
93 QUrl getCopyTo()
const;
115 WebDAVClient *client;
116 QString host = QStringLiteral(
"https://cloud.opendesktop.cc/remote.php/webdav/");
117 QString user = QStringLiteral(
"mauitest");
118 QString password = QStringLiteral(
"mauitest");
123 QUrl getCacheFile(
const QUrl &path);
130 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 Fri May 17 2024 11:51:27 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.