File indexing completed on 2024-05-12 16:35:19
0001 /* This file is part of the KDE project 0002 Copyright (C) 1999-2003 Laurent Montel <montel@kde.org> 0003 (C) 2003 Philipp Mueller <philipp.mueller@gmx.de> 0004 (C) 2003 Ariya Hidayat <ariya@kde.org> 0005 (C) 2003 Norbert Andres <nandres@web.de> 0006 (C) 1999 Stephan Kulow <coolo@kde.org> 0007 (C) 1998-2000 Torben Weis <weis@kde.org> 0008 0009 This library is free software; you can redistribute it and/or 0010 modify it under the terms of the GNU Library General Public 0011 License as published by the Free Software Foundation; either 0012 version 2 of the License, or (at your option) any later version. 0013 0014 This library is distributed in the hope that it will be useful, 0015 but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0017 Library General Public License for more details. 0018 0019 You should have received a copy of the GNU Library General Public License 0020 along with this library; see the file COPYING.LIB. If not, write to 0021 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0022 Boston, MA 02110-1301, USA. 0023 */ 0024 0025 #ifndef CALLIGRA_SHEETS_GOTO_DIALOG 0026 #define CALLIGRA_SHEETS_GOTO_DIALOG 0027 0028 #include <KoDialog.h> 0029 0030 class KComboBox; 0031 0032 namespace Calligra 0033 { 0034 namespace Sheets 0035 { 0036 class Selection; 0037 0038 /** 0039 * \ingroup UI 0040 * Dialog to go to a specific cell location. 0041 */ 0042 class GotoDialog : public KoDialog 0043 { 0044 Q_OBJECT 0045 public: 0046 GotoDialog(QWidget* parent, Selection* selection); 0047 0048 public Q_SLOTS: 0049 void slotOk(); 0050 void textChanged(const QString &_text); 0051 0052 0053 protected: 0054 Selection* m_selection; 0055 KComboBox* m_nameCell; 0056 }; 0057 0058 } // namespace Sheets 0059 } // namespace Calligra 0060 0061 #endif // CALLIGRA_SHEETS_GOTO_DIALOG