Merge pull request #1377 from hosiet/pr-spdx-id

Use SPDX-License-Identifier
This commit is contained in:
borgmanJeremy
2021-02-20 19:21:59 -06:00
committed by GitHub
166 changed files with 445 additions and 2690 deletions

View File

@@ -1,4 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: none
SPDX-License-Identifier: CC0-1.0
-->
<component type="desktop-application"> <component type="desktop-application">
<id>org.flameshot.Flameshot</id> <id>org.flameshot.Flameshot</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "commandargument.h" #include "commandargument.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "commandlineparser.h" #include "commandlineparser.h"
#include <QApplication> #include <QApplication>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "commandoption.h" #include "commandoption.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "buttonlistview.h" #include "buttonlistview.h"
#include "src/tools/toolfactory.h" #include "src/tools/toolfactory.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "clickablelabel.h" #include "clickablelabel.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "configwindow.h" #include "configwindow.h"
#include "src/config/filenameeditor.h" #include "src/config/filenameeditor.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "extendedslider.h" #include "extendedslider.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "filenameeditor.h" #include "filenameeditor.h"
#include "src/config/strftimechooserwidget.h" #include "src/config/strftimechooserwidget.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "generalconf.h" #include "generalconf.h"
#include "src/core/controller.h" #include "src/core/controller.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2020 Yurii Puchkov at Namecheap & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2020 Yurii Puchkov at Namecheap & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "setshortcutwidget.h" #include "setshortcutwidget.h"
#include <QIcon> #include <QIcon>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2020 Yurii Puchkov at Namecheap & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2020 Yurii Puchkov at Namecheap & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#ifndef SETSHORTCUTWIDGET_H #ifndef SETSHORTCUTWIDGET_H
#define SETSHORTCUTWIDGET_H #define SETSHORTCUTWIDGET_H

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2020 Yurii Puchkov at Namecheap & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2020 Yurii Puchkov at Namecheap & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "shortcutswidget.h" #include "shortcutswidget.h"
#include "setshortcutwidget.h" #include "setshortcutwidget.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2020 Yurii Puchkov at Namecheap & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2020 Yurii Puchkov at Namecheap & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#ifndef HOTKEYSCONFIG_H #ifndef HOTKEYSCONFIG_H
#define HOTKEYSCONFIG_H #define HOTKEYSCONFIG_H

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "strftimechooserwidget.h" #include "strftimechooserwidget.h"
#include <QGridLayout> #include <QGridLayout>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,6 +1,8 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: 2020 Jeremy Borgman <borgman.jeremy@pm.me>
// //
// Created by jeremy on 9/24/20. // Created by jeremy on 9/24/20.
//
#include "styleoverride.h" #include "styleoverride.h"
int StyleOverride::styleHint(StyleHint hint, int StyleOverride::styleHint(StyleHint hint,

View File

@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: 2020 Jeremy Borgman <borgman.jeremy@pm.me>
// //
// Created by jeremy on 9/24/20. // Created by jeremy on 9/24/20.
//
#ifndef FLAMESHOT_STYLEOVERRIDE_H #ifndef FLAMESHOT_STYLEOVERRIDE_H
#define FLAMESHOT_STYLEOVERRIDE_H #define FLAMESHOT_STYLEOVERRIDE_H

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "uicoloreditor.h" #include "uicoloreditor.h"
#include "clickablelabel.h" #include "clickablelabel.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "visualseditor.h" #include "visualseditor.h"
#include "src/config/buttonlistview.h" #include "src/config/buttonlistview.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "capturerequest.h" #include "capturerequest.h"
#include "src/utils/screenshotsaver.h" #include "src/utils/screenshotsaver.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "controller.h" #include "controller.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "flameshotdbusadapter.h" #include "flameshotdbusadapter.h"
#include "src/core/controller.h" #include "src/core/controller.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "globalshortcutfilter.h" #include "globalshortcutfilter.h"
#include "src/core/controller.h" #include "src/core/controller.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: 2021 Yuriy Puchkov <yuriy.puchkov@namecheap.com>
// //
// Created by yuriypuchkov on 09.02.2021. // Created by yuriypuchkov on 09.02.2021.
//
#include "qguiappcurrentscreen.h" #include "qguiappcurrentscreen.h"
#include <QCursor> #include <QCursor>
@@ -61,4 +62,4 @@ QScreen* QGuiAppCurrentScreen::screenAt(const QPoint& pos)
} }
#endif #endif
return m_currentScreen; return m_currentScreen;
} }

View File

@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: 2021 Yuriy Puchkov <yuriy.puchkov@namecheap.com>
// //
// Created by yuriypuchkov on 09.02.2021. // Created by yuriypuchkov on 09.02.2021.
//
#ifndef FLAMESHOT_QGUIAPPCURRENTSCREEN_H #ifndef FLAMESHOT_QGUIAPPCURRENTSCREEN_H
#define FLAMESHOT_QGUIAPPCURRENTSCREEN_H #define FLAMESHOT_QGUIAPPCURRENTSCREEN_H

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "singleapplication.h" #include "singleapplication.h"
#include "src/cli/commandlineparser.h" #include "src/cli/commandlineparser.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "abstractactiontool.h" #include "abstractactiontool.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "abstractpathtool.h" #include "abstractpathtool.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "abstracttwopointtool.h" #include "abstracttwopointtool.h"
#include <QCursor> #include <QCursor>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "arrowtool.h" #include "arrowtool.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "capturecontext.h" #include "capturecontext.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "circletool.h" #include "circletool.h"
#include <QPainter> #include <QPainter>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "circlecounttool.h" #include "circlecounttool.h"
#include "colorutils.h" #include "colorutils.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "copytool.h" #include "copytool.h"
#include "src/utils/screenshotsaver.h" #include "src/utils/screenshotsaver.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "exittool.h" #include "exittool.h"
#include <QPainter> #include <QPainter>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "imguruploader.h" #include "imguruploader.h"
#include "src/utils/confighandler.h" #include "src/utils/confighandler.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "imguruploadertool.h" #include "imguruploadertool.h"
#include "imguruploader.h" #include "imguruploader.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "applaunchertool.h" #include "applaunchertool.h"
#include "applauncherwidget.h" #include "applauncherwidget.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "applauncherwidget.h" #include "applauncherwidget.h"
#include "src/tools/launcher/launcheritemdelegate.h" #include "src/tools/launcher/launcheritemdelegate.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "launcheritemdelegate.h" #include "launcheritemdelegate.h"
#include "src/utils/globalvalues.h" #include "src/utils/globalvalues.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "openwithprogram.h" #include "openwithprogram.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "terminallauncher.h" #include "terminallauncher.h"
#include <QDir> #include <QDir>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "linetool.h" #include "linetool.h"
#include <QPainter> #include <QPainter>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "markertool.h" #include "markertool.h"
#include <QPainter> #include <QPainter>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "movetool.h" #include "movetool.h"
#include <QPainter> #include <QPainter>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "penciltool.h" #include "penciltool.h"
#include <QPainter> #include <QPainter>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,94 +1,80 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
// #include "pintool.h"
// Flameshot is free software: you can redistribute it and/or modify #include "src/core/qguiappcurrentscreen.h"
// it under the terms of the GNU General Public License as published by #include "src/tools/pin/pinwidget.h"
// the Free Software Foundation, either version 3 of the License, or #include <QScreen>
// (at your option) any later version.
// PinTool::PinTool(QObject* parent)
// Flameshot is distributed in the hope that it will be useful, : AbstractActionTool(parent)
// but WITHOUT ANY WARRANTY; without even the implied warranty of {}
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. bool PinTool::closeOnButtonPressed() const
// {
// You should have received a copy of the GNU General Public License return true;
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>. }
#include "pintool.h" QIcon PinTool::icon(const QColor& background, bool inEditor) const
#include "src/core/qguiappcurrentscreen.h" {
#include "src/tools/pin/pinwidget.h" Q_UNUSED(inEditor);
#include <QScreen> return QIcon(iconPath(background) + "pin.svg");
}
PinTool::PinTool(QObject* parent) QString PinTool::name() const
: AbstractActionTool(parent) {
{} return tr("Pin Tool");
}
bool PinTool::closeOnButtonPressed() const
{ ToolType PinTool::nameID() const
return true; {
} return ToolType::PIN;
}
QIcon PinTool::icon(const QColor& background, bool inEditor) const
{ QString PinTool::description() const
Q_UNUSED(inEditor); {
return QIcon(iconPath(background) + "pin.svg"); return tr("Pin image on the desktop");
} }
QString PinTool::name() const
{ QWidget* PinTool::widget()
return tr("Pin Tool"); {
} qreal devicePixelRatio = 1;
#if defined(Q_OS_MACOS)
ToolType PinTool::nameID() const QScreen* currentScreen = QGuiAppCurrentScreen().currentScreen();
{ if (currentScreen) {
return ToolType::PIN; devicePixelRatio = currentScreen->devicePixelRatio();
} }
#endif
QString PinTool::description() const PinWidget* w = new PinWidget(m_pixmap);
{ const int m = w->margin() * devicePixelRatio;
return tr("Pin image on the desktop"); QRect adjusted_pos = m_geometry + QMargins(m, m, m, m);
} w->setGeometry(adjusted_pos);
#if defined(Q_OS_MACOS)
QWidget* PinTool::widget() if (currentScreen) {
{ QPoint topLeft = currentScreen->geometry().topLeft();
qreal devicePixelRatio = 1; adjusted_pos.setX((adjusted_pos.x() - topLeft.x()) / devicePixelRatio +
#if defined(Q_OS_MACOS) topLeft.x());
QScreen* currentScreen = QGuiAppCurrentScreen().currentScreen();
if (currentScreen) { adjusted_pos.setY((adjusted_pos.y() - topLeft.y()) / devicePixelRatio +
devicePixelRatio = currentScreen->devicePixelRatio(); topLeft.y());
} adjusted_pos.setWidth(adjusted_pos.size().width() / devicePixelRatio);
#endif adjusted_pos.setHeight(adjusted_pos.size().height() / devicePixelRatio);
PinWidget* w = new PinWidget(m_pixmap); w->resize(0, 0);
const int m = w->margin() * devicePixelRatio; w->move(adjusted_pos.x(), adjusted_pos.y());
QRect adjusted_pos = m_geometry + QMargins(m, m, m, m); }
w->setGeometry(adjusted_pos); #endif
#if defined(Q_OS_MACOS) return w;
if (currentScreen) { }
QPoint topLeft = currentScreen->geometry().topLeft();
adjusted_pos.setX((adjusted_pos.x() - topLeft.x()) / devicePixelRatio + CaptureTool* PinTool::copy(QObject* parent)
topLeft.x()); {
return new PinTool(parent);
adjusted_pos.setY((adjusted_pos.y() - topLeft.y()) / devicePixelRatio + }
topLeft.y());
adjusted_pos.setWidth(adjusted_pos.size().width() / devicePixelRatio); void PinTool::pressed(const CaptureContext& context)
adjusted_pos.setHeight(adjusted_pos.size().height() / devicePixelRatio); {
w->resize(0, 0); emit requestAction(REQ_CAPTURE_DONE_OK);
w->move(adjusted_pos.x(), adjusted_pos.y()); m_geometry = context.selection;
} m_geometry.setTopLeft(m_geometry.topLeft() + context.widgetOffset);
#endif m_pixmap = context.selectedScreenshotArea();
return w; emit requestAction(REQ_ADD_EXTERNAL_WIDGETS);
} }
CaptureTool* PinTool::copy(QObject* parent)
{
return new PinTool(parent);
}
void PinTool::pressed(const CaptureContext& context)
{
emit requestAction(REQ_CAPTURE_DONE_OK);
m_geometry = context.selection;
m_geometry.setTopLeft(m_geometry.topLeft() + context.widgetOffset);
m_pixmap = context.selectedScreenshotArea();
emit requestAction(REQ_ADD_EXTERNAL_WIDGETS);
}

View File

@@ -1,47 +1,33 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
// #pragma once
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by #include "src/tools/abstractactiontool.h"
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version. class PinTool : public AbstractActionTool
// {
// Flameshot is distributed in the hope that it will be useful, Q_OBJECT
// but WITHOUT ANY WARRANTY; without even the implied warranty of public:
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the explicit PinTool(QObject* parent = nullptr);
// GNU General Public License for more details.
// bool closeOnButtonPressed() const override;
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>. QIcon icon(const QColor& background, bool inEditor) const override;
QString name() const override;
#pragma once QString description() const override;
#include "src/tools/abstractactiontool.h" QWidget* widget() override;
class PinTool : public AbstractActionTool CaptureTool* copy(QObject* parent = nullptr) override;
{
Q_OBJECT protected:
public: ToolType nameID() const override;
explicit PinTool(QObject* parent = nullptr);
public slots:
bool closeOnButtonPressed() const override; void pressed(const CaptureContext& context) override;
QIcon icon(const QColor& background, bool inEditor) const override; private:
QString name() const override; QRect m_geometry;
QString description() const override; QPixmap m_pixmap;
};
QWidget* widget() override;
CaptureTool* copy(QObject* parent = nullptr) override;
protected:
ToolType nameID() const override;
public slots:
void pressed(const CaptureContext& context) override;
private:
QRect m_geometry;
QPixmap m_pixmap;
};

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "pinwidget.h" #include "pinwidget.h"
#include "src/utils/confighandler.h" #include "src/utils/confighandler.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "pixelatetool.h" #include "pixelatetool.h"
#include <QApplication> #include <QApplication>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "rectangletool.h" #include "rectangletool.h"
#include <QPainter> #include <QPainter>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "redotool.h" #include "redotool.h"
#include <QPainter> #include <QPainter>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "savetool.h" #include "savetool.h"
#include "src/utils/screenshotsaver.h" #include "src/utils/screenshotsaver.h"

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "selectiontool.h" #include "selectiontool.h"
#include <QPainter> #include <QPainter>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "sizeindicatortool.h" #include "sizeindicatortool.h"
#include <QPainter> #include <QPainter>

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once

View File

@@ -1,19 +1,5 @@
// Copyright(c) 2017-2019 Alejandro Sirgo Rica & Contributors // SPDX-License-Identifier: GPL-3.0-or-later
// // SPDX-FileCopyrightText: 2017-2019 Alejandro Sirgo Rica & Contributors
// This file is part of Flameshot.
//
// Flameshot is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Flameshot 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 General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Flameshot. If not, see <http://www.gnu.org/licenses/>.
#include "textconfig.h" #include "textconfig.h"
#include "src/utils/colorutils.h" #include "src/utils/colorutils.h"

Some files were not shown because too many files have changed in this diff Show More