X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/101884841659cf7b1d735e894477415cddd1787f..c7d4b19b88237551bd7cefe0f79670427f1c90c9:/src/middleclickactioneventfilter.h diff --git a/src/middleclickactioneventfilter.h b/src/middleclickactioneventfilter.h index 6974f469e..6b873452e 100644 --- a/src/middleclickactioneventfilter.h +++ b/src/middleclickactioneventfilter.h @@ -1,21 +1,8 @@ -/*************************************************************************** - * Copyright (C) 2017 Kai Uwe Broulik * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program 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 this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - ***************************************************************************/ +/* + * SPDX-FileCopyrightText: 2017 Kai Uwe Broulik + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ #pragma once @@ -35,10 +22,10 @@ class DOLPHIN_EXPORT MiddleClickActionEventFilter : public QObject Q_OBJECT public: - MiddleClickActionEventFilter(QObject *parent); + explicit MiddleClickActionEventFilter(QObject *parent); ~MiddleClickActionEventFilter() override; -signals: +Q_SIGNALS: void actionMiddleClicked(QAction *action); protected: @@ -46,5 +33,4 @@ protected: private: QPointer m_lastMiddlePressedAction; - };