diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dd92732..0d1a77fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## 5.14.2.3 [unreleased] + +### Added + +### Changed +* [#46](https://github.com/stlehmann/PyQt5-stubs/pull/46]) fixes QCoreApplication and QObject signals + +### Removed + ## 5.14.2.2 ### Added diff --git a/PyQt5-stubs/QtCore.pyi b/PyQt5-stubs/QtCore.pyi index 11065c12..c01f7772 100644 --- a/PyQt5-stubs/QtCore.pyi +++ b/PyQt5-stubs/QtCore.pyi @@ -1769,8 +1769,8 @@ class QObject(sip.wrapper): def deleteLater(self) -> None: ... def inherits(self, classname: str) -> bool: ... def parent(self) -> 'QObject': ... - def objectNameChanged(self, objectName: str) -> None: ... - def destroyed(self, object: typing.Optional['QObject'] = ...) -> None: ... + objectNameChanged: pyqtSignal + destroyed: pyqtSignal def property(self, name: str) -> typing.Any: ... def setProperty(self, name: str, value: typing.Any) -> bool: ... def dynamicPropertyNames(self) -> typing.List['QByteArray']: ... @@ -2909,7 +2909,7 @@ class QCoreApplication(QObject): @staticmethod def setApplicationVersion(version: str) -> None: ... def event(self, a0: 'QEvent') -> bool: ... - def aboutToQuit(self) -> None: ... + aboutToQuit: pyqtSignal @staticmethod def quit() -> None: ... @staticmethod @@ -2979,6 +2979,10 @@ class QCoreApplication(QObject): def organizationDomain() -> str: ... @staticmethod def setOrganizationDomain(orgDomain: str) -> None: ... + applicationNameChanged: pyqtSignal + applicationVersionChanged: pyqtSignal + organizationDomainChanged: pyqtSignal + organizationNameChanged: pyqtSignal class QEvent(sip.wrapper):