kspread

kspread_dlg_showColRow.h
1/* This file is part of the KDE project
2 Copyright (C) 2003 Norbert Andres <nandres@web.de>
3 (C) 2000-2002 Laurent Montel <montel@kde.org>
4 (C) 2001-2002 Philipp Mueller <philipp.mueller@gmx.de>
5 (C) 2002 John Dailey <dailey@vt.edu>
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
16
17 You should have received a copy of the GNU Library General Public License
18 along with this library; see the file COPYING.LIB. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21*/
22
23#ifndef __kspread_dlg_showColRow__
24#define __kspread_dlg_showColRow__
25
26#include <tqvaluelist.h>
27
28#include <kdialogbase.h>
29
30class TQListBox;
31
32namespace KSpread
33{
34class View;
35
36class ShowColRow: public KDialogBase
37{
38 TQ_OBJECT
39
40public:
41 enum Type { Column, Row };
42 ShowColRow( View* parent, const char* name, Type _type );
43
44public slots:
45 void slotOk();
46 void slotDoubleClicked(TQListBoxItem *);
47
48protected:
49 View* m_pView;
50 TQListBox * list;
51 Type typeShow;
52 TQValueList<int> listInt;
53};
54
55} // namespace KSpread
56
57#endif
The View class displays a KSpread document.
The KSpread namespace.
Definition commands.h:39