28 void requestInformation(QUrl url);
30 void installAddon(
const Package& addon);
31 void installLibrary(
const Package& addon);
34 void handleAddonList(
const QJsonObject&);
35 void handleAddon(
const QJsonObject&);
36 void on_message(QNetworkReply* rep);
37 void firstTimeLibraryDownload();
40 void show_progress() W_SIGNAL(show_progress);
41 void update_progress(
double v) W_SIGNAL(update_progress, v);
42 void reset_progress() W_SIGNAL(reset_progress);
43 void set_info() W_SIGNAL(set_info);
44 void progress_from_bytes(qint64 received, qint64 total)
45 W_SIGNAL(progress_from_bytes, received, total);
46 void information(QString title, QString description)
47 W_SIGNAL(information, title, description);
48 void warning(QString title, QString description) W_SIGNAL(warning, title, description);
50 void on_packageInstallSuccess(
51 const Package& addon,
const QDir& destination,
const std::vector<QString>& res);
52 void on_packageInstallFailure(
const Package& addon);
56 QItemSelectionModel remoteSelection;
58 QNetworkAccessManager mgr;
59 int m_addonsToRetrieve = 0;
60 bool m_firstTimeCheck{
false};
Used to access all the application-wide state and structures.
Definition ApplicationContext.hpp:25