mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 18:35:37 +00:00
![Albert Astals Cid](/assets/img/avatar_default.png)
Since unfortunately some of the autogenerated includes don't pass the checks we do a trick of building out of source and then specifying the .*/okular/.* path as the only includes we care about
31 lines
980 B
C++
31 lines
980 B
C++
/***************************************************************************
|
|
* Copyright (C) 2013 by Azat Khuzhin <a3at.mail@gmail.com> *
|
|
* *
|
|
* 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 TXT_CONVERTER_H
|
|
#define TXT_CONVERTER_H
|
|
|
|
#include <core/textdocumentgenerator.h>
|
|
#include <core/document.h>
|
|
|
|
namespace Txt
|
|
{
|
|
class Converter : public Okular::TextDocumentConverter
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Converter();
|
|
~Converter() override;
|
|
|
|
QTextDocument *convert( const QString &fileName ) override;
|
|
};
|
|
}
|
|
|
|
#endif
|