kspread_dlg_comment.h
00001 /* This file is part of the KDE project 00002 Copyright (C) 2003 Norbert Andres <nandres@web.de> 00003 (C) 2002 Ariya Hidayat <ariya@kde.org> 00004 (C) 2002 Philipp Mueller <philipp.mueller@gmx.de> 00005 (C) 1999-2002 Laurent Montel <montel@kde.org> 00006 (C) 1998-1999 Torben Weis <weis@kde.org> 00007 00008 This library is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU Library General Public 00010 License as published by the Free Software Foundation; either 00011 version 2 of the License, or (at your option) any later version. 00012 00013 This library is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 Library General Public License for more details. 00017 00018 You should have received a copy of the GNU Library General Public License 00019 along with this library; see the file COPYING.LIB. If not, write to 00020 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00021 Boston, MA 02111-1307, USA. 00022 */ 00023 00024 #ifndef __kspread_dlg_comment__ 00025 #define __kspread_dlg_comment__ 00026 00027 #include <kdialogbase.h> 00028 00029 class KSpreadView; 00030 class KSpreadSheet; 00031 class KSpreadCell; 00032 class QPushButton; 00033 class QMultiLineEdit; 00034 00035 class KSpreadComment : public KDialogBase 00036 { 00037 Q_OBJECT 00038 public: 00039 KSpreadComment( KSpreadView* parent, const char* name,const QPoint &_marker ); 00040 00041 public slots: 00042 void slotOk(); 00043 void slotTextChanged(); 00044 protected: 00045 00046 KSpreadView* m_pView; 00047 QMultiLineEdit *multiLine; 00048 QPoint marker; 00049 }; 00050 00051 #endif