X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/464b13f3828e5cdd03438d0881c3a62c7cda6333..43cc016f8b3ec48157a86815a050518a41b423b2:/src/dolphinnewfilemenu.h diff --git a/src/dolphinnewfilemenu.h b/src/dolphinnewfilemenu.h index 3505017e1..d5235db9b 100644 --- a/src/dolphinnewfilemenu.h +++ b/src/dolphinnewfilemenu.h @@ -1,30 +1,15 @@ -/*************************************************************************** - * Copyright (C) 2006 by Peter Penz * - * peter.penz@gmx.at * - * * - * 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: 2006 Peter Penz + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ #ifndef DOLPHINNEWFILEMENU_H #define DOLPHINNEWFILEMENU_H -#include - #include "dolphin_export.h" +#include + class KJob; /** @@ -40,15 +25,15 @@ class DOLPHIN_EXPORT DolphinNewFileMenu : public KNewFileMenu Q_OBJECT public: - DolphinNewFileMenu(KActionCollection* collection, QObject* parent); + DolphinNewFileMenu(QAction *createDirAction, QAction *createFileAction, QObject *parent); ~DolphinNewFileMenu() override; -signals: - void errorMessage(const QString& error); +Q_SIGNALS: + void errorMessage(const QString &error); -protected slots: +protected Q_SLOTS: /** @see KNewFileMenu::slotResult() */ - void slotResult(KJob* job) override; + void slotResult(KJob *job) override; }; #endif