filters

ExportDialog.h

00001 /*
00002    This file is part of the KDE project
00003    Copyright (C) 2001, 2002, 2004 Nicolas GOUTTE <goutte@kde.org>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License as published by the Free Software Foundation; either
00008    version 2 of the License, or (at your option) any later version.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef EXPORT_DIALOG_H
00022 #define EXPORT_DIALOG_H
00023 
00024 #include <qwidget.h>
00025 #include <kdialogbase.h>
00026 
00027 class ExportDialogUI;
00028 
00029 class HtmlExportDialog : public KDialogBase
00030 {
00031     Q_OBJECT
00032 public:
00033 
00034     enum Mode {
00035       Light =0,
00036       Basic,
00037       DefaultCSS,
00038       CustomCSS
00039     };
00040 
00041     HtmlExportDialog(QWidget* parent=NULL);
00042     ~HtmlExportDialog(void);
00043     bool isXHtml(void) const;
00044     QTextCodec* getCodec(void) const;
00045     Mode getMode(void) const;
00046     QString cssURL(void) const;
00047 
00048 protected slots:
00049     void setCSSEnabled( bool );
00050 
00051 private:
00052     ExportDialogUI* m_dialog;
00053 };
00054 
00055 #endif /* EXPORT_DIALOG_H */
KDE Home | KDE Accessibility Home | Description of Access Keys