diff --git a/doc/mainpage.md b/doc/mainpage.md --- a/doc/mainpage.md +++ b/doc/mainpage.md @@ -24,7 +24,7 @@ ### Getting in Touch You can reach us via:
-[IRC] - freenode #kde-atelier
+[IRC] - freenode \#kde-atelier
[Telegram] - Atelier group
### Bugs diff --git a/src/atcore.h b/src/atcore.h --- a/src/atcore.h +++ b/src/atcore.h @@ -1,7 +1,8 @@ -/* AtCore - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira @@ -266,7 +267,7 @@ * * Sends M114 on pause to store the location where the head stoped. * This is known to cause problems on fake printers - * @param pauseActions: Gcode to run after pausing commands are ',' seperated + * @param pauseActions: Gcode to run after pausing commands are ',' separated * @sa resume(),stop(),emergencyStop() */ void pause(const QString &pauseActions); diff --git a/src/atcore.cpp b/src/atcore.cpp --- a/src/atcore.cpp +++ b/src/atcore.cpp @@ -1,7 +1,8 @@ -/* AtCore - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira @@ -23,6 +24,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ + +#include "atcore.h" + #include #include #include @@ -32,7 +36,6 @@ #include #include -#include "atcore.h" #include "atcore_version.h" #include "seriallayer.h" #include "gcodecommands.h" diff --git a/src/atcore_default_folders.h.in b/src/atcore_default_folders.h.in --- a/src/atcore_default_folders.h.in +++ b/src/atcore_default_folders.h.in @@ -1,7 +1,8 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira @@ -18,6 +19,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ + #pragma once #include diff --git a/src/gcodecommands.h b/src/gcodecommands.h --- a/src/gcodecommands.h +++ b/src/gcodecommands.h @@ -1,7 +1,8 @@ -/* AtCore - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Lays Rodrigues Tomaz Canabrava Patrick José Pereira @@ -23,6 +24,7 @@ You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ + #pragma once #include diff --git a/src/gcodecommands.cpp b/src/gcodecommands.cpp --- a/src/gcodecommands.cpp +++ b/src/gcodecommands.cpp @@ -1,7 +1,8 @@ -/* AtCore - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Lays Rodrigues Tomaz Canabrava Patrick José Pereira @@ -23,11 +24,12 @@ You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ -#include -#include #include "gcodecommands.h" +#include +#include + QString GCode::toString(GCommands gcode) { switch (gcode) { diff --git a/src/ifirmware.h b/src/ifirmware.h --- a/src/ifirmware.h +++ b/src/ifirmware.h @@ -1,7 +1,8 @@ -/* AtCore - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira @@ -22,6 +23,7 @@ You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ + #pragma once #include diff --git a/src/ifirmware.cpp b/src/ifirmware.cpp --- a/src/ifirmware.cpp +++ b/src/ifirmware.cpp @@ -1,7 +1,8 @@ -/* AtCore - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Patrick José Pereira diff --git a/src/plugins/aprinterplugin.h b/src/plugins/aprinterplugin.h --- a/src/plugins/aprinterplugin.h +++ b/src/plugins/aprinterplugin.h @@ -1,27 +1,29 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + #pragma once #include diff --git a/src/plugins/aprinterplugin.cpp b/src/plugins/aprinterplugin.cpp --- a/src/plugins/aprinterplugin.cpp +++ b/src/plugins/aprinterplugin.cpp @@ -1,31 +1,34 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + +#include "aprinterplugin.h" + #include #include -#include "aprinterplugin.h" #include "temperature.h" #include "atcore.h" diff --git a/src/plugins/grblplugin.h b/src/plugins/grblplugin.h --- a/src/plugins/grblplugin.h +++ b/src/plugins/grblplugin.h @@ -1,27 +1,29 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + #pragma once #include diff --git a/src/plugins/grblplugin.cpp b/src/plugins/grblplugin.cpp --- a/src/plugins/grblplugin.cpp +++ b/src/plugins/grblplugin.cpp @@ -1,31 +1,33 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ -#include #include "grblplugin.h" +#include + QString GrblPlugin::name() const { return QStringLiteral("Grbl"); diff --git a/src/plugins/marlinplugin.h b/src/plugins/marlinplugin.h --- a/src/plugins/marlinplugin.h +++ b/src/plugins/marlinplugin.h @@ -1,27 +1,29 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + #pragma once #include diff --git a/src/plugins/marlinplugin.cpp b/src/plugins/marlinplugin.cpp --- a/src/plugins/marlinplugin.cpp +++ b/src/plugins/marlinplugin.cpp @@ -1,31 +1,34 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + +#include "marlinplugin.h" + #include #include -#include "marlinplugin.h" #include "temperature.h" #include "atcore.h" diff --git a/src/plugins/repetierplugin.h b/src/plugins/repetierplugin.h --- a/src/plugins/repetierplugin.h +++ b/src/plugins/repetierplugin.h @@ -1,27 +1,29 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + #pragma once #include diff --git a/src/plugins/repetierplugin.cpp b/src/plugins/repetierplugin.cpp --- a/src/plugins/repetierplugin.cpp +++ b/src/plugins/repetierplugin.cpp @@ -1,31 +1,34 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + +#include "repetierplugin.h" + #include #include -#include "repetierplugin.h" #include "temperature.h" #include "atcore.h" diff --git a/src/plugins/smoothieplugin.h b/src/plugins/smoothieplugin.h --- a/src/plugins/smoothieplugin.h +++ b/src/plugins/smoothieplugin.h @@ -1,27 +1,29 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + #pragma once #include diff --git a/src/plugins/smoothieplugin.cpp b/src/plugins/smoothieplugin.cpp --- a/src/plugins/smoothieplugin.cpp +++ b/src/plugins/smoothieplugin.cpp @@ -1,31 +1,34 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + +#include "smoothieplugin.h" + #include #include -#include "smoothieplugin.h" #include "temperature.h" #include "atcore.h" diff --git a/src/plugins/sprinterplugin.h b/src/plugins/sprinterplugin.h --- a/src/plugins/sprinterplugin.h +++ b/src/plugins/sprinterplugin.h @@ -1,27 +1,29 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + #pragma once #include diff --git a/src/plugins/sprinterplugin.cpp b/src/plugins/sprinterplugin.cpp --- a/src/plugins/sprinterplugin.cpp +++ b/src/plugins/sprinterplugin.cpp @@ -1,31 +1,34 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + +#include "sprinterplugin.h" + #include #include -#include "sprinterplugin.h" #include "temperature.h" #include "atcore.h" diff --git a/src/plugins/teacupplugin.h b/src/plugins/teacupplugin.h --- a/src/plugins/teacupplugin.h +++ b/src/plugins/teacupplugin.h @@ -1,27 +1,29 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + #pragma once #include diff --git a/src/plugins/teacupplugin.cpp b/src/plugins/teacupplugin.cpp --- a/src/plugins/teacupplugin.cpp +++ b/src/plugins/teacupplugin.cpp @@ -1,31 +1,34 @@ -/* AtCore KDE Libary for 3D Printers - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Chris Rizzitello Patrick José Pereira - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), which shall + act as a proxy defined in Section 6 of version 3 of the license. - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . */ + +#include "teacupplugin.h" + #include #include -#include "teacupplugin.h" #include "temperature.h" #include "atcore.h" diff --git a/src/printthread.h b/src/printthread.h --- a/src/printthread.h +++ b/src/printthread.h @@ -1,8 +1,7 @@ -/* AtCore - Copyright (C) <2017> +/* + This file is part of the KDE project - Authors: - Chris Rizzitello + Copyright (C) 2017 Chris Rizzitello This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -20,6 +19,7 @@ You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ + #pragma once #include diff --git a/src/printthread.cpp b/src/printthread.cpp --- a/src/printthread.cpp +++ b/src/printthread.cpp @@ -1,8 +1,7 @@ -/* AtCore - Copyright (C) <2017> +/* + This file is part of the KDE project - Authors: - Chris Rizzitello + Copyright (C) 2017 Chris Rizzitello This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -20,10 +19,12 @@ You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ + +#include "printthread.h" + #include #include -#include "printthread.h" #include "gcodecommands.h" Q_LOGGING_CATEGORY(PRINT_THREAD, "org.kde.atelier.core.printThread") diff --git a/src/seriallayer.h b/src/seriallayer.h --- a/src/seriallayer.h +++ b/src/seriallayer.h @@ -1,7 +1,8 @@ -/* AtCore - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Patrick José Pereira Chris Rizzitello Tomaz Canabrava @@ -22,6 +23,7 @@ You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ + #pragma once #include @@ -42,7 +44,7 @@ SerialLayerPrivate *d; /** - * @brief Read all avaliable serial data + * @brief Read all available serial data * */ void readAllData(); @@ -83,7 +85,7 @@ /** * @brief Add command to be pushed * - * @param comm : Commmand, default terminator will be used + * @param comm : Command, default terminator will be used */ void add(const QByteArray &comm); diff --git a/src/seriallayer.cpp b/src/seriallayer.cpp --- a/src/seriallayer.cpp +++ b/src/seriallayer.cpp @@ -1,7 +1,8 @@ -/* AtCore - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Patrick José Pereira Chris Rizzitello Tomaz Canabrava diff --git a/src/temperature.h b/src/temperature.h --- a/src/temperature.h +++ b/src/temperature.h @@ -1,7 +1,8 @@ -/* AtCore - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Patrick José Pereira @@ -21,6 +22,7 @@ You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ + #pragma once #include @@ -46,7 +48,7 @@ * @brief Create a new Temperature object * @param parent */ - Temperature(QObject *parent = nullptr); + explicit Temperature(QObject *parent = nullptr); /** * @brief Get bed current temperature diff --git a/src/temperature.cpp b/src/temperature.cpp --- a/src/temperature.cpp +++ b/src/temperature.cpp @@ -1,7 +1,8 @@ -/* AtCore - Copyright (C) <2016> +/* + This file is part of the KDE project + + Copyright (C) 2016 The AtCore authors - Authors: Tomaz Canabrava Patrick José Pereira Chris Rizzitello @@ -22,10 +23,12 @@ You should have received a copy of the GNU Lesser General Public License along with this library. If not, see . */ + +#include "temperature.h" + #include #include -#include "temperature.h" /** * @brief The TemperaturePrivate class * diff --git a/testclient/CMakeLists.txt b/testclient/CMakeLists.txt --- a/testclient/CMakeLists.txt +++ b/testclient/CMakeLists.txt @@ -38,6 +38,3 @@ endif() target_link_libraries(AtCoreTest AtCoreTestWidgets AtCore::AtCore Qt5::Widgets Qt5::Charts) - - - diff --git a/testclient/main.cpp b/testclient/main.cpp --- a/testclient/main.cpp +++ b/testclient/main.cpp @@ -1,11 +1,12 @@ -/* AtCore Test Client - Copyright (C) <2016> +/* + This file is part of the KDE project - Authors: - Lays Rodrigues - Patrick José Pereira - Chris Rizzitello - Tomaz Canabrava + Copyright (C) 2016 The AtCore authors + + Lays Rodrigues + Patrick José Pereira + Chris Rizzitello + Tomaz Canabrava This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,6 +21,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ + #include #include "mainwindow.h" diff --git a/testclient/mainwindow.h b/testclient/mainwindow.h --- a/testclient/mainwindow.h +++ b/testclient/mainwindow.h @@ -1,11 +1,12 @@ -/* AtCore Test Client - Copyright (C) <2016> +/* + This file is part of the KDE project - Authors: - Patrick José Pereira - Lays Rodrigues - Chris Rizzitello - Tomaz Canabrava + Copyright (C) 2016 The AtCore authors + + Patrick José Pereira + Lays Rodrigues + Chris Rizzitello + Tomaz Canabrava This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,6 +21,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ + #pragma once #include @@ -36,7 +38,7 @@ Q_OBJECT public: - MainWindow(QWidget *parent = nullptr); + explicit MainWindow(QWidget *parent = nullptr); ~MainWindow() override; public slots: diff --git a/testclient/mainwindow.cpp b/testclient/mainwindow.cpp --- a/testclient/mainwindow.cpp +++ b/testclient/mainwindow.cpp @@ -1,11 +1,12 @@ -/* AtCore Test Client - Copyright (C) <2016> +/* + This file is part of the KDE project - Authors: - Patrick José Pereira - Lays Rodrigues - Chris Rizzitello - Tomaz Canabrava + Copyright (C) 2016 The AtCore authors + + Patrick José Pereira + Lays Rodrigues + Chris Rizzitello + Tomaz Canabrava This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,14 +21,16 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ + +#include "mainwindow.h" + #include #include #include #include #include #include -#include "mainwindow.h" #include "seriallayer.h" #include "gcodecommands.h" #include "widgets/axiscontrol.h" diff --git a/testclient/widgets/about.h b/testclient/widgets/about.h --- a/testclient/widgets/about.h +++ b/testclient/widgets/about.h @@ -1,8 +1,7 @@ -/* AtCore Test Client - Copyright (C) <2017> +/* + This file is part of the KDE project - Authors: - Chris Rizzitello + Copyright (C) 2017 Chris Rizzitello This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/testclient/widgets/about.cpp b/testclient/widgets/about.cpp --- a/testclient/widgets/about.cpp +++ b/testclient/widgets/about.cpp @@ -1,8 +1,7 @@ -/* AtCore Test Client - Copyright (C) <2017> +/* + This file is part of the KDE project - Authors: - Chris Rizzitello + Copyright (C) 2017 Chris Rizzitello This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,15 +16,16 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ + +#include "about.h" + #include #include #include #include #include #include -#include "about.h" - About::About(QWidget *parent) : QDialog(parent) { diff --git a/testclient/widgets/axiscontrol.cpp b/testclient/widgets/axiscontrol.cpp --- a/testclient/widgets/axiscontrol.cpp +++ b/testclient/widgets/axiscontrol.cpp @@ -82,7 +82,7 @@ I don't have experience programming with QGraphicsScene, Tomaz is helping me, but until we have a better solution, all the values that are dividing or multiplying the items is based only in tests and errors. - Those values was choosen because it fit better on the alignment of the items + Those values was chosen because it fit better on the alignment of the items in the scene. If you have a better solution, please share with us. Lays Rodrigues - Jan/2017 */ diff --git a/testclient/widgets/plotwidget.cpp b/testclient/widgets/plotwidget.cpp --- a/testclient/widgets/plotwidget.cpp +++ b/testclient/widgets/plotwidget.cpp @@ -19,10 +19,10 @@ along with this program. If not, see . */ -#include - #include "plotwidget.h" +#include + PlotWidget::PlotWidget(QWidget *parent) : QWidget(parent) { diff --git a/unittests/atcoretests.cpp b/unittests/atcoretests.cpp --- a/unittests/atcoretests.cpp +++ b/unittests/atcoretests.cpp @@ -1,7 +1,7 @@ -#include - #include "atcoretests.h" +#include + void AtCoreTests::initTestCase() { core = new AtCore(); diff --git a/unittests/gcodetests.cpp b/unittests/gcodetests.cpp --- a/unittests/gcodetests.cpp +++ b/unittests/gcodetests.cpp @@ -1,7 +1,7 @@ -#include - #include "gcodetests.h" +#include + void GCodeTests::command_G0() { QVERIFY(GCode::toCommand(GCode::G0) == QStringLiteral("G0")); diff --git a/unittests/temperaturetests.cpp b/unittests/temperaturetests.cpp --- a/unittests/temperaturetests.cpp +++ b/unittests/temperaturetests.cpp @@ -1,7 +1,7 @@ -#include - #include "temperaturetests.h" +#include + void TemperatureTests::initTestCase() { temperature = new Temperature(this);