kspread

kspread_dlg_list.h
1/* This file is part of the KDE project
2 Copyright (C) 2002-2003 Ariya Hidayat <ariya@kde.org>
3 (C) 2001-2003 Laurent Montel <montel@kde.org>
4 (C) 1998, 1999 Torben Weis <weis@kde.org>
5
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version.
10
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
15
16 You should have received a copy of the GNU Library General Public License
17 along with this library; see the file COPYING.LIB. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20*/
21
22#ifndef __kspread_dlg_list__
23#define __kspread_dlg_list__
24
25#include <kdialogbase.h>
26
27class TQListBox;
28class TQListBoxItem;
29class TQLineEdit;
30class TQMultiLineEdit;
31class TQPushButton;
32
33class TDEConfig;
34
35namespace KSpread
36{
37
38class ListDialog: public KDialogBase
39{
40 TQ_OBJECT
41
42
43public:
44 ListDialog( TQWidget* parent, const char* name );
45 void init();
46
47public slots:
48 virtual void slotOk();
49 void slotDoubleClicked(TQListBoxItem *);
50 void slotTextClicked(TQListBoxItem*);
51 void slotRemove();
52 void slotAdd();
53 void slotNew();
54 void slotModify();
55 void slotCopy();
56
57protected:
58 TDEConfig *config;
59
60 TQListBox * list;
61 TQMultiLineEdit *entryList;
62 TQPushButton* m_pRemove;
63 TQPushButton* m_pNew;
64 TQPushButton* m_pAdd;
65 TQPushButton* m_pModify;
66 TQPushButton* m_pCopy;
67 bool m_bChanged;
68};
69
70} // namespace KSpread
71
72#endif
The KSpread namespace.
Definition commands.h:39