filters

mswriteimport.h

00001 /* $Id: mswriteimport.h 508787 2006-02-12 18:28:12Z ingwa $ */
00002 /* This file is part of the KDE project
00003    Copyright (C) 2001-2003 Clarence Dang <dang@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 Version 2 as published by the Free Software Foundation.
00008 
00009    This library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License Version 2 for more details.
00013 
00014    You should have received a copy of the GNU Library General Public License
00015    Version 2 along with this library; see the file COPYING.LIB.  If not,
00016    write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
00018 */
00019 
00020 #ifndef MSWRITEIMPORT_H
00021 #define MSWRITEIMPORT_H
00022 
00023 #include <KoFilter.h>
00024 
00025 class WRIDevice;
00026 class MSWrite::InternalParser;
00027 class KWordGenerator;
00028 
00029 class MSWriteImport : public KoFilter
00030 {
00031     Q_OBJECT
00032 
00033 private:
00034     WRIDevice *m_device;
00035     MSWrite::InternalParser *m_parser;
00036     KWordGenerator *m_generator;
00037 
00038 public:
00039     MSWriteImport (KoFilter *parent, const char *name, const QStringList &);
00040     virtual ~MSWriteImport ();
00041 
00042     KoFilter::ConversionStatus convert (const QCString &from, const QCString &to);
00043     
00044     void sigProgress (const int value)
00045     {
00046         emit KoFilter::sigProgress (value);
00047     }
00048 };
00049 
00050 #endif // MSWRITEIMPORT_H
KDE Home | KDE Accessibility Home | Description of Access Keys