Warning, file /office/calligra/libs/kundo2/kundo2stack.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 * Copyright (c) 2014 Dmitry Kazakov <dimula73@gmail.com> 0003 * Copyright (c) 2014 Mohit Goyal <mohit.bits2011@gmail.com> 0004 * 0005 * This library is free software; you can redistribute it and/or modify 0006 * it under the terms of the GNU Lesser General Public License as published by 0007 * the Free Software Foundation; either version 2.1 of the License, or 0008 * (at your option) any later version. 0009 * 0010 * This library is distributed in the hope that it will be useful, 0011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0013 * GNU Lesser General Public License for more details. 0014 * 0015 * You should have received a copy of the GNU Lesser General Public License 0016 * along with this program; if not, write to the Free Software 0017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 0018 */ 0019 /**************************************************************************** 0020 ** 0021 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 0022 ** All rights reserved. 0023 ** Contact: Nokia Corporation (qt-info@nokia.com) 0024 ** 0025 ** This file is part of the QtGui module of the Qt Toolkit. 0026 ** 0027 ** $QT_BEGIN_LICENSE:LGPL$ 0028 ** No Commercial Usage 0029 ** This file contains pre-release code and may not be distributed. 0030 ** You may use this file in accordance with the terms and conditions 0031 ** contained in the Technology Preview License Agreement accompanying 0032 ** this package. 0033 ** 0034 ** GNU Lesser General Public License Usage 0035 ** Alternatively, this file may be used under the terms of the GNU Lesser 0036 ** General Public License version 2.1 as published by the Free Software 0037 ** Foundation and appearing in the file LICENSE.LGPL included in the 0038 ** packaging of this file. Please review the following information to 0039 ** ensure the GNU Lesser General Public License version 2.1 requirements 0040 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 0041 ** 0042 ** In addition, as a special exception, Nokia gives you certain additional 0043 ** rights. These rights are described in the Nokia Qt LGPL Exception 0044 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 0045 ** 0046 ** If you have questions regarding the use of this file, please contact 0047 ** Nokia at qt-info@nokia.com. 0048 ** 0049 ** 0050 ** 0051 ** 0052 ** 0053 ** 0054 ** 0055 ** 0056 ** $QT_END_LICENSE$ 0057 ** 0058 ****************************************************************************/ 0059 0060 #include <QDebug> 0061 #include <klocalizedstring.h> 0062 #include <kstandardaction.h> 0063 #include <kactioncollection.h> 0064 #include "kundo2stack.h" 0065 #include "kundo2stack_p.h" 0066 #include "kundo2group.h" 0067 #include <KoIcon.h> 0068 #include