filters

mswriteimport.h
1/* $Id: mswriteimport.h 508787 2006-02-12 18:28:12Z ingwa $ */
2/* This file is part of the KDE project
3 Copyright (C) 2001-2003 Clarence Dang <dang@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 Version 2 as published by the Free Software Foundation.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License Version 2 for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 Version 2 along with this library; see the file COPYING.LIB. If not,
16 write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18*/
19
20#ifndef MSWRITEIMPORT_H
21#define MSWRITEIMPORT_H
22
23#include <KoFilter.h>
24
25class WRIDevice;
26namespace MSWrite {
27 class InternalParser;
28}
29class KWordGenerator;
30
31class MSWriteImport : public KoFilter
32{
33 TQ_OBJECT
34
35
36private:
37 WRIDevice *m_device;
38 MSWrite::InternalParser *m_parser;
39 KWordGenerator *m_generator;
40
41public:
42 MSWriteImport (KoFilter *parent, const char *name, const TQStringList &);
43 virtual ~MSWriteImport ();
44
45 KoFilter::ConversionStatus convert (const TQCString &from, const TQCString &to);
46
47 void sigProgress (const int value)
48 {
49 emit KoFilter::sigProgress (value);
50 }
51};
52
53#endif // MSWRITEIMPORT_H