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