Newer
Older
class XdgUrl : public QObject
{
Q_OBJECT
public:
explicit XdgUrl(const QString &xdgUrl, const qtlibs::Config &config, QObject *parent = 0);
void finishedWithSuccess(QJsonObject result);
void finishedWithError(QJsonObject result);
void downloadProgress(qint64 bytesReceived, 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_;