kword

kwmailmerge_kspread_config.h
1/*
2 This file is part of the KDE project
3 Copyright (C) 2004 Tobias Koenig <tokoe@kde.org>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
14
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19*/
20
21#ifndef _KWMAILMERGE_KSPREAD_CONFIG_H_
22#define _KWMAILMERGE_KSPREAD_CONFIG_H_
23
24#include <kdialogbase.h>
25
26#include "kwmailmerge_kspread.h"
27
28class KComboBox;
29class KURLRequester;
30
31class KWMailMergeKSpread;
32
33class KWMailMergeKSpreadConfig: public KDialogBase
34{
35 TQ_OBJECT
36
37
38 public:
39 KWMailMergeKSpreadConfig( TQWidget *parent, KWMailMergeKSpread *object );
40 virtual ~KWMailMergeKSpreadConfig();
41
42
43 protected slots:
44 virtual void slotOk();
45
46 void loadDocument();
47 void documentLoaded();
48 void slotTextChanged( const TQString & _text );
49
50 private:
51 void initGUI();
52
53 KWMailMergeKSpread *_object;
54 KSpread::Doc *_document;
55
56 KURLRequester *_urlRequester;
57 KComboBox *_pageNumber;
58
59 int _initialPage;
60};
61
62#endif