MauiKit File Browsing
downloader.cpp
void stop()
Force to stop the process of the data request or the downloading of the file.
Definition downloader.cpp:71
void downloadFile(const QUrl &source, const QUrl &destination)
Given a source URL to a file it downloads it to a given local destination.
Definition downloader.cpp:97
void getArray(const QUrl &fileURL, const QMap< QString, QString > &headers={})
Given a URL make a get request and once the reply is ready emits a signal with the retrieved array da...
Definition downloader.cpp:143
void warning(QString warning)
Emitted when there is a warning message, for example when an error has occurred during the process or...
void aborted()
Emitted when the download or data request has been aborted manually by calling the stop method.
bool isRunning() const
Whether the downloading or current request is still in progress.
Definition downloader.cpp:60
void processedSize(KJob *job, qulonglong size)
void finished(KJob *job)
void warning(KJob *job, const QString &message)
unsigned long percent() const
KIOCORE_EXPORT CopyJob * copy(const QList< QUrl > &src, const QUrl &dest, JobFlags flags=DefaultFlags)
void setFileName(const QString &name)
void readyRead()
WriteOnly
bool isEmpty() const const
QList< Key > keys() const const
NetworkError
void downloadProgress(qint64 bytesReceived, qint64 bytesTotal)
void errorOccurred(QNetworkReply::NetworkError code)
void finished()
RedirectPolicyAttribute
void setAttribute(Attribute code, const QVariant &value)
void setRawHeader(const QByteArray &headerName, const QByteArray &headerValue)
void setUrl(const QUrl &url)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool disconnect(const QMetaObject::Connection &connection)
bool isEmpty() const const
QString toLocalFile() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:45 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:45 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.