File indexing completed on 2022-10-04 13:56:33

0001 /*
0002  * export a KEduVocDocument to a delimited text file
0003  * SPDX-FileCopyrightText: 1999-2001 Ewald Arnold <kvoctrain@ewald-arnold.de>
0004  * SPDX-FileCopyrightText: 2007 Peter Hedlund <peter.hedlund@kdemail.net>
0005  * SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 #ifndef KEDUVOCCSVWRITER_H
0008 #define KEDUVOCCSVWRITER_H
0009 
0010 class QFile;
0011 class QString;
0012 class KEduVocDocument;
0013 
0014 class KEduVocCsvWriter
0015 {
0016 public:
0017     explicit KEduVocCsvWriter( QFile *file );
0018 
0019     bool writeDoc( KEduVocDocument *doc, const QString &generator );
0020 
0021 private:
0022     QFile *m_outputFile;
0023     KEduVocDocument *m_doc;
0024 };
0025 
0026 #endif