File indexing completed on 2024-05-12 16:35:25
0001 /* This file is part of the KDE project 0002 Copyright (C) 1999-2004 Laurent Montel <montel@kde.org> 0003 (C) 2002-2004 Ariya Hidayat <ariya@kde.org> 0004 (C) 2003 Norbert Andres <nandres@web.de> 0005 (C) 2002 John Dailey <dailey@vt.edu> 0006 (C) 2001-2002 Philipp Mueller <philipp.mueller@gmx.de> 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_SHOW_DIALOG 0026 #define CALLIGRA_SHEETS_SHOW_DIALOG 0027 0028 #include <KoDialog.h> 0029 0030 class QListWidget; 0031 0032 namespace Calligra 0033 { 0034 namespace Sheets 0035 { 0036 class Selection; 0037 0038 /** 0039 * \ingroup UI 0040 * Dialog to show a hidden sheet. 0041 * \todo Rename to ShowSheetDialog. 0042 */ 0043 class ShowDialog: public KoDialog 0044 { 0045 Q_OBJECT 0046 public: 0047 ShowDialog(QWidget *parent, Selection *selection); 0048 0049 public Q_SLOTS: 0050 void accept() override; 0051 0052 private: 0053 Selection* m_selection; 0054 QListWidget *m_listWidget; 0055 }; 0056 0057 } // namespace Sheets 0058 } // namespace Calligra 0059 0060 #endif // CALLIGRA_SHEETS_SHOW_DIALOG