169 if self.__args["IgnoreSlotMethods"] and ( |
169 if self.__args["IgnoreSlotMethods"] and ( |
170 "pyqtSlot" in decoratorNames or "Slot" in decoratorNames |
170 "pyqtSlot" in decoratorNames or "Slot" in decoratorNames |
171 ): |
171 ): |
172 continue |
172 continue |
173 |
173 |
174 # TODO: add 'IgnoreEventHandlerMethods' to ignore Qt event handlers |
|
175 # - function name ends with 'Event' |
|
176 # - function name is 'event' or 'eventFilter' |
|
177 if self.__args["IgnoreEventHandlerMethods"] and self.__isEventHandlerMethod( |
174 if self.__args["IgnoreEventHandlerMethods"] and self.__isEventHandlerMethod( |
178 functionNode |
175 functionNode |
179 ): |
176 ): |
180 continue |
177 continue |
181 |
178 |