PluginDocumentationSets.py

branch
eric7
changeset 86
812d4cf28c23
parent 85
8bdcb62db996
child 98
bab4585d9d63
equal deleted inserted replaced
85:8bdcb62db996 86:812d4cf28c23
5 5
6 """ 6 """
7 Module implementing the QtHelp documentation provider plug-in. 7 Module implementing the QtHelp documentation provider plug-in.
8 """ 8 """
9 9
10 import glob
10 import os 11 import os
11 import glob
12 12
13 from PyQt6.QtCore import QObject 13 from PyQt6.QtCore import QObject
14 14
15 # Start-Of-Header 15 # Start-Of-Header
16 name = "Documentation Sets" 16 name = "Documentation Sets"
64 64
65 def __init__(self, ui): 65 def __init__(self, ui):
66 """ 66 """
67 Constructor 67 Constructor
68 68
69 @param ui reference to the user interface object (UI.UserInterface) 69 @param ui reference to the user interface object
70 @type UserInterface
70 """ 71 """
71 super().__init__(ui) 72 super().__init__(ui)
72 self.__ui = ui 73 self.__ui = ui
73 74
74 def activate(self): 75 def activate(self):
75 """ 76 """
76 Public method to activate this plugin. 77 Public method to activate this plugin.
77 78
78 @return tuple of None and activation status (boolean) 79 @return tuple of None and activation status
80 @rtype bool
79 """ 81 """
80 global error 82 global error
81 error = "" # clear previous error 83 error = "" # clear previous error
82 84
83 return None, True 85 return None, True
85 def deactivate(self): 87 def deactivate(self):
86 """ 88 """
87 Public method to deactivate this plugin. 89 Public method to deactivate this plugin.
88 """ 90 """
89 pass 91 pass
92
93 #
94 # eflag: noqa = U200

eric ide

mercurial