diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2016-01-20 06:31:14 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2016-01-20 06:31:14 +0300 |
commit | 7c4d85348ecbb9913948edc53b82efaa97d85fda (patch) | |
tree | 411379a06b9b668069f8ce6d5dac87b1243fea91 /client-qt/udm-client-qt/downloads_model.cpp | |
parent | 09a905e401df451f12673d75dc8d4d72ee73b7c9 (diff) |
protocol:
download completed state
client-qt:
added "download completed" subscription and status support
server:
module_curl:
used events api in core for download state changes
core:
download completed event support for modules
Diffstat (limited to 'client-qt/udm-client-qt/downloads_model.cpp')
-rw-r--r-- | client-qt/udm-client-qt/downloads_model.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client-qt/udm-client-qt/downloads_model.cpp b/client-qt/udm-client-qt/downloads_model.cpp index 5789151..d7fb799 100644 --- a/client-qt/udm-client-qt/downloads_model.cpp +++ b/client-qt/udm-client-qt/downloads_model.cpp @@ -71,6 +71,9 @@ QVariant downloads_model::data(const QModelIndex &index, int role) const case 1: return tr("Started"); break; + case 2: + return tr("Completed"); + break; //TODO: handle module defined states default: return QVariant(); |