okular/generators/mobipocket/converter.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.1 KiB
C
Raw Normal View History

/***************************************************************************
* Copyright (C) 2008 by Jakub Stachowski <qbast@go2.pl> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
#ifndef MOBI_CONVERTER_H
#define MOBI_CONVERTER_H
2013-11-04 20:49:32 +00:00
#include <core/document.h>
#include <core/textdocumentgenerator.h>
#include "mobidocument.h"
2013-11-04 20:38:52 +00:00
#include <qmobipocket/mobipocket.h>
namespace Mobi
{
class Converter : public Okular::TextDocumentConverter
{
Q_OBJECT
public:
Converter();
~Converter() override;
2017-11-03 14:20:01 +00:00
QTextDocument *convert(const QString &fileName) override;
private:
2019-10-05 18:18:28 +00:00
void handleMetadata(const QMap<Mobipocket::Document::MetaKey, QString> &metadata);
};
}
#endif