filters

html/export/ExportDialog.h
1/*
2 This file is part of the KDE project
3 Copyright (C) 2001, 2002, 2004 Nicolas GOUTTE <goutte@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 EXPORT_DIALOG_H
22#define EXPORT_DIALOG_H
23
24#include <tqwidget.h>
25#include <kdialogbase.h>
26
27class ExportDialogUI;
28
29class HtmlExportDialog : public KDialogBase
30{
31 TQ_OBJECT
32
33public:
34
35 enum Mode {
36 Light =0,
37 Basic,
38 DefaultCSS,
39 CustomCSS
40 };
41
42 HtmlExportDialog(TQWidget* parent=NULL);
43 ~HtmlExportDialog(void);
44 bool isXHtml(void) const;
45 TQTextCodec* getCodec(void) const;
46 Mode getMode(void) const;
47 TQString cssURL(void) const;
48
49protected slots:
50 void setCSSEnabled( bool );
51
52private:
53 ExportDialogUI* m_dialog;
54};
55
56#endif /* EXPORT_DIALOG_H */