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., 59 Temple Place - Suite 330, 00024 Boston, MA 02111-1307, USA. 00025 */ 00026 00027 #ifndef __kspread_dlg_insert__ 00028 #define __kspread_dlg_insert__ 00029 00030 #include <kdialogbase.h> 00031 00032 class KSpreadView; 00033 class KSpreadSheet; 00034 class KSpreadCell; 00035 class QCheckBox; 00036 class QRadioButton; 00037 00038 class KSpreadinsert : public KDialogBase 00039 { 00040 Q_OBJECT 00041 public: 00042 enum Mode { Insert,Remove}; 00043 00044 KSpreadinsert( KSpreadView* parent, const char* name, const QRect &_rect, Mode _mode ); 00045 00046 public slots: 00047 void slotOk(); 00048 00049 private: 00050 KSpreadView* m_pView; 00051 00052 QRadioButton *rb1; 00053 QRadioButton *rb2; 00054 QRadioButton *rb3; 00055 QRadioButton *rb4; 00056 QRect rect; 00057 Mode insRem; 00058 }; 00059 00060 #endif