X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/b6700f77dd8e07fdab0d40ea4bc91f8d0c03ae70..7a9aa9076f493be28ce8b27cba013b7d3966cc7d:/src/dolphinpart_ext.cpp diff --git a/src/dolphinpart_ext.cpp b/src/dolphinpart_ext.cpp index 83dfddb16..a6d52e583 100644 --- a/src/dolphinpart_ext.cpp +++ b/src/dolphinpart_ext.cpp @@ -1,20 +1,7 @@ /* This file is part of the KDE project - * Copyright (c) 2012 Dawit Alemayehu + * SPDX-FileCopyrightText: 2012 Dawit Alemayehu * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. + * SPDX-License-Identifier: LGPL-2.0-or-later */ #include "dolphinpart_ext.h" @@ -177,11 +164,11 @@ KParts::ListingNotificationExtension::NotificationEventTypes DolphinPartListingN void DolphinPartListingNotificationExtension::slotNewItems(const KFileItemList& items) { - emit listingEvent(KParts::ListingNotificationExtension::ItemsAdded, items); + Q_EMIT listingEvent(KParts::ListingNotificationExtension::ItemsAdded, items); } void DolphinPartListingNotificationExtension::slotItemsDeleted(const KFileItemList& items) { - emit listingEvent(KParts::ListingNotificationExtension::ItemsDeleted, items); + Q_EMIT listingEvent(KParts::ListingNotificationExtension::ItemsDeleted, items); }