comparison ui/downloader.h @ 460:f8bed9008362

Added switch to download new available software.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 23 Apr 2014 16:34:41 +0200
parents 17e1c8f37d72
children 5834b340c54c
comparison
equal deleted inserted replaced
459:34cc448409ec 460:f8bed9008362
47 Downloader(QObject* parent, const QString& url, 47 Downloader(QObject* parent, const QString& url,
48 const QByteArray& certificate = QByteArray(), 48 const QByteArray& certificate = QByteArray(),
49 const QDateTime& newestSW = QDateTime(), 49 const QDateTime& newestSW = QDateTime(),
50 const QDateTime& newestList = QDateTime(), 50 const QDateTime& newestList = QDateTime(),
51 const QString& resourceSW = QString(), 51 const QString& resourceSW = QString(),
52 const QString& resourceList = QString()); 52 const QString& resourceList = QString(),
53 bool downloadSW = true);
53 54
54 ~Downloader(); 55 ~Downloader();
55 56
56 /** 57 /**
57 * @brief get the directory where the downloader saves data 58 * @brief get the directory where the downloader saves data
77 QDateTime mLastModSW; 78 QDateTime mLastModSW;
78 QDateTime mLastModList; 79 QDateTime mLastModList;
79 80
80 QString mResourceSW; 81 QString mResourceSW;
81 QString mResourceList; 82 QString mResourceList;
83
84 bool mDownloadSW;
82 85
83 SSLConnection mSSLConnection; 86 SSLConnection mSSLConnection;
84 87
85 /** @brief get the last modified header of a resource. 88 /** @brief get the last modified header of a resource.
86 * 89 *

http://wald.intevation.org/projects/trustbridge/