Skip to content
Snippets Groups Projects
Commit 655ed684 authored by akiraohgaki's avatar akiraohgaki
Browse files

Pre-defined methods

parent 2daba022
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,18 @@ XdgUrl::XdgUrl(const QString &xdgUrl, Core::Config *appConfig, Core::Config *use
{
}
QJsonObject XdgUrl::_parse()
{
}
bool XdgUrl::_installPlasmapkg(const QString &path, const QString &type)
{
}
bool XdgUrl::_uncompressArchive(const QString &path, const QString &targetDir)
{
}
bool XdgUrl::_download()
{
}
......
......@@ -2,7 +2,7 @@
#define HANDLERS_XDGURL_H
#include <QObject>
//#include <QJsonObject>
#include <QJsonObject>
//class QNetworkReply;
......@@ -23,10 +23,15 @@ private:
Core::Config *_userConfig;
Core::Network *_asyncNetwork;
QJsonObject _meta;
public:
explicit XdgUrl(const QString &xdgUrl, Core::Config *appConfig, Core::Config *userConfig, Core::Network *asyncNetwork, QObject *parent = 0);
private:
QJsonObject _parse();
bool _installPlasmapkg(const QString &path, const QString &type = "plasmoid");
bool _uncompressArchive(const QString &path, const QString &targetDir);
bool _download();
bool _install();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment