{"action":"created","issue":{"url":"https://api.github.com/repos/rluu/pricechartingtool/issues/10","labels_url":"https://api.github.com/repos/rluu/pricechartingtool/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/rluu/pricechartingtool/issues/10/comments","events_url":"https://api.github.com/repos/rluu/pricechartingtool/issues/10/events","html_url":"https://github.com/rluu/pricechartingtool/issues/10","id":98563035,"number":10,"title":"PyQt4 to PyQt5 porting: Fix broken signals and slots.  ","user":{"login":"rluu","id":9021619,"avatar_url":"https://avatars.githubusercontent.com/u/9021619?v=3","gravatar_id":"","url":"https://api.github.com/users/rluu","html_url":"https://github.com/rluu","followers_url":"https://api.github.com/users/rluu/followers","following_url":"https://api.github.com/users/rluu/following{/other_user}","gists_url":"https://api.github.com/users/rluu/gists{/gist_id}","starred_url":"https://api.github.com/users/rluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rluu/subscriptions","organizations_url":"https://api.github.com/users/rluu/orgs","repos_url":"https://api.github.com/users/rluu/repos","events_url":"https://api.github.com/users/rluu/events{/privacy}","received_events_url":"https://api.github.com/users/rluu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rluu/pricechartingtool/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"rluu","id":9021619,"avatar_url":"https://avatars.githubusercontent.com/u/9021619?v=3","gravatar_id":"","url":"https://api.github.com/users/rluu","html_url":"https://github.com/rluu","followers_url":"https://api.github.com/users/rluu/followers","following_url":"https://api.github.com/users/rluu/following{/other_user}","gists_url":"https://api.github.com/users/rluu/gists{/gist_id}","starred_url":"https://api.github.com/users/rluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rluu/subscriptions","organizations_url":"https://api.github.com/users/rluu/orgs","repos_url":"https://api.github.com/users/rluu/repos","events_url":"https://api.github.com/users/rluu/events{/privacy}","received_events_url":"https://api.github.com/users/rluu/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-08-01T21:48:31Z","updated_at":"2015-08-02T07:50:07Z","closed_at":"2015-08-02T07:50:07Z","body":"Need to look through my code and fix any broken signals and slots that were supported in PyQt4 but no longer supported in PyQt5.  \r\n\r\nFrom:\r\nhttp://pyqt.sourceforge.net/Docs/PyQt5/pyqt4_differences.html\r\n\r\nOld-style Signals and Slots\r\n\r\nPyQt4’s old-style signals and slots are not supported. Therefore the following are not implemented in PyQt5:\r\n\r\n    QObject.connect()\r\n    QObject.emit()\r\n    SIGNAL()\r\n    SLOT()\r\n\r\nAll methods that had arguments that are usually the results of calls to SIGNAL() or SLOT() are no longer supported. There will always be an equivalent that takes a bound signal or callable respectively.\r\n\r\nIn addition the following methods have differences:\r\n\r\n    disconnect() takes no arguments and disconnects all connections to the QObject instance.\r\n\r\nNew-style Signals and Slots\r\n\r\nQt implements signals with an optional argument as two separate signals, one with the argument and one without it. PyQt4 exposed both of these allowing you to connect to each of them. However, when emitting the signal, you had to use the signal appropriate to the number of arguments being emitted.\r\n\r\nPyQt5 exposes only the signal where all arguments are specified. However it allows any optional arguments to be omitted when emitting the signal.\r\n\r\nUnlike PyQt4, PyQt5 supports the definition of properties, signals and slots in classes not sub-classed from QObject (i.e. in mixins).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rluu/pricechartingtool/issues/comments/126997271","html_url":"https://github.com/rluu/pricechartingtool/issues/10#issuecomment-126997271","issue_url":"https://api.github.com/repos/rluu/pricechartingtool/issues/10","id":126997271,"user":{"login":"rluu","id":9021619,"avatar_url":"https://avatars.githubusercontent.com/u/9021619?v=3","gravatar_id":"","url":"https://api.github.com/users/rluu","html_url":"https://github.com/rluu","followers_url":"https://api.github.com/users/rluu/followers","following_url":"https://api.github.com/users/rluu/following{/other_user}","gists_url":"https://api.github.com/users/rluu/gists{/gist_id}","starred_url":"https://api.github.com/users/rluu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rluu/subscriptions","organizations_url":"https://api.github.com/users/rluu/orgs","repos_url":"https://api.github.com/users/rluu/repos","events_url":"https://api.github.com/users/rluu/events{/privacy}","received_events_url":"https://api.github.com/users/rluu/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T07:50:07Z","updated_at":"2015-08-02T07:50:07Z","body":"Applies fixes to migrate the signals and slots from the old-style to new-style methods.\r\n"}}