kspread

kspread_dlg_insert.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 2003 Norbert Andres <nandres@web.de>
00003              (C) 1999-2002 Laurent Montel <montel@kde.org>
00004              (C) 2002 Philipp Mueller <philipp.mueller@gmx.de>
00005              (C) 2002 John Dailey <dailey@vt.edu>
00006              (C) 2000-2001 Werner Trobin <trobin@kde.org>
00007              (C) 2000 David Faure <faure@kde.org>
00008              (C) 1999 Stephan Kulow <coolo@kde.org>
00009              (C) 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_dlg_insert__
00028 #define __kspread_dlg_insert__
00029 
00030 #include <kdialogbase.h>
00031 
00032 class QCheckBox;
00033 class QRadioButton;
00034 class QRect;
00035 
00036 namespace KSpread
00037 {
00038 class Sheet;
00039 class View;
00040 
00041 class InsertDialog : public KDialogBase
00042 {
00043     Q_OBJECT
00044 public:
00045     enum Mode { Insert, Remove };
00046 
00047     InsertDialog( View* parent, const char* name, const QRect &_rect, Mode _mode );
00048 
00049 public slots:
00050     void slotOk();
00051 
00052 private:
00053   View* m_pView;
00054 
00055   QRadioButton *rb1;
00056   QRadioButton *rb2;
00057   QRadioButton *rb3;
00058   QRadioButton *rb4;
00059   QRect  rect;
00060   Mode insRem;
00061 };
00062 
00063 } // namespace KSpread
00064 
00065 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys