File indexing completed on 2024-05-12 16:35:26
0001 /* This file is part of the KDE project 0002 Copyright (C) 2006 Stefan Nikolaus <stefan.nikolaus@kdemail.net> 0003 (C) 1999-2004 Laurent Montel <montel@kde.org> 0004 (C) 2003 Norbert Andres <nandres@web.de> 0005 (C) 2002 Philipp Mueller <philipp.mueller@gmx.de> 0006 (C) 2002 John Dailey <dailey@vt.edu> 0007 (C) 1998-1999 Torben Weis <weis@kde.org> 0008 0009 This library is free software; you can redistribute it and/or 0010 modify it under the terms of the GNU Library General Public 0011 License as published by the Free Software Foundation; either 0012 version 2 of the License, or (at your option) any later version. 0013 0014 This library is distributed in the hope that it will be useful, 0015 but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0017 Library General Public License for more details. 0018 0019 You should have received a copy of the GNU Library General Public License 0020 along with this library; see the file COPYING.LIB. If not, write to 0021 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0022 Boston, MA 02110-1301, USA. 0023 */ 0024 0025 #ifndef CALLIGRA_SHEETS_SPECIAL_PASTE_DIALOG 0026 #define CALLIGRA_SHEETS_SPECIAL_PASTE_DIALOG 0027 0028 #include <KoDialog.h> 0029 0030 #include "ui_SpecialPasteWidget.h" 0031 0032 namespace Calligra 0033 { 0034 namespace Sheets 0035 { 0036 class Selection; 0037 0038 /** 0039 * \ingroup UI 0040 * Dialog for the special paste action. 0041 */ 0042 class SpecialPasteDialog : public KoDialog, public Ui::SpecialPasteWidget 0043 { 0044 Q_OBJECT 0045 public: 0046 explicit SpecialPasteDialog(QWidget* parent, Selection* selection); 0047 0048 public Q_SLOTS: 0049 void slotOk(); 0050 void slotToggled(bool); 0051 0052 private: 0053 Selection* m_selection; 0054 }; 0055 0056 } // namespace Sheets 0057 } // namespace Calligra 0058 0059 #endif // CALLIGRA_SHEETS_SPECIAL_PASTE_DIALOG