163 """ |
163 """ |
164 Private slot to handle the projectClosed signal. |
164 Private slot to handle the projectClosed signal. |
165 """ |
165 """ |
166 self.__handler.closeAllWindows() |
166 self.__handler.closeAllWindows() |
167 |
167 |
168 def __pluginActivated(self, moduleName, pluginObject): |
168 def __pluginActivated(self, moduleName, pluginObject): # noqa: U100 |
169 """ |
169 """ |
170 Private slot to react on plugin activation of the Django plugin. |
170 Private slot to react on plugin activation of the Django plugin. |
171 |
171 |
172 @param moduleName name of the module activated |
172 @param moduleName name of the module activated |
173 @type str |
173 @type str |
175 @type object |
175 @type object |
176 """ |
176 """ |
177 if moduleName == "PluginProjectDjango": |
177 if moduleName == "PluginProjectDjango": |
178 self.__attachMenu() |
178 self.__attachMenu() |
179 |
179 |
180 def __pluginAboutToBeDeactivated(self, moduleName, pluginObject): |
180 def __pluginAboutToBeDeactivated(self, moduleName, pluginObject): # noqa: U100 |
181 """ |
181 """ |
182 Private slot to react on the Django plugin about to be deactivated. |
182 Private slot to react on the Django plugin about to be deactivated. |
183 |
183 |
184 @param moduleName name of the module about to be deactivated |
184 @param moduleName name of the module about to be deactivated |
185 @type str |
185 @type str |