Newer
Older
class XdgUrl : public QObject
{
Q_OBJECT
public:
explicit XdgUrl(const QString &xdgUrl, const qtlibs::Config &config, QObject *parent = 0);
void finishedWithSuccess(const QJsonObject &result);
void finishedWithError(const QJsonObject &result);
void downloadProgress(const qint64 &bytesReceived, const qint64 &bytesTotal);
void networkResourceFinished(qtlibs::NetworkResource *resource);
void parse();
void loadDestinations();
QString convertPathString(const QString &path);
void saveDownloadedFile(qtlibs::NetworkResource *resource);
void installDownloadedFile(qtlibs::NetworkResource *resource);
QJsonObject metadata_;
QJsonObject destinations_;
QString destination_;