kspread
link.h
00001 /* This file is part of the KDE project 00002 Copyright (C) 2005 Ariya Hidayat <ariya@kde.org> 00003 (C) 2003 Norbert Andres <nandres@web.de> 00004 (C) 2002 Philipp Mueller <philipp.mueller@gmx.de> 00005 (C) 1999-2002 Laurent Montel <montel@kde.org> 00006 (C) 1999 Stephan Kulow <coolo@kde.org> 00007 (C) 1998-1999 Torben Weis <weis@kde.org> 00008 00009 This library is free software; you can redistribute it and/or 00010 modify it under the terms of the GNU Library General Public 00011 License as published by the Free Software Foundation; either 00012 version 2 of the License, or (at your option) any later version. 00013 00014 This library is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 Library General Public License for more details. 00018 00019 You should have received a copy of the GNU Library General Public License 00020 along with this library; see the file COPYING.LIB. If not, write to 00021 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00022 * Boston, MA 02110-1301, USA. 00023 */ 00024 00025 #ifndef LINK_DIALOG 00026 #define LINK_DIALOG 00027 00028 #include <kdialogbase.h> 00029 00030 namespace KSpread 00031 { 00032 00033 class LinkDialog : public KDialogBase 00034 { 00035 Q_OBJECT 00036 00037 public: 00038 LinkDialog( QWidget* parent, const char* name = 0 ); 00039 ~LinkDialog(); 00040 QString text() const; 00041 QString link() const; 00042 00043 public slots: 00044 void setText( const QString& text ); 00045 void setLink( const QString& link ); 00046 00047 protected slots: 00048 void slotOk(); 00049 00050 private: 00051 class Private; 00052 Private* d; 00053 }; 00054 00055 } // namepsace KSpread 00056 00057 #endif /* LINK_DIALOG */