11 import sys |
11 import sys |
12 import os |
12 import os |
13 import zipfile |
13 import zipfile |
14 |
14 |
15 from PyQt4.QtCore import pyqtSignal, pyqtSlot, Qt, QFile, QIODevice, QUrl, \ |
15 from PyQt4.QtCore import pyqtSignal, pyqtSlot, Qt, QFile, QIODevice, QUrl, \ |
16 QProcess |
16 QProcess, QDate |
17 from PyQt4.QtGui import QWidget, QDialogButtonBox, QAbstractButton, \ |
17 from PyQt4.QtGui import QWidget, QDialogButtonBox, QAbstractButton, \ |
18 QTreeWidgetItem, QDialog, QVBoxLayout |
18 QTreeWidgetItem, QDialog, QVBoxLayout |
19 from PyQt4.QtNetwork import QNetworkAccessManager, QNetworkRequest, \ |
19 from PyQt4.QtNetwork import QNetworkAccessManager, QNetworkRequest, \ |
20 QNetworkReply |
20 QNetworkReply |
21 |
21 |
210 |
210 |
211 @param status flaging indicating a successful download (boolean) |
211 @param status flaging indicating a successful download (boolean) |
212 @param filename full path of the downloaded file (string) |
212 @param filename full path of the downloaded file (string) |
213 """ |
213 """ |
214 self.__populateList() |
214 self.__populateList() |
|
215 Preferences.Prefs.settings.setValue( |
|
216 "Updates/LastCheckDate", QDate.currentDate()) |
215 |
217 |
216 def __downloadPluginDone(self, status, filename): |
218 def __downloadPluginDone(self, status, filename): |
217 """ |
219 """ |
218 Private method called, when the download of a plugin is finished. |
220 Private method called, when the download of a plugin is finished. |
219 |
221 |