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