From f8036895f95acc49f484af564d2b56f14c158dd9 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 16 Nov 2021 08:10:18 +0100 Subject: Rename unity* source files --- libqmenumodel/src/unitymenuactionevents.cpp | 46 ----------------------------- 1 file changed, 46 deletions(-) delete mode 100644 libqmenumodel/src/unitymenuactionevents.cpp (limited to 'libqmenumodel/src/unitymenuactionevents.cpp') diff --git a/libqmenumodel/src/unitymenuactionevents.cpp b/libqmenumodel/src/unitymenuactionevents.cpp deleted file mode 100644 index f05e536..0000000 --- a/libqmenumodel/src/unitymenuactionevents.cpp +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright 2013 Canonical Ltd. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; version 3. - * - * 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - * - * Authors: - * Nicholas Dedekind (QEvent::registerEventType()); -const QEvent::Type UnityMenuActionRemoveEvent::eventType = static_cast(QEvent::registerEventType()); -const QEvent::Type UnityMenuActionEnabledChangedEvent::eventType = static_cast(QEvent::registerEventType()); -const QEvent::Type UnityMenuActionStateChangeEvent::eventType = static_cast(QEvent::registerEventType()); - -UnityMenuActionAddEvent::UnityMenuActionAddEvent(bool _enabled, const QVariant& _state) - : QEvent(UnityMenuActionAddEvent::eventType), - enabled(_enabled), - state(_state) -{} - -UnityMenuActionRemoveEvent::UnityMenuActionRemoveEvent() - : QEvent(UnityMenuActionRemoveEvent::eventType) -{ -} - -UnityMenuActionEnabledChangedEvent::UnityMenuActionEnabledChangedEvent(bool _enabled) - : QEvent(UnityMenuActionEnabledChangedEvent::eventType), - enabled(_enabled) -{} - -UnityMenuActionStateChangeEvent::UnityMenuActionStateChangeEvent(const QVariant& _state) - : QEvent(UnityMenuActionStateChangeEvent::eventType), - state(_state) -{} -- cgit v1.2.3