summaryrefslogtreecommitdiff
path: root/src/downloadmanager.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-12-07 12:48:18 +0100
committerTannin <devnull@localhost>2013-12-07 12:48:18 +0100
commit469cc2d945afebb1291a825339642b5e95f0e223 (patch)
treeff1300a0aa0fb093c64a69babcebf78f5ac9aa2a /src/downloadmanager.h
parent0e90b9d233eb3ae8276f6f8bfc4612c117544404 (diff)
- download manager now saves the file times on nexus, for potential later use in version check
- nexus interface now supports 301 redirects - now using the new nexus url format - bugfix: "visit on nexus" used an outdated url scheme and thus caused unnecessary redirection
Diffstat (limited to 'src/downloadmanager.h')
-rw-r--r--src/downloadmanager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/downloadmanager.h b/src/downloadmanager.h
index e82ea064..099e6084 100644
--- a/src/downloadmanager.h
+++ b/src/downloadmanager.h
@@ -46,6 +46,7 @@ struct NexusInfo {
QString m_NewestVersion;
QString m_FileName;
QVariantList m_DownloadMap;
+ QDateTime m_FileTime;
bool m_Set;
};
Q_DECLARE_METATYPE(NexusInfo)
@@ -437,6 +438,8 @@ private:
DownloadInfo *downloadInfoByID(unsigned int id);
+ QDateTime matchDate(const QString &timeString);
+
private:
static const int AUTOMATIC_RETRIES = 3;
@@ -458,6 +461,8 @@ private:
bool m_ShowHidden;
+ QRegExp m_DateExpression;
+
};
#endif // DOWNLOADMANAGER_H