Go to the documentation of this file.
11 #ifndef _UPDATEPROCESS_H
12 #define _UPDATEPROCESS_H
18 #include <QStringList>
131 void onFinished(
int exitCode, QProcess::ExitStatus exitStatus);
UpdateProcess(QObject *parent=0)
void setSocksPort(quint16 port)
void checkForUpdates(BundleInfo bi)
static bool shouldCheckForUpdates(const QDateTime &lastCheckedAt)
static QDateTime nextCheckForUpdates(const QDateTime &lastCheckedAt)
BundleInfo _currentBundle
static PackageInfo packageInfoFromXml(const QByteArray &xml)
static PackageInfo packageInfo(const QString &package)
void onFinished(int exitCode, QProcess::ExitStatus exitStatus)
void downloadProgress(QString url, int bytesReceived, int bytesTotal)
QList< PackageInfo > PackageList
void checkForUpdatesFailed(QString errmsg)
void installUpdates(BundleInfo bi)
void updatesAvailable(UpdateProcess::BundleInfo bi, PackageList packages)
static int checkForUpdatesInterval()
void updatesInstalled(int nPackagesInstalled)
UpdateCommand _currentCommand
void onError(QProcess::ProcessError error)
static QString updateRepositoryDir()
QString bundleInfoToString(BundleInfo bundleInfo)
static QString updateExecutable()
void installUpdatesFailed(QString errmsg)
void readStandardOutput()
DebugMessage error(const QString &fmt)