{"action":"created","comment":{"url":"https://api.github.com/repos/KDE/atcore/pulls/comments/85708498","pull_request_review_id":6407641,"id":85708498,"diff_hunk":"@@ -324,3 +324,31 @@ void AtCore::detectFirmware()\n     connect(serial(), &SerialLayer::receivedCommand, this, &AtCore::findFirmware);\n     requestFirmware();\n }\n+/*~~~~~Control Slots ~~~~~~~~*/\n+void AtCore::home()\n+{\n+    pushCommand(GCode::toCommand(GCode::G28));\n+}\n+\n+void AtCore::home(QString axis)\n+{\n+    axis.replace(QChar::fromLatin1('X'), QStringLiteral(\"X0\"));\n+    axis.replace(QChar::fromLatin1('Y'), QStringLiteral(\"Y0\"));\n+    axis.replace(QChar::fromLatin1('Z'), QStringLiteral(\"Z0\"));\n+    pushCommand(GCode::toCommand(GCode::G28, axis));\n+}\n+\n+void AtCore::setExtruderTemp(double temp, int extruder)\n+{\n+    pushCommand(GCode::toCommand(GCode::M104, QString::number(extruder), QString::number(temp)));\n+}\n+\n+void AtCore::setBedTemp(double temp)\n+{\n+    pushCommand(GCode::toCommand(GCode::M140, QString::number(temp)));\n+}\n+\n+void AtCore::setFanSpeed(int speed, int fanNumber)","path":"src/atcore.cpp","position":91,"original_position":28,"commit_id":"78314aa70e652739cc815a8f309cf84724775938","original_commit_id":"df61fed61e0874a29288d4e54d0df7b04a2cc60a","user":{"login":"patrickelectric","id":1215497,"avatar_url":"https://avatars.githubusercontent.com/u/1215497?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickelectric","html_url":"https://github.com/patrickelectric","followers_url":"https://api.github.com/users/patrickelectric/followers","following_url":"https://api.github.com/users/patrickelectric/following{/other_user}","gists_url":"https://api.github.com/users/patrickelectric/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickelectric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickelectric/subscriptions","organizations_url":"https://api.github.com/users/patrickelectric/orgs","repos_url":"https://api.github.com/users/patrickelectric/repos","events_url":"https://api.github.com/users/patrickelectric/events{/privacy}","received_events_url":"https://api.github.com/users/patrickelectric/received_events","type":"User","site_admin":false},"body":"uint, uint","created_at":"2016-10-31T09:50:28Z","updated_at":"2016-10-31T09:52:13Z","html_url":"https://github.com/KDE/atcore/pull/34#discussion_r85708498","pull_request_url":"https://api.github.com/repos/KDE/atcore/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/KDE/atcore/pulls/comments/85708498"},"html":{"href":"https://github.com/KDE/atcore/pull/34#discussion_r85708498"},"pull_request":{"href":"https://api.github.com/repos/KDE/atcore/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/KDE/atcore/pulls/34","id":91535249,"html_url":"https://github.com/KDE/atcore/pull/34","diff_url":"https://github.com/KDE/atcore/pull/34.diff","patch_url":"https://github.com/KDE/atcore/pull/34.patch","issue_url":"https://api.github.com/repos/KDE/atcore/issues/34","number":34,"state":"open","locked":false,"title":"More AtCore Slots and Signals","user":{"login":"sithlord48","id":7450820,"avatar_url":"https://avatars.githubusercontent.com/u/7450820?v=3","gravatar_id":"","url":"https://api.github.com/users/sithlord48","html_url":"https://github.com/sithlord48","followers_url":"https://api.github.com/users/sithlord48/followers","following_url":"https://api.github.com/users/sithlord48/following{/other_user}","gists_url":"https://api.github.com/users/sithlord48/gists{/gist_id}","starred_url":"https://api.github.com/users/sithlord48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sithlord48/subscriptions","organizations_url":"https://api.github.com/users/sithlord48/orgs","repos_url":"https://api.github.com/users/sithlord48/repos","events_url":"https://api.github.com/users/sithlord48/events{/privacy}","received_events_url":"https://api.github.com/users/sithlord48/received_events","type":"User","site_admin":false},"body":"Add most of  the test gui commands as slots within AtCore. (only need todo move still) \r\nCreate signal for the plugins to return \"PrinterStatus\" data with temps.\r\nImprove the pause and resume by tracking the heads placment when pausing and restoring it when resuming the printjob. \r\nUpdate the testgui to use new AtCore Features\r\n","created_at":"2016-10-30T20:35:00Z","updated_at":"2016-10-31T09:52:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29f146f8a9b3ae266bf9997245434fd539898b00","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/KDE/atcore/pulls/34/commits","review_comments_url":"https://api.github.com/repos/KDE/atcore/pulls/34/comments","review_comment_url":"https://api.github.com/repos/KDE/atcore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KDE/atcore/issues/34/comments","statuses_url":"https://api.github.com/repos/KDE/atcore/statuses/78314aa70e652739cc815a8f309cf84724775938","head":{"label":"sithlord48:moreSlots","ref":"moreSlots","sha":"78314aa70e652739cc815a8f309cf84724775938","user":{"login":"sithlord48","id":7450820,"avatar_url":"https://avatars.githubusercontent.com/u/7450820?v=3","gravatar_id":"","url":"https://api.github.com/users/sithlord48","html_url":"https://github.com/sithlord48","followers_url":"https://api.github.com/users/sithlord48/followers","following_url":"https://api.github.com/users/sithlord48/following{/other_user}","gists_url":"https://api.github.com/users/sithlord48/gists{/gist_id}","starred_url":"https://api.github.com/users/sithlord48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sithlord48/subscriptions","organizations_url":"https://api.github.com/users/sithlord48/orgs","repos_url":"https://api.github.com/users/sithlord48/repos","events_url":"https://api.github.com/users/sithlord48/events{/privacy}","received_events_url":"https://api.github.com/users/sithlord48/received_events","type":"User","site_admin":false},"repo":{"id":69021982,"name":"atcore","full_name":"sithlord48/atcore","owner":{"login":"sithlord48","id":7450820,"avatar_url":"https://avatars.githubusercontent.com/u/7450820?v=3","gravatar_id":"","url":"https://api.github.com/users/sithlord48","html_url":"https://github.com/sithlord48","followers_url":"https://api.github.com/users/sithlord48/followers","following_url":"https://api.github.com/users/sithlord48/following{/other_user}","gists_url":"https://api.github.com/users/sithlord48/gists{/gist_id}","starred_url":"https://api.github.com/users/sithlord48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sithlord48/subscriptions","organizations_url":"https://api.github.com/users/sithlord48/orgs","repos_url":"https://api.github.com/users/sithlord48/repos","events_url":"https://api.github.com/users/sithlord48/events{/privacy}","received_events_url":"https://api.github.com/users/sithlord48/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sithlord48/atcore","description":"Open Source 3D Printing Host - Core Components","fork":true,"url":"https://api.github.com/repos/sithlord48/atcore","forks_url":"https://api.github.com/repos/sithlord48/atcore/forks","keys_url":"https://api.github.com/repos/sithlord48/atcore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sithlord48/atcore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sithlord48/atcore/teams","hooks_url":"https://api.github.com/repos/sithlord48/atcore/hooks","issue_events_url":"https://api.github.com/repos/sithlord48/atcore/issues/events{/number}","events_url":"https://api.github.com/repos/sithlord48/atcore/events","assignees_url":"https://api.github.com/repos/sithlord48/atcore/assignees{/user}","branches_url":"https://api.github.com/repos/sithlord48/atcore/branches{/branch}","tags_url":"https://api.github.com/repos/sithlord48/atcore/tags","blobs_url":"https://api.github.com/repos/sithlord48/atcore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sithlord48/atcore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sithlord48/atcore/git/refs{/sha}","trees_url":"https://api.github.com/repos/sithlord48/atcore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sithlord48/atcore/statuses/{sha}","languages_url":"https://api.github.com/repos/sithlord48/atcore/languages","stargazers_url":"https://api.github.com/repos/sithlord48/atcore/stargazers","contributors_url":"https://api.github.com/repos/sithlord48/atcore/contributors","subscribers_url":"https://api.github.com/repos/sithlord48/atcore/subscribers","subscription_url":"https://api.github.com/repos/sithlord48/atcore/subscription","commits_url":"https://api.github.com/repos/sithlord48/atcore/commits{/sha}","git_commits_url":"https://api.github.com/repos/sithlord48/atcore/git/commits{/sha}","comments_url":"https://api.github.com/repos/sithlord48/atcore/comments{/number}","issue_comment_url":"https://api.github.com/repos/sithlord48/atcore/issues/comments{/number}","contents_url":"https://api.github.com/repos/sithlord48/atcore/contents/{+path}","compare_url":"https://api.github.com/repos/sithlord48/atcore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sithlord48/atcore/merges","archive_url":"https://api.github.com/repos/sithlord48/atcore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sithlord48/atcore/downloads","issues_url":"https://api.github.com/repos/sithlord48/atcore/issues{/number}","pulls_url":"https://api.github.com/repos/sithlord48/atcore/pulls{/number}","milestones_url":"https://api.github.com/repos/sithlord48/atcore/milestones{/number}","notifications_url":"https://api.github.com/repos/sithlord48/atcore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sithlord48/atcore/labels{/name}","releases_url":"https://api.github.com/repos/sithlord48/atcore/releases{/id}","deployments_url":"https://api.github.com/repos/sithlord48/atcore/deployments","created_at":"2016-09-23T12:17:10Z","updated_at":"2016-09-23T12:17:11Z","pushed_at":"2016-10-31T02:55:59Z","git_url":"git://github.com/sithlord48/atcore.git","ssh_url":"git@github.com:sithlord48/atcore.git","clone_url":"https://github.com/sithlord48/atcore.git","svn_url":"https://github.com/sithlord48/atcore","homepage":null,"size":231,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"KDE:master","ref":"master","sha":"44682942f94e4ff8b8d242a2de721d1de072849c","user":{"login":"KDE","id":14312869,"avatar_url":"https://avatars.githubusercontent.com/u/14312869?v=3","gravatar_id":"","url":"https://api.github.com/users/KDE","html_url":"https://github.com/KDE","followers_url":"https://api.github.com/users/KDE/followers","following_url":"https://api.github.com/users/KDE/following{/other_user}","gists_url":"https://api.github.com/users/KDE/gists{/gist_id}","starred_url":"https://api.github.com/users/KDE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KDE/subscriptions","organizations_url":"https://api.github.com/users/KDE/orgs","repos_url":"https://api.github.com/users/KDE/repos","events_url":"https://api.github.com/users/KDE/events{/privacy}","received_events_url":"https://api.github.com/users/KDE/received_events","type":"Organization","site_admin":false},"repo":{"id":67837974,"name":"atcore","full_name":"KDE/atcore","owner":{"login":"KDE","id":14312869,"avatar_url":"https://avatars.githubusercontent.com/u/14312869?v=3","gravatar_id":"","url":"https://api.github.com/users/KDE","html_url":"https://github.com/KDE","followers_url":"https://api.github.com/users/KDE/followers","following_url":"https://api.github.com/users/KDE/following{/other_user}","gists_url":"https://api.github.com/users/KDE/gists{/gist_id}","starred_url":"https://api.github.com/users/KDE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KDE/subscriptions","organizations_url":"https://api.github.com/users/KDE/orgs","repos_url":"https://api.github.com/users/KDE/repos","events_url":"https://api.github.com/users/KDE/events{/privacy}","received_events_url":"https://api.github.com/users/KDE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KDE/atcore","description":"Open Source 3D Printing Host - Core Components","fork":false,"url":"https://api.github.com/repos/KDE/atcore","forks_url":"https://api.github.com/repos/KDE/atcore/forks","keys_url":"https://api.github.com/repos/KDE/atcore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KDE/atcore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KDE/atcore/teams","hooks_url":"https://api.github.com/repos/KDE/atcore/hooks","issue_events_url":"https://api.github.com/repos/KDE/atcore/issues/events{/number}","events_url":"https://api.github.com/repos/KDE/atcore/events","assignees_url":"https://api.github.com/repos/KDE/atcore/assignees{/user}","branches_url":"https://api.github.com/repos/KDE/atcore/branches{/branch}","tags_url":"https://api.github.com/repos/KDE/atcore/tags","blobs_url":"https://api.github.com/repos/KDE/atcore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KDE/atcore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KDE/atcore/git/refs{/sha}","trees_url":"https://api.github.com/repos/KDE/atcore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KDE/atcore/statuses/{sha}","languages_url":"https://api.github.com/repos/KDE/atcore/languages","stargazers_url":"https://api.github.com/repos/KDE/atcore/stargazers","contributors_url":"https://api.github.com/repos/KDE/atcore/contributors","subscribers_url":"https://api.github.com/repos/KDE/atcore/subscribers","subscription_url":"https://api.github.com/repos/KDE/atcore/subscription","commits_url":"https://api.github.com/repos/KDE/atcore/commits{/sha}","git_commits_url":"https://api.github.com/repos/KDE/atcore/git/commits{/sha}","comments_url":"https://api.github.com/repos/KDE/atcore/comments{/number}","issue_comment_url":"https://api.github.com/repos/KDE/atcore/issues/comments{/number}","contents_url":"https://api.github.com/repos/KDE/atcore/contents/{+path}","compare_url":"https://api.github.com/repos/KDE/atcore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KDE/atcore/merges","archive_url":"https://api.github.com/repos/KDE/atcore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KDE/atcore/downloads","issues_url":"https://api.github.com/repos/KDE/atcore/issues{/number}","pulls_url":"https://api.github.com/repos/KDE/atcore/pulls{/number}","milestones_url":"https://api.github.com/repos/KDE/atcore/milestones{/number}","notifications_url":"https://api.github.com/repos/KDE/atcore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KDE/atcore/labels{/name}","releases_url":"https://api.github.com/repos/KDE/atcore/releases{/id}","deployments_url":"https://api.github.com/repos/KDE/atcore/deployments","created_at":"2016-09-09T23:00:30Z","updated_at":"2016-10-30T01:58:55Z","pushed_at":"2016-10-31T02:55:59Z","git_url":"git://github.com/KDE/atcore.git","ssh_url":"git@github.com:KDE/atcore.git","clone_url":"https://github.com/KDE/atcore.git","svn_url":"https://github.com/KDE/atcore","homepage":null,"size":222,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KDE/atcore/pulls/34"},"html":{"href":"https://github.com/KDE/atcore/pull/34"},"issue":{"href":"https://api.github.com/repos/KDE/atcore/issues/34"},"comments":{"href":"https://api.github.com/repos/KDE/atcore/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/KDE/atcore/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/KDE/atcore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KDE/atcore/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/KDE/atcore/statuses/78314aa70e652739cc815a8f309cf84724775938"}}}}
{"actor":{"display_login":"patrickelectric"}}