Newer
Older
#ifndef HANDLERS_XDGURL_H
#define HANDLERS_XDGURL_H
#include <QObject>
namespace Core {
class Config;
class Network;
}
namespace Handlers {
class XdgUrl : public QObject
{
Q_OBJECT
private:
explicit XdgUrl(const QString &xdgUrl, Core::Config *config, Core::Network *network, QObject *parent = 0);
void _parse();
void _loadDestinations();
void _saveDownloadedFile(QNetworkReply *reply);
void _installDownloadedFile(QNetworkReply *reply);
void downloadProgress(const qint64 &received, const qint64 &total);
};
} // namespace Handlers
#endif // HANDLERS_XDGURL_H