13 from PyQt5.QtCore import ( |
13 from PyQt5.QtCore import ( |
14 pyqtSignal, QThread, Qt, QMutex, QDateTime, QDir, QLibraryInfo, QFileInfo |
14 pyqtSignal, QThread, Qt, QMutex, QDateTime, QDir, QLibraryInfo, QFileInfo |
15 ) |
15 ) |
16 from PyQt5.QtHelp import QHelpEngineCore |
16 from PyQt5.QtHelp import QHelpEngineCore |
17 |
17 |
18 from eric6config import getConfig |
18 from eric7config import getConfig |
19 |
19 |
20 from Globals import qVersionTuple |
20 from Globals import qVersionTuple |
21 |
21 |
22 |
22 |
23 class HelpDocsInstaller(QThread): |
23 class HelpDocsInstaller(QThread): |
195 Private method to install/update the eric help documentation. |
195 Private method to install/update the eric help documentation. |
196 |
196 |
197 @param engine reference to the help engine (QHelpEngineCore) |
197 @param engine reference to the help engine (QHelpEngineCore) |
198 @return flag indicating success (boolean) |
198 @return flag indicating success (boolean) |
199 """ |
199 """ |
200 versionKey = "eric6_ide" |
200 versionKey = "eric7_ide" |
201 info = engine.customValue(versionKey, "") |
201 info = engine.customValue(versionKey, "") |
202 lst = info.split('|') |
202 lst = info.split('|') |
203 |
203 |
204 dt = QDateTime() |
204 dt = QDateTime() |
205 if len(lst) and lst[0]: |
205 if len(lst) and lst[0]: |