File indexing completed on 2024-05-12 15:56:14
0001 /* 0002 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com> 0003 * SPDX-FileCopyrightText: 2014 Mohit Goyal <mohit.bits2011@gmail.com> 0004 * 0005 * SPDX-License-Identifier: LGPL-2.1-or-later 0006 */ 0007 /**************************************************************************** 0008 ** 0009 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 0010 ** All rights reserved. 0011 ** Contact: Nokia Corporation (qt-info@nokia.com) 0012 ** 0013 ** This file is part of the QtGui module of the Qt Toolkit. 0014 ** 0015 ** $QT_BEGIN_LICENSE:LGPL$ 0016 ** No Commercial Usage 0017 ** This file contains pre-release code and may not be distributed. 0018 ** You may use this file in accordance with the terms and conditions 0019 ** contained in the Technology Preview License Agreement accompanying 0020 ** this package. 0021 ** 0022 ** GNU Lesser General Public License Usage 0023 ** Alternatively, this file may be used under the terms of the GNU Lesser 0024 ** General Public License version 2.1 as published by the Free Software 0025 ** Foundation and appearing in the file LICENSE.LGPL included in the 0026 ** packaging of this file. Please review the following information to 0027 ** ensure the GNU Lesser General Public License version 2.1 requirements 0028 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 0029 ** 0030 ** In addition, as a special exception, Nokia gives you certain additional 0031 ** rights. These rights are described in the Nokia Qt LGPL Exception 0032 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 0033 ** 0034 ** If you have questions regarding the use of this file, please contact 0035 ** Nokia at qt-info@nokia.com. 0036 ** 0037 ** 0038 ** 0039 ** 0040 ** 0041 ** 0042 ** 0043 ** 0044 ** $QT_END_LICENSE$ 0045 ** 0046 ****************************************************************************/ 0047 0048 #include <QDebug> 0049 #include <klocalizedstring.h> 0050 #include <kstandardaction.h> 0051 #include <kactioncollection.h> 0052 #include "kundo2stack.h" 0053 #include "kundo2stack_p.h" 0054 #include "kundo2group.h" 0055 #include <KoIcon.h> 0056 #include