Helpviewer/HelpDocsInstaller.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
5 5
6 """ 6 """
7 Module implementing a thread class populating and updating the QtHelp 7 Module implementing a thread class populating and updating the QtHelp
8 documentation database. 8 documentation database.
9 """ 9 """
10
11 from __future__ import unicode_literals # __IGNORE_WARNING__
10 12
11 from PyQt4.QtCore import pyqtSignal, QThread, Qt, QMutex, QDateTime, QDir, \ 13 from PyQt4.QtCore import pyqtSignal, QThread, Qt, QMutex, QDateTime, QDir, \
12 QLibraryInfo, QFileInfo 14 QLibraryInfo, QFileInfo
13 from PyQt4.QtHelp import QHelpEngineCore 15 from PyQt4.QtHelp import QHelpEngineCore
14 16
31 """ 33 """
32 Constructor 34 Constructor
33 35
34 @param collection full pathname of the collection file (string) 36 @param collection full pathname of the collection file (string)
35 """ 37 """
36 super().__init__() 38 super(HelpDocsInstaller, self).__init__()
37 39
38 self.__abort = False 40 self.__abort = False
39 self.__collection = collection 41 self.__collection = collection
40 self.__mutex = QMutex() 42 self.__mutex = QMutex()
41 43

eric ide

mercurial