4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing the APIsManager. |
7 Module implementing the APIsManager. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 import os |
12 import os |
11 |
13 |
12 from PyQt4.QtCore import QDir, QFileInfo, pyqtSignal, QObject |
14 from PyQt4.QtCore import QDir, QFileInfo, pyqtSignal, QObject |
13 from PyQt4.Qsci import QsciAPIs |
15 from PyQt4.Qsci import QsciAPIs |
36 @param language language of the APIs object (string) |
38 @param language language of the APIs object (string) |
37 @param forPreparation flag indicating this object is just needed |
39 @param forPreparation flag indicating this object is just needed |
38 for a preparation process (boolean) |
40 for a preparation process (boolean) |
39 @param parent reference to the parent object (QObject) |
41 @param parent reference to the parent object (QObject) |
40 """ |
42 """ |
41 super().__init__(parent) |
43 super(APIs, self).__init__(parent) |
42 self.setObjectName("APIs_{0}".format(language)) |
44 self.setObjectName("APIs_{0}".format(language)) |
43 |
45 |
44 self.__inPreparation = False |
46 self.__inPreparation = False |
45 self.__language = language |
47 self.__language = language |
46 self.__forPreparation = forPreparation |
48 self.__forPreparation = forPreparation |