kspread

AutoFormatDialog.h

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002    Copyright 2007 Stefan Nikolaus <stefan.nikolaus@kdemail.net>
00003    Copyright 2002-2003 Norbert Andres <nandres@web.de>
00004    Copyright 2002 Ariya Hidayat <ariya@kde.org>
00005    Copyright 2002 John Dailey <dailey@vt.edu>
00006    Copyright 2001-2002 Philipp Mueller <philipp.mueller@gmx.de>
00007    Copyright 2000-2002 Laurent Montel <montel@kde.org>
00008    Copyright 2000 Werner Trobin <trobin@kde.org>
00009    Copyright 1998-2000 Torben Weis <weis@kde.org>
00010 
00011    This library is free software; you can redistribute it and/or
00012    modify it under the terms of the GNU Library General Public
00013    License as published by the Free Software Foundation; either
00014    version 2 of the License, or (at your option) any later version.
00015 
00016    This library is distributed in the hope that it will be useful,
00017    but WITHOUT ANY WARRANTY; without even the implied warranty of
00018    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019    Library General Public License for more details.
00020 
00021    You should have received a copy of the GNU Library General Public License
00022    along with this library; see the file COPYING.LIB.  If not, write to
00023    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00024    Boston, MA 02110-1301, USA.
00025 */
00026 
00027 #ifndef KSPREAD_AUTO_FORMAT_DIALOG
00028 #define KSPREAD_AUTO_FORMAT_DIALOG
00029 
00030 #include <kdialog.h>
00031 
00032 namespace KSpread
00033 {
00034 class Selection;
00035 
00039 class AutoFormatDialog : public KDialog
00040 {
00041     Q_OBJECT
00042 public:
00043     explicit AutoFormatDialog(QWidget* parent, Selection* selection);
00044     ~AutoFormatDialog();
00045 
00046 private Q_SLOTS:
00047     void slotActivated(int index);
00048     void slotOk();
00049 
00050 private:
00051     class Private;
00052     Private * const d;
00053 };
00054 
00055 } // namespace KSpread
00056 
00057 #endif // KSPREAD_AUTO_FORMAT_DIALOG