30 #ifndef _QSIMPLEUPDATER_UPDATER_H 31 #define _QSIMPLEUPDATER_UPDATER_H 35 #include <QNetworkReply> 36 #include <QNetworkAccessManager> 38 #include <QSimpleUpdater.h> 49 void checkingFinished (
const QString& url);
50 void downloadFinished (
const QString& url,
const QString& filepath);
57 QString changelog()
const;
58 QString moduleName()
const;
59 QString downloadUrl()
const;
60 QString platformKey()
const;
61 QString moduleVersion()
const;
62 QString latestVersion()
const;
64 bool notifyOnUpdate()
const;
65 bool notifyOnFinish()
const;
66 bool updateAvailable()
const;
67 bool downloaderEnabled()
const;
68 bool useCustomInstallProcedures()
const;
71 void checkForUpdates();
72 void setUrl (
const QString& url);
73 void setModuleName (
const QString& name);
74 void setNotifyOnUpdate (
const bool& notify);
75 void setNotifyOnFinish (
const bool& notify);
76 void setModuleVersion (
const QString& version);
77 void setDownloaderEnabled (
const bool& enabled);
78 void setPlatformKey (
const QString& platformKey);
79 void setUseCustomInstallProcedures (
const bool& custom);
82 void onReply (QNetworkReply* reply);
83 void setUpdateAvailable (
const bool& available);
86 bool compare (
const QString& x,
const QString& y);
91 bool m_notifyOnUpdate;
92 bool m_notifyOnFinish;
93 bool m_updateAvailable;
94 bool m_downloaderEnabled;
100 QString m_downloadUrl;
101 QString m_moduleVersion;
102 QString m_latestVersion;
105 QNetworkAccessManager* m_manager;
Downloads and interprests the update definition file.
Definition: Updater.h:45
Implements an integrated file downloader with a nice UI.
Definition: Downloader.h:46